Imakefile   [plain text]


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




XCOMM $XFree86: xc/lib/font/bitmap/Imakefile,v 1.13 2002/01/18 16:27:19 keithp Exp $

#if BuildServer && DoLoadableServer
#define IHaveSubdirs
#define NoLibSubdirs
#define PassCDebugFlags
SUBDIRS = module
#endif

BDFSRCS=bdfread.c bdfutils.c
BDFOBJS=bdfread.o bdfutils.o
#ifndef KDriveXServer
BDFDEFS=-DBDFFORMAT

SNFSRCS=snfread.c
SNFOBJS=snfread.o
SNFDEFS=-DSNFFORMAT
#endif

PCFSRCS=pcfread.c pcfwrite.c
PCFOBJS=pcfread.o pcfwrite.o
PCFDEFS=-DPCFFORMAT


        INCLUDES = -I$(FONTINCSRC) -I../include 
         HEADERS = 
#ifdef FontFormatDefines
     FORMAT_DEFS = FontFormatDefines
#endif
#if GzipFontCompression
       GZIP_DEFS = -DX_GZIP_FONT_COMPRESSION
#endif
         DEFINES = $(BDFDEFS) $(PCFDEFS) $(SNFDEFS)

            SRCS = $(BDFSRCS) bitmap.c bitmaputil.c bitscale.c \
		   bitmapfunc.c $(PCFSRCS) $(SNFSRCS) \
		   fontink.c 

            OBJS = $(BDFOBJS) bitmap.o bitmaputil.o bitscale.o \
		   bitmapfunc.o $(PCFOBJS) $(SNFOBJS) \
		   fontink.o

#if BuildFontLib
#define DoNormalLib NormalLibFont
#define DoSharedLib SharedLibFont
#define DoDebugLib DebugLibFont
#define DoProfileLib ProfileLibFont
#include <Library.tmpl>
LibraryObjectRule()

SpecialCLibObjectRule(bitmapfunc,$(ICONFIGFILES),$(GZIP_DEFS))
SpecialCLibObjectRule(bitscale,$(ICONFIGFILES),$(GZIP_DEFS))

SubdirLibraryRule($(OBJS))
NormalLintTarget($(SRCS))
#endif

#if BuildServer && DoLoadableServer
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

DependTarget()