aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/font/FreeType/Imakefile
blob: 57361471b5181ea3b8e1df091ef20c40de8e90d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
XCOMM $XFree86: xc/lib/font/FreeType/Imakefile,v 1.30 2003/11/05 16:54:28 tsi Exp $

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

#if !HasFreetype2
EXTRAINCLUDES = -I$(FT2SOURCEDIR)/truetype
INTERNALDEFINES = -DUSE_INTERNAL_FREETYPE
#endif

DEFINES = ServerExtraDefines StrcasecmpDefines Freetype2BuildDefines \
	  -DXFREE86_FT2 $(INTERNALDEFINES)

FT2SOURCEDIR = $(TOP)/extras/freetype2/src
FT2INCS = $(FREETYPE2INCLUDES)

INCLUDES = $(FT2INCS) -I. -I$(FONTINCSRC) -I../include -I$(XINCLUDESRC) \
           -I$(SERVERSRC)/include $(EXTRAINCLUDES) \
           -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()