XCOMM $XFree86: mit/server/ddx/x386/vga2/Imakefile,v 2.0 1993/07/12 16:05:24 dawes Exp $
#include <Server.tmpl>

#define IHaveSubdirs

#if BankedMonoVga
MFBDIR = mfb.banked
#else
MFBDIR = mfb
#endif

SUBDIRS = vga $(MFBDIR) drivers

SRCS = vga/?*.c $(MFBDIR)/?*.c

OBJS = vga/?*.o $(MFBDIR)/?*.o

DONES = vga/DONE $(MFBDIR)/DONE

INCLUDES = -I../vga256/vga -I../common -I../os-support -I$(SERVERSRC)/include \
           -I$(INCLUDESRC)

VGA2DRIVERS = X386Vga2Drivers

ConfigTargetNoDepend(vga2Conf,$(ICONFIGFILES),configvga2.sh,$(VGA2DRIVERS))

all:: subdirs libvga2.a

NormalLibraryObjectRule()

NamedMakeSubdirs(subdirs,$(SUBDIRS))

NormalDepLibraryTarget(vga2,$(SUBDIRS) $(DONES),$(OBJS))

InstallLinkKitLibrary(vga2,$(LINKKITDIR)/drivers)
InstallLinkKitNonExecFile(configvga2.sh,$(LINKKITDIR))

DependSubdirs($(SUBDIRS))
