XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:36 cpqbld Exp $
#include <Server.tmpl>

   INCLUDES = -I$(FONTINCSRC) -I../include -I$(SERVERSRC)/include -I$(TOP)/lib/zlib
    HEADERS = 
#ifdef FontFormatDefines
FORMAT_DEFS = FontFormatDefines
#endif

#if GzipFontCompression
 GUNZIP_SRC = gunzip.c
 GUNZIP_OBJ = gunzip.o
  GZIP_DEFS = -DX_GZIP_FONT_COMPRESSION
#endif

FONT_ENCODINGS_PATH      = XF86EncodingsPath
FONT_ENCODINGS_DIRECTORY = $(FONT_ENCODINGS_PATH)/encodings.dir

DEFINES = -DFONT_ENCODINGS_DIRECTORY=\"$(FONT_ENCODINGS_DIRECTORY)\"


       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 \
              encparse.c fontenc.c $(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 \
              encparse.o fontenc.o $(GUNZIP_OBJ)

SpecialCObjectRule(fileio,$(ICONFIGFILES),$(GZIP_DEFS))

SubdirLibraryRule($(OBJS))
NormalLibraryObjectRule()
NormalLintTarget($(SRCS))

DependTarget()

