XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:36 cpqbld Exp $ XCOMM $XFree86: xc/lib/font/fontfile/Imakefile,v 3.20 2001/11/03 23:03:00 dawes Exp $ #include #if BuildServer && DoLoadableServer #define IHaveSubdirs #define NoLibSubdirs SUBDIRS = module #endif INCLUDES = -I$(FONTINCSRC) -I../include -I$(SERVERSRC)/include \ -I$(INCLUDESRC) HEADERS = #ifdef FontFormatDefines FORMAT_DEFS = FontFormatDefines #endif #if BuildSpeedo SPEEDO_DEFINES = -DBUILD_SPEEDO #endif #if BuildType1 TYPE1_DEFINES = -DBUILD_TYPE1 #endif #if BuildCID CID_DEFINES = -DBUILD_CID #endif #if BuildFreeType FREETYPE_DEFINES = -DBUILD_FREETYPE #endif #if FontencCompatibility COMPAT_SRC = fontencc.c COMPAT_OBJ = fontencc.o #endif #if GzipFontCompression GUNZIP_SRC = gunzip.c GUNZIP_OBJ = gunzip.o GZIP_DEFS = -DX_GZIP_FONT_COMPRESSION #endif FONTENCDEFS = -DFONT_ENCODINGS_DIRECTORY=\"$(ENCODINGSDIR)/encodings.dir\" DEFINES = StrcasecmpDefines \ $(SPEEDO_DEFINES) $(TYPE1_DEFINES) $(CID_DEFINES) \ $(FREETYPE_DEFINES) $(FONTENCDEFS) \ $(GZIP_DEFS) SRCS = dirfile.c fontdir.c fontfile.c fileio.c fontscale.c \ defaults.c bitsource.c register.c renderers.c bufio.c \ decompress.c filewr.c printerfont.c ffcheck.c \ fontenc.c encparse.c $(COMPAT_SRC) $(GUNZIP_SRC) OBJS = dirfile.o fontdir.o fontfile.o fileio.o fontscale.o \ defaults.o bitsource.o register.o renderers.o bufio.o \ decompress.o filewr.o printerfont.o ffcheck.o \ fontenc.o encparse.o $(COMPAT_OBJ) $(GUNZIP_OBJ) #define DoNormalLib NormalLibFont #define DoSharedLib SharedLibFont #define DoDebugLib DebugLibFont #define DoProfileLib ProfileLibFont #include LibraryObjectRule() SpecialCLibObjectRule(fileio,$(ICONFIGFILES),$(GZIP_DEFS)) SubdirLibraryRule($(OBJS)) NormalLintTarget($(SRCS)) #if BuildServer && DoLoadableServer MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) #endif DependTarget()