aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/font/fontfile/Imakefile
blob: fa075a951805710915f23f3e2d9e927e06c9bcde (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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 <Server.tmpl>

#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 <Library.tmpl>
LibraryObjectRule()

SpecialCLibObjectRule(fileio,$(ICONFIGFILES),$(GZIP_DEFS))

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

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

DependTarget()