XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:19 cpqbld Exp $
XCOMM $XdotOrg: xc/programs/xfs/difs/Imakefile,v 1.3 2004/04/25 23:16:59 alanc Exp $




XCOMM $XFree86: xc/programs/xfs/difs/Imakefile,v 1.5 2001/01/17 23:45:28 dawes Exp $

#undef ServerDefines
#include <Server.tmpl>

SRCS =	main.c dispatch.c extensions.c globals.c events.c tables.c \
	fontinfo.c charinfo.c swapreq.c swaprep.c resource.c \
	fonts.c difsutils.c cache.c initfonts.c atom.c

OBJS =  main.o dispatch.o extensions.o globals.o events.o tables.o \
	fontinfo.o charinfo.o swapreq.o swaprep.o resource.o \
	fonts.o difsutils.o cache.o initfonts.o atom.o

#ifndef VendorReleaseDefines
# ifdef XorgVersion
VENDOR_RELEASE = XorgVersion
#  define VendorReleaseDefines -DVENDOR_RELEASE='$(VENDOR_RELEASE)'
# else
#  define VendorReleaseDefines /**/
# endif
#endif
VENDORDEFINES = VendorDefines

INCLUDES = -I../include -I$(FONTINCSRC) -I$(EXTINCSRC) -I$(FONTLIBSRC)/include
 DEFINES = AllocateLocalDefines VendorReleaseDefines VendorDefines
FONTDEFINES = -DFONT_PCF -DFONT_FS -DFONT_SPEEDO
#ifdef DefaultFSConfigFile
DEFAULTCONFIGFILE = DefaultFSConfigFile
     CONFIGDEFINES = -DDEFAULT_CONFIG_FILE=\"$(DEFAULTCONFIGFILE)\"
#endif

#if BuildFontCacheLib
FONTCACHE_DEFINES = FontCacheExtensionDefines
#endif

NormalLibraryObjectRule()
NormalLibraryTarget(difs,$(OBJS))

DependTarget()

SpecialCObjectRule(main,$(ICONFIGFILES),$(CONFIGDEFINES))
SpecialCObjectRule(initfonts,$(ICONFIGFILES),$(FONTDEFINES) $(FONTCACHE_DEFINES))

