XCOMM $XConsortium: Imakefile,v 1.1 94/03/28 21:41:08 dpw Exp $
#include <Server.tmpl>

#define IHaveSubdirs

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

SUBDIRS = vga $(MFBDIR) misc drivers

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

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

DONES = vga/DONE $(MFBDIR)/DONE

INCLUDES = -I../vga256/vga -I$(XF86COMSRC) -I$(XF86OSSRC) \
	    -I$(SERVERSRC)/include -I$(INCLUDESRC)

VGA2DRIVERS = XF86Vga2Drivers

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))
