File: Imakefile

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-31
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 171,548 kB
  • ctags: 288,231
  • sloc: ansic: 2,205,256; cpp: 56,016; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,338; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (188 lines) | stat: -rw-r--r-- 5,471 bytes parent folder | download | duplicates (6)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:24 cpqbld Exp $




XCOMM $XFree86: xc/lib/font/Imakefile,v 3.35 2002/10/21 18:03:39 keithp Exp $

#include <Server.tmpl>

#define	IHaveSubdirs

#define DoNormalLib NormalLibFont
#define DoSharedLib SharedLibFont
#define DoExtraLib SharedLibFont
#define DoDebugLib DebugLibFont
#define DoProfileLib ProfileLibFont

#if !BuildFontLib
#define LibCreate NO
#else
#define LibCreate YES
#endif

#if BuildLibraries
#define LibInstall YES
#else
#define LibInstall NO
#endif

#if BuildLibraries
STUBDIRS = stubs
#endif

LIBNAME = Xfont
SOREV = $(SOFONTREV)

#ifndef SeparateSharedCompile
#define SeparateSharedCompile YES
#endif
#if NormalLibFont && SharedLibFont && SeparateSharedCompile
STATIC_OBJSDIR = unshared/
#endif

#ifdef SharedXfontReqs
REQUIREDLIBS = SharedXfontReqs
#endif

#if BuildSpeedo
         SPEEDODIRS = Speedo
   SPEEDOSHAREDOBJS = Speedo/?*.o
   SPEEDOSTATICOBJS = Speedo/$(STATIC_OBJSDIR)?*.o
    SPEEDODEBUGOBJS = Speedo/debugger/?*.o
  SPEEDOPROFILEOBJS = Speedo/profiled/?*.o
        SPEEDODONES = Speedo/DONE
#endif
#if BuildType1 || BuildCID
          TYPE1DIRS = Type1
    TYPE1SHAREDOBJS = Type1/?*.o
    TYPE1STATICOBJS = Type1/$(STATIC_OBJSDIR)?*.o
     TYPE1DEBUGOBJS = Type1/debugger/?*.o
   TYPE1PROFILEOBJS = Type1/profiled/?*.o
         TYPE1DONES = Type1/DONE
#endif
#if BuildFreeType
       FREETYPEDIRS = FreeType
 FREETYPESHAREDOBJS = FreeType/?*.o
 FREETYPESTATICOBJS = FreeType/$(STATIC_OBJSDIR)?*.o
  FREETYPEDEBUGOBJS = FreeType/debugger/?*.o
FREETYPEPROFILEOBJS = FreeType/profiled/?*.o
      FREETYPEDONES = FreeType/DONE
#endif
#if BuildXTrueType
            XTTDIRS = X-TrueType
#if XTTInLibXFont
      XTTSHAREDOBJS = X-TrueType/?*.o
      XTTSTATICOBJS = X-TrueType/$(STATIC_OBJSDIR)?*.o
       XTTDEBUGOBJS = X-TrueType/debugger/?*.o
     XTTPROFILEOBJS = X-TrueType/profiled/?*.o
           XTTDONES = X-TrueType/DONE
#endif
#endif
#if BuildBuiltinFonts
        BUILTINDIRS = builtins
  BUILTINSHAREDOBJS = builtins/?*.o
  BUILTINSTATICOBJS = builtins/$(STATIC_OBJSDIR)?*.o
   BUILTINDEBUGOBJS = builtins/debugger/?*.o
 BUILTINPROFILEOBJS = builtins/profiled/?*.o
       BUILTINDONES = builtins/DONE
#endif
#if BuildFontCache
      FONTCACHEDIRS = fontcache
FONTCACHESHAREDOBJS = fontcache/?*.o
FONTCACHESTATICOBJS = fontcache/$(STATIC_OBJSDIR)?*.o
 FONTCACHEDEBUGOBJS = fontcache/debugger/?*.o
FONTCACHEPROFILEOBJS = fontcache/profiled/?*.o
     FONTCACHEDONES = fontcache/DONE
