XCOMM $XConsortium: Imakefile,v 1.2 94/10/12 21:30:32 kaleb Exp $
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/vga256/Imakefile,v 3.9 1995/05/27 03:14:32 dawes Exp $
#include <Server.tmpl>

#define IHaveSubdirs

SUBDIRS = vga drivers vgainit

SRCS = vga/?*.c vgainit/?*.c

OBJS = vga/?*.o vgainit/?*.o

DONES = vga/DONE

INCLUDES = -Ivga -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/include \
           -I$(INCLUDESRC)

VGADRIVERS = XF86SvgaDrivers

#if HasParallelMake
MakeMutex($(SUBDIRS) $(OBJS) $(DONES))
#endif

#ifdef OS2Architecture
all:: DONE
	cp $(OBJS) .

NormalDepLibraryTarget(vga256,$(SUBDIRS) $(DONES),?*.o)
#else
NormalDepLibraryTarget(vga256,$(SUBDIRS) $(DONES),$(OBJS))
#endif
ConfigTargetNoDepend(vga256Conf,$(ICONFIGFILES),cvga256.SHsuf,$(VGADRIVERS))

NormalLibraryObjectRule()

ForceSubdirs($(SUBDIRS))

InstallLinkKitLibrary(vga256,$(LINKKITDIR)/drivers)
InstallLinkKitNonExecFile(cvga256.SHsuf,$(LINKKITDIR))

DependSubdirs($(SUBDIRS))
