XCOMM $XFree86: xc/lib/font/FreeType/Imakefile,v 1.29 2003/10/19 18:53:49 dawes Exp $

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

DEFINES = ServerExtraDefines StrcasecmpDefines Freetype2BuildDefines

FT2INCS = -I$(FREETYPE2INCDIR) -I$(FREETYPE2INCDIR)/include

INCLUDES = -I. -I$(FONTINCSRC) -I../include -I$(XINCLUDESRC) \
           -I$(SERVERSRC)/include $(FT2INCS) -I$(INCLUDESRC)

SRCS = xttcap.c ftfuncs.c ftenc.c fttools.c
OBJS = xttcap.o ftfuncs.o ftenc.o fttools.o

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

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

#endif

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

DependTarget()

