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




XCOMM $XFree86: xc/programs/xfs/difs/Imakefile,v 1.6 2001/08/01 00:45:04 tsi 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


INCLUDES = -I../include -I$(FONTINCSRC) -I$(EXTINCSRC) -I$(FONTLIBSRC)/include
 DEFINES = AllocateLocalDefines
#if BuildLowMem
LOWMEMDEFINES = -DLOWMEMFTPT
#else
LOWMEMDEFINES =
#endif
FONTDEFINES = -DFONT_PCF -DFONT_FS -DFONT_SPEEDO $(LOWMEMDEFINES)
#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))

