XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:52:08 cpqbld Exp $





XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/vga256/Imakefile,v 3.13.2.1 1997/05/03 09:47:30 dawes Exp $
#include <Server.tmpl>

#define IHaveSubdirs

SUBDIRS = vga drivers

SRCS = vga/?*.c

OBJS = vga/?*.o

DONES = vga/DONE

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

VGADRIVERS = XF86SvgaDrivers

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

#if HasGnuMake
$(DONES): $(SUBDIRS)
#endif

ConfigTargetNoDepend(vga256Conf,$(ICONFIGFILES),cvga256.sh,$(VGADRIVERS))
#ifdef OS2Architecture
all:: DONE
	cp $(OBJS) .

NormalDepLibraryTarget(vga256,$(DONES),?*.o)
#else
NormalDepLibraryTarget(vga256,$(SUBDIRS) $(DONES),$(OBJS))
#endif

NormalLibraryObjectRule()

ForceSubdirs($(SUBDIRS))

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

DependSubdirs($(SUBDIRS))