#endif

       SUBDIRS = bitmap fontfile fc $(FONTCACHEDIRS) \
		 $(SPEEDODIRS) $(TYPE1DIRS) \
		 $(FREETYPEDIRS) $(XTTDIRS) $(BUILTINDIRS) \
		 util $(STUBDIRS)
   SHARED_OBJS = bitmap/?*.o fontfile/?*.o fc/?*.o $(FONTCACHESHAREDOBJS) \
		 $(SPEEDOSHAREDOBJS) $(TYPE1SHAREDOBJS) \
		 $(FREETYPESHAREDOBJS) $(XTTSHAREDOBJS) \
		 $(BUILTINSHAREDOBJS) util/?*.o
   STATIC_OBJS = bitmap/$(STATIC_OBJSDIR)?*.o fontfile/$(STATIC_OBJSDIR)?*.o \
		 fc/$(STATIC_OBJSDIR)?*.o $(FONTCACHESTATICOBJS) \
		 $(SPEEDOSTATICOBJS) $(TYPE1STATICOBJS) \
		 $(FREETYPESTATICOBJS) $(XTTSTATICOBJS) \
		 $(BUILTINSTATICOBJS) util/$(STATIC_OBJSDIR)?*.o
    DEBUG_OBJS = bitmap/debugger/?*.o fontfile/debugger/?*.o fc/debugger/?*.o \
		 $(FONTCACHEDEBUGOBJS) \
		 $(SPEEDODEBUGOBJS) $(TYPE1DEBUGOBJS) \
		 $(FREETYPEDEBUGOBJS) $(XTTDEBUGOBJS) \
		 $(BUILTINDEBUGOBJS) util/debugger/?*.o
  PROFILE_OBJS = bitmap/profiled/?*.o fontfile/profiled/?*.o fc/profiled/?*.o \
		 $(FONTCACHEPROFILEOBJS) \
		 $(SPEEDOPROFILEOBJS) $(TYPE1PROFILEOBJS) \
		 $(FREETYPEPROFILEOBJS) $(XTTPROFILEOBJS) \
		 $(BUILTINPROFILEOBJS) util/profiled/?*.o
         DONES = bitmap/DONE fontfile/DONE fc/DONE $(FONTCACHEDONES) \
		 $(SPEEDODONES) $(TYPE1DONES) \
		 $(FREETYPEDONES) $(XTTDONES) \
		 $(BUILTINDONES) util/DONE

#if BuildServer && DoLoadableServer
      BASEDIRS = fontfile fc util fontcache
   BASELIBOBJS = fontfile/$(STATIC_OBJSDIR)?*.o fc/$(STATIC_OBJSDIR)?*.o \
		 util/$(STATIC_OBJSDIR)?*.o fontcache/$(STATIC_OBJSDIR)?*.o 
      BASEOBJS = fontfile/module/ffcheck.o fontfile/module/register.o \
		 util/private.o
     BASEDONES = fontfile/DONE fontfile/module/DONE fc/DONE util/DONE \
		 fontcache/DONE
#endif

#if HasParallelMake
MakeMutex($(SUBDIRS) $(DONES))
#endif

#if HasGnuMake || HasBsdMake
$(DONES): $(SUBDIRS)
#endif

#include <Library.tmpl>

#undef _LinkBuildLibrary
#define _LinkBuildLibrary(lib) LinkBuildLibrary(lib)

#if LibCreate
#if NormalLibFont
NormalDepLibraryTarget($(LIBNAME),$(SUBDIRS) $(DONES),$(STATIC_OBJS))
#if LibInstall
InstallLibrary($(LIBNAME),$(USRLIBDIR))
#endif /* LibInstall */
#endif /* NormalLibFont */

#if SharedLibFont
SharedDepLibraryTarget($(LIBNAME),$(SOREV),$(SUBDIRS) $(DONES),$(SHARED_OBJS),.,.)
#if LibInstall
InstallSharedLibrary($(LIBNAME),$(SOREV),$(SHLIBDIR))
#endif /* LibInstall */
#endif /* SharedLibFont */

#if DebugLibFont
DebuggedDepLibraryTarget($(LIBNAME),$(SUBDIRS) $(DONES),$(DEBUG_OBJS))
#if LibInstall
InstallLibrary($(LIBNAME)_d,$(USRLIBDIR))
#endif /* LibInstall */
#endif /* DebugLibFont */

#if ProfileLibFont
ProfiledDepLibraryTarget($(LIBNAME),$(SUBDIRS) $(DONES),$(PROFILE_OBJS))
#if LibInstall
InstallLibrary($(LIBNAME)_p,$(USRLIBDIR))
#endif /* LibInstall */
#endif /* ProfileLibFont */
#endif /* LibCreate */

#if BuildServer && DoLoadableServer
NormalDepLibraryTarget(fontbase,$(BASEDIRS) $(BASEDONES),$(BASELIBOBJS))
NormalDepRelocatableTarget(fontbase,$(BASEDIRS) $(BASEDONES),$(BASEOBJS))
#endif


ForceSubdirs($(SUBDIRS))

DependSubdirs($(SUBDIRS))