0
|
1 XCOMM
|
|
2 XCOMM $Id: Project.tmpl,v 1.21.2.4 1999/05/06 04:33:42 nakanisi Exp $
|
|
3 XCOMM
|
|
4
|
|
5 XCOMM FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
6 XCOMM This file is part of FreeWnn.
|
|
7 XCOMM
|
|
8 XCOMM Copyright Kyoto University Research Institute for Mathematical Sciences
|
|
9 XCOMM 1987, 1988, 1989, 1990, 1991, 1992
|
|
10 XCOMM Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
11 XCOMM Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
|
12 XCOMM
|
|
13 XCOMM Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
|
14 XCOMM
|
|
15 XCOMM This program is free software; you can redistribute it and/or modify
|
|
16 XCOMM it under the terms of the GNU General Public License as published by
|
|
17 XCOMM the Free Software Foundation; either version 2, or (at your option)
|
|
18 XCOMM any later version.
|
|
19 XCOMM
|
|
20 XCOMM This program is distributed in the hope that it will be useful,
|
|
21 XCOMM but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
22 XCOMM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
23 XCOMM GNU General Public License for more details.
|
|
24 XCOMM
|
|
25 XCOMM You should have received a copy of the GNU General Public License
|
|
26 XCOMM along with GNU Emacs; see the file COPYING. If not, write to the
|
|
27 XCOMM Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
28 XCOMM
|
|
29 XCOMM Commentary:
|
|
30 XCOMM
|
|
31 XCOMM Change log:
|
|
32 XCOMM '99/03/20 片山@PFU <kate@pfu.co.jp>
|
|
33 XCOMM for 文の変数名の訂正。dirs というディレクトリーをソースディレクトリーに作ってしまう。
|
|
34 XCOMM '99/04/02 浅見 <asami@freebsd.org>
|
|
35 XCOMM SYS_LIBRARIES の追加。
|
|
36 XCOMM INSTINCFLAGS、INSTDATFLAGS、INSTAPPFLAGS の追加。
|
|
37 XCOMM '99/04/19 TAOKA Satoshi - 田岡 智志<taoka@infonets.hiroshima-u.ac.jp>
|
|
38
|
|
39 XCOMM XFree86 対応。
|
|
40 XCOMM jlib.V3 をデフォールトで make するようにする。
|
|
41 XCOMM インストールディレクトリを変更可能にする
|
|
42 XCOMM '99/04/19 Hidekazu Kuroki - 黒木 秀和(hidekazu@cs.titech.ac.jp)
|
|
43 XCOMM XFree86 対応のため、変数名を変更(imakeprefix → IMAKEPREFIX)。
|
|
44 XCOMM
|
|
45 XCOMM
|
|
46 XCOMM Last modified date: 02,Apr.1999
|
|
47 XCOMM
|
|
48 XCOMM -----------------------------------------------------------------------
|
|
49 XCOMM X Window System Build Parameters and Rules
|
|
50 XCOMM $XConsortium: Project.tmpl,v 1.242 94/04/13 14:58:40 rws Exp $
|
|
51
|
|
52 /****************************************************************************
|
|
53 * *
|
|
54 * DEFAULT DEFINITONS *
|
|
55 * *
|
|
56 * The following section contains defaults for things that can *
|
|
57 * overridden in the various *.cf and site.def files. DO NOT EDIT! *
|
|
58 * *
|
|
59 ***************************************************************************/
|
|
60
|
|
61 #define ProjectX 6 /* do *not* change this line */
|
|
62
|
|
63 /* The following project-specific rules are defined at the end of this file:
|
|
64 *
|
|
65 * InstallAppDefaults (class)
|
|
66 * InstallAppDefaultsLong (file,class)
|
|
67 * MakeFontsDir (deplist)
|
|
68 * MakeFonts ()
|
|
69 * InstallFontObjs (objs,dest)
|
|
70 * InstallFonts (dest)
|
|
71 * InstallFontAliases (dest)
|
|
72 * FontSrc (basename)
|
|
73 * FontBaseObj (basename)
|
|
74 * InstallFontScale (dest)
|
|
75 * UncompressedFontTarget (basename)
|
|
76 * CompressedFontTarget (basename)
|
|
77 * FontTarget (basename)
|
|
78 * FontObj (basename)
|
|
79 */
|
|
80
|
|
81 /*
|
|
82 * X-specific things
|
|
83 */
|
|
84 #ifndef HasXServer
|
|
85 #define HasXServer YES
|
|
86 #endif
|
|
87 #ifndef BuildServer
|
|
88 #define BuildServer HasXServer
|
|
89 #endif
|
|
90 #ifndef XServerThreaded
|
|
91 #define XServerThreaded NO /* turn on threads in merged server */
|
|
92 #endif
|
|
93 #ifndef BuildFontServer
|
|
94 #define BuildFontServer YES
|
|
95 #endif
|
|
96 #ifndef BuildFonts
|
|
97 #define BuildFonts BuildServer
|
|
98 #endif
|
|
99 #ifndef BuildPhigs
|
|
100 #define BuildPhigs NO
|
|
101 #endif
|
|
102 #ifndef BuildPexExt
|
|
103 #define BuildPexExt YES
|
|
104 #endif
|
|
105 #ifndef BuildXInputExt
|
|
106 #define BuildXInputExt NO
|
|
107 #endif
|
|
108 #ifndef BuildDIS
|
|
109 #define BuildDIS NO
|
|
110 #endif
|
|
111 #ifndef BuildXIE
|
|
112 #define BuildXIE YES
|
|
113 #endif
|
|
114 #ifndef BuildXKB
|
|
115 #define BuildXKB NO
|
|
116 #endif
|
|
117 #ifndef BuildXKBlib
|
|
118 #define BuildXKBlib NO /* not yet a standard part of Xlib */
|
|
119 #endif
|
|
120 #ifndef BuildFresco
|
|
121 #if HasCplusplus && !HasGcc2ForCplusplus
|
|
122 #define BuildFresco YES
|
|
123 #else
|
|
124 #define BuildFresco NO
|
|
125 #endif
|
|
126 #endif
|
|
127 #ifndef InstallLibManPages
|
|
128 #define InstallLibManPages YES
|
|
129 #endif
|
|
130 #ifndef InstallXtermSetUID
|
|
131 #define InstallXtermSetUID YES /* xterm needs to be set uid */
|
|
132 #endif
|
|
133 #ifndef InstallXinitConfig
|
|
134 #define InstallXinitConfig NO /* install sample xinit config */
|
|
135 #endif
|
|
136 #ifndef InstallXdmConfig
|
|
137 #define InstallXdmConfig NO /* install sample xdm config */
|
|
138 #endif
|
|
139 #ifndef XdmServersType /* what Xservers files to use */
|
|
140 #if BuildServer
|
|
141 #define XdmServersType ws
|
|
142 #else
|
|
143 #define XdmServersType fs
|
|
144 #endif
|
|
145 #endif
|
|
146 #ifndef InstallFSConfig
|
|
147 #define InstallFSConfig NO /* install sample fs config */
|
|
148 #endif
|
|
149 #ifndef InstallAppDefFiles
|
|
150 #define InstallAppDefFiles YES /* install application defaults */
|
|
151 #endif
|
|
152 #ifndef ThreadedX
|
|
153 #if HasPosixThreads || HasCThreads
|
|
154 #define ThreadedX YES /* multi-threaded libraries */
|
|
155 #else
|
|
156 #define ThreadedX NO
|
|
157 #endif
|
|
158 #endif
|
|
159 #ifndef ThreadedProject
|
|
160 #define ThreadedProject ThreadedX
|
|
161 #endif
|
|
162 #ifndef HasWChar32
|
|
163 #define HasWChar32 SystemV4
|
|
164 #endif
|
|
165 #ifndef HasXdmAuth
|
|
166 #define HasXdmAuth NO /* if you can not use XDM-AUTH* */
|
|
167 #endif
|
|
168 #ifndef PrimaryScreenResolution
|
|
169 #define PrimaryScreenResolution 72 /* a common resolution */
|
|
170 #endif
|
|
171 #ifndef DefaultFontPath
|
|
172 #if PrimaryScreenResolution < 88 /* (75 + 100) / 2 */
|
|
173 #define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/
|
|
174 #else
|
|
175 #define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/100dpi/,$(FONTDIR)/75dpi/
|
|
176 #endif
|
|
177 #endif
|
|
178 #ifndef DefaultRGBDatabase
|
|
179 #define DefaultRGBDatabase $(LIBDIR)/rgb
|
|
180 #endif
|
|
181 #ifndef UseRgbTxt
|
|
182 #define UseRgbTxt NO /* default is to compile with dbm */
|
|
183 #endif
|
|
184 #ifndef FontCompilerFlags
|
|
185 #define FontCompilerFlags -t
|
|
186 #endif
|
|
187 #ifndef ConnectionFlags
|
|
188 #if HasStreams
|
|
189 #define ConnectionFlags -DSTREAMSCONN
|
|
190 #else
|
|
191 #if HasDECnet
|
|
192 #define ConnectionFlags -DTCPCONN -DUNIXCONN -DDNETCONN
|
|
193 #else
|
|
194 #define ConnectionFlags -DTCPCONN -DUNIXCONN
|
|
195 #endif
|
|
196 #endif
|
|
197 #endif
|
|
198 #ifndef ProjectThreadsDefines
|
|
199 #define ProjectThreadsDefines -DXTHREADS
|
|
200 #endif
|
|
201 #ifndef FontOSDefines
|
|
202 #define FontOSDefines /**/
|
|
203 #endif
|
|
204 #ifndef FontDefines
|
|
205 #define FontDefines -DFONT_SNF -DFONT_BDF -DFONT_PCF -DCOMPRESSED_FONTS FontOSDefines
|
|
206 #endif
|
|
207 #ifndef XawI18nDefines
|
|
208 #if SystemV4
|
|
209 #define XawI18nDefines -DHAS_WCTYPE_H
|
|
210 #else
|
|
211 #define XawI18nDefines -DUSE_XWCHAR_STRING
|
|
212 #endif
|
|
213 #endif
|
|
214 #ifndef ExtensionOSDefines
|
|
215 #define ExtensionOSDefines /**/
|
|
216 #endif
|
|
217 #ifndef ExtensionDefines
|
|
218 #ifndef PexDefines
|
|
219 #if BuildPexExt
|
|
220 #define PexDefines -DPEXEXT
|
|
221 #else
|
|
222 #define PexDefines /**/
|
|
223 #endif
|
|
224 #endif
|
|
225 #ifndef ShmDefines
|
|
226 #if HasShm
|
|
227 #define ShmDefines -DMITSHM
|
|
228 #else
|
|
229 #define ShmDefines /**/
|
|
230 #endif
|
|
231 #endif
|
|
232 #ifndef XInputDefines
|
|
233 #if BuildXInputExt
|
|
234 #define XInputDefines -DXINPUT
|
|
235 #else
|
|
236 #define XInputDefines /**/
|
|
237 #endif
|
|
238 #endif
|
|
239 #ifndef XieDefines
|
|
240 #if BuildXIE
|
|
241 #define XieDefines -DXIE
|
|
242 #else
|
|
243 #define XieDefines /**/
|
|
244 #endif
|
|
245 #endif
|
|
246 #ifndef XkbDefines
|
|
247 #if BuildXKB
|
|
248 #define XkbDefines -DXKB
|
|
249 #else
|
|
250 #define XkbDefines /**/
|
|
251 #endif
|
|
252 #endif
|
|
253 #ifndef BigReqDefines
|
|
254 #define BigReqDefines -DBIGREQS
|
|
255 #endif
|
|
256 #ifndef SitePervasiveExtensionDefines
|
|
257 #define SitePervasiveExtensionDefines /**/
|
|
258 #endif
|
|
259 #ifndef PervasiveExtensionDefines
|
|
260 #define PervasiveExtensionDefines -DSHAPE XInputDefines XkbDefines SitePervasiveExtensionDefines
|
|
261 #endif
|
|
262 #ifndef SiteExtensionDefines
|
|
263 #define SiteExtensionDefines /**/
|
|
264 #endif
|
|
265 #ifndef BaseExtensionDefines
|
|
266 #define BaseExtensionDefines -DMULTIBUFFER -DMITMISC -DXTEST -DXSYNC -DXCMISC PexDefines ShmDefines XieDefines BigReqDefines SiteExtensionDefines
|
|
267 #endif
|
|
268 #define ExtensionDefines BaseExtensionDefines ExtensionOSDefines
|
|
269 #endif
|
|
270 #ifndef ServerXdmcpDefines
|
|
271 #define ServerXdmcpDefines -DXDMCP
|
|
272 #endif
|
|
273 #ifndef ServerOSDefines
|
|
274 #define ServerOSDefines /**/
|
|
275 #endif
|
|
276 #if HasKrb5
|
|
277 #ifndef Krb5Defines
|
|
278 #define Krb5Defines -DK5AUTH
|
|
279 #endif
|
|
280 #else
|
|
281 #define Krb5Defines /**/
|
|
282 #endif
|
|
283 #ifndef ServerExtraDefines
|
|
284 #define ServerExtraDefines /* -DPIXPRIV */
|
|
285 #endif
|
|
286 #ifndef ServerDefines
|
|
287 #define ServerDefines StandardDefines PervasiveExtensionDefines ServerExtraDefines
|
|
288 #endif
|
|
289 #ifndef PexDipexDefines
|
|
290 #define PexDipexDefines /**/
|
|
291 #endif
|
|
292 #ifndef PexDdpexDefines
|
|
293 #define PexDdpexDefines /**/
|
|
294 #endif
|
|
295 #ifndef PexPhigsDefines
|
|
296 #ifndef PexShmIPC
|
|
297 #define PexShmIPC HasShm
|
|
298 #endif
|
|
299 #if PexShmIPC
|
|
300 #define PexPhigsDefines /**/
|
|
301 #else
|
|
302 #define PexPhigsDefines -DPEX_API_SOCKET_IPC
|
|
303 #endif
|
|
304 #endif
|
|
305 #ifndef PexClientDefines
|
|
306 #define PexClientDefines -DPEX_SI_PHIGS
|
|
307 #endif
|
|
308 #ifndef PhigsInclude
|
|
309 #ifdef UseInstalled
|
|
310 #define PhigsInclude -I$(INCDIR)
|
|
311 #else
|
|
312 #define PhigsInclude -I$(BUILDINCDIR)
|
|
313 #endif
|
|
314 #endif
|
|
315 #ifndef PexCDebugFlags
|
|
316 #define PexCDebugFlags DebuggableCDebugFlags
|
|
317 #endif
|
|
318 #ifndef PexCCOptions
|
|
319 #ifdef LibraryCCOptions
|
|
320 #define PexCCOptions LibraryCCOptions
|
|
321 #else
|
|
322 #define PexCCOptions DefaultCCOptions
|
|
323 #endif
|
|
324 #endif
|
|
325 #ifndef DefaultFSConfigFile
|
|
326 #define DefaultFSConfigFile $(LIBDIR)/fs/config
|
|
327 #endif
|
|
328 #ifndef BinDir
|
|
329 #ifdef ProjectRoot
|
|
330 #define BinDir Concat(ProjectRoot,/bin)
|
|
331 #else
|
|
332 #define BinDir /usr/bin/X11
|
|
333 #endif
|
|
334 #endif
|
|
335 #ifndef BuildIncRoot
|
|
336 #define BuildIncRoot $(TOP)
|
|
337 #endif
|
|
338 #ifndef BuildIncDir
|
|
339 #define BuildIncDir $(BUILDINCROOT)/X11
|
|
340 #endif
|
|
341 #ifndef BuildIncTop
|
|
342 #define BuildIncTop .. /* relative to BuildIncDir */
|
|
343 #endif
|
|
344 #ifndef BuildLibDir
|
|
345 #define BuildLibDir $(TOP)/usrlib
|
|
346 #endif
|
|
347 #ifndef BuildLibTop
|
|
348 #define BuildLibTop .. /* relative to BuildLibDir */
|
|
349 #endif
|
|
350 #ifndef LibDir
|
|
351 #define LibDir $(USRLIBDIR)/X11
|
|
352 #endif
|
|
353 #ifndef ConfigDir
|
|
354 #define ConfigDir $(LIBDIR)/config
|
|
355 #endif
|
|
356 #ifndef FontDir
|
|
357 #define FontDir $(LIBDIR)/fonts
|
|
358 #endif
|
|
359 #ifndef AdmDir
|
|
360 #define AdmDir /usr/adm
|
|
361 #endif
|
|
362 #ifndef XinitDir
|
|
363 #define XinitDir $(LIBDIR)/xinit
|
|
364 #endif
|
|
365 #ifndef XdmDir
|
|
366 #define XdmDir $(LIBDIR)/xdm
|
|
367 #endif
|
|
368 #ifndef XdmConfigurationSubdirectory /* under xdm sources */
|
|
369 #define XdmConfigurationSubdirectory config
|
|
370 #endif
|
|
371 #ifndef TwmDir
|
|
372 #define TwmDir $(LIBDIR)/twm
|
|
373 #endif
|
|
374 #ifndef NlsDir
|
|
375 #define NlsDir $(LIBDIR)/nls
|
|
376 #endif
|
|
377 #ifndef XLocaleDir
|
|
378 #define XLocaleDir $(LIBDIR)/locale
|
|
379 #endif
|
|
380 #ifndef PexApiDir
|
|
381 #define PexApiDir $(LIBDIR)/PEX
|
|
382 #endif
|
|
383 #ifndef XFileSearchPathBase
|
|
384 /* avoid SCCS keyword */
|
|
385 #define XFileSearchPathBase Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
|
|
386 #endif
|
|
387 #ifndef XFileSearchPathDefault
|
|
388 #ifdef XAppLoadDir
|
|
389 /* avoid SCCS keyword */
|
|
390 #define XFileSearchPathDefault XAppLoadDir/Concat(%N%C,%S):XAppLoadDir/%N%S:XFileSearchPathBase
|
|
391 #else
|
|
392 #define XFileSearchPathDefault XFileSearchPathBase
|
|
393 #endif
|
|
394 #endif
|
|
395 #ifndef XAppLoadDir
|
|
396 #define XAppLoadDir $(LIBDIR)/app-defaults
|
|
397 #endif
|
|
398 #ifndef XtErrorPrefix
|
|
399 #define XtErrorPrefix /* as empty string */
|
|
400 #endif
|
|
401 #ifndef XtExtraDefines
|
|
402 #define XtExtraDefines /* as empty string */
|
|
403 #endif
|
|
404 #ifndef XtWarningPrefix
|
|
405 #define XtWarningPrefix /* as empty string */
|
|
406 #endif
|
|
407 #ifndef OsNameDefines
|
|
408 #define OsNameDefines /* as nothing */
|
|
409 #endif
|
|
410 #ifndef DefaultUserPath /* for xdm */
|
|
411 #define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb
|
|
412 #endif
|
|
413 #ifndef DefaultSystemPath /* for xdm */
|
|
414 #define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/ucb
|
|
415 #endif
|
|
416 #ifndef DefaultSystemShell /* for xdm to set in SHELL */
|
|
417 #define DefaultSystemShell BourneShell
|
|
418 #endif
|
|
419 #ifndef ContribDir
|
|
420 #define ContribDir $(TOP)/../contrib /* contrib is outside core tree */
|
|
421 #endif
|
|
422 #ifndef UnsupportedDir
|
|
423 #define UnsupportedDir $(TOP)/unsupported
|
|
424 #endif
|
|
425 #ifndef AllocateLocalDefines
|
|
426 #define AllocateLocalDefines /**/
|
|
427 #endif
|
|
428
|
|
429 #ifndef ForceNormalLib
|
|
430 #define ForceNormalLib (HasGcc && !HasGcc2)
|
|
431 #endif
|
|
432
|
|
433 XCOMM -----------------------------------------------------------------------
|
|
434 XCOMM X Window System make variables; these need to be coordinated with rules
|
|
435
|
|
436 SYS_LIBRARIES = -lcrypt /* For FreeBSD */
|
|
437
|
|
438 /*
|
|
439 * This list must be reflected in the DIRS_TO_BUILD list in the top-level
|
|
440 * Makefile.
|
|
441 */
|
|
442 BINDIR = BinDir /* programs */
|
|
443 BUILDINCROOT = BuildIncRoot /* base of build loc */
|
|
444 BUILDINCDIR = BuildIncDir /* built headers */
|
|
445 BUILDINCTOP = BuildIncTop /* top relative to BUILDINCDIR */
|
|
446 BUILDLIBDIR = BuildLibDir /* built libraries */
|
|
447 BUILDLIBTOP = BuildLibTop /* top relative to BUILDLIBDIR */
|
|
448 INCDIR = $(INCROOT)/X11 /* header files, must end in X11 */
|
|
449 ADMDIR = AdmDir /* server log files */
|
|
450 LIBDIR = LibDir /* rgb, XErrorDB, etc. */
|
|
451
|
|
452 FONTDIR = FontDir /* font directories */
|
|
453 XINITDIR = XinitDir /* xinit config files */
|
|
454 XDMDIR = XdmDir /* xdm config files */
|
|
455 TWMDIR = TwmDir /* twm config files */
|
|
456 NLSDIR = NlsDir /* nls files */
|
|
457 XLOCALEDIR = XLocaleDir /* locale files */
|
|
458 PEXAPIDIR = PexApiDir /* PEX support files */
|
|
459 XAPPLOADDIR = XAppLoadDir /* application default resource dir */
|
|
460 FONTCFLAGS = FontCompilerFlags
|
|
461
|
|
462 INSTINCFLAGS = InstIncFlags -c /* XXX - dirty hack by */
|
|
463 INSTDATFLAGS = InstDatFlags -c /* XXX - Satoshi */
|
|
464 INSTBINFLAGS = InstBinFlags -c /* XXX - Asami */
|
|
465 INSTAPPFLAGS = $(INSTDATFLAGS) /* XXX - this should go away - XXX */
|
|
466
|
|
467 #ifdef UseInstalled
|
|
468 RGB = rgb /* assume BINDIR in path */
|
|
469 FONTC = bdftopcf /* assume BINDIR in path */
|
|
470 MKFONTDIR = mkfontdir /* assume BINDIR in path */
|
|
471 #else
|
|
472 RGB = $(RGBSRC)/rgb
|
|
473 FONTC = $(BDFTOPCFSRC)/bdftopcf
|
|
474 MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
|
|
475 #endif
|
|
476
|
|
477 DOCUTILSRC = $(TOP)/doc/util
|
|
478 XDOCMACROS = $(DOCUTILSRC)/macros.t
|
|
479 XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
|
|
480 PROGRAMSRC = $(TOP)/programs
|
|
481 LIBSRC = $(TOP)/lib
|
|
482 FONTSRC = $(TOP)/fonts
|
|
483 INCLUDESRC = $(TOP)/X11
|
|
484 SERVERSRC = $(TOP)/programs/Xserver
|
|
485 CONTRIBSRC = ContribDir
|
|
486 UNSUPPORTEDSRC = UnsupportedDir
|
|
487 DOCSRC = $(TOP)/doc
|
|
488 RGBSRC = $(TOP)/programs/rgb
|
|
489 BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
|
|
490 MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
|
|
491 FONTSERVERSRC = $(PROGRAMSRC)/xfs
|
|
492 FONTINCSRC = $(TOP)/include/fonts
|
|
493 EXTINCSRC = $(TOP)/include/extensions
|
|
494 TRANSCOMMSRC = $(LIBSRC)/xtrans
|
|
495 TRANS_INCLUDES = -I$(TRANSCOMMSRC)
|
|
496
|
|
497 #ifndef ShLibIncludeFile
|
|
498 /* need this to make ANSI-style preprocessors happy */
|
|
499 #define ShLibIncludeFile <noop.rules>
|
|
500 #endif
|
|
501
|
|
502 #include ShLibIncludeFile
|
|
503
|
|
504 #ifndef SharedLibX11
|
|
505 #define SharedLibX11 HasSharedLibraries
|
|
506 #endif
|
|
507 #ifndef NormalLibX11
|
|
508 #define NormalLibX11 (!SharedLibX11 | ForceNormalLib)
|
|
509 #endif
|
|
510 #ifndef DebugLibX11
|
|
511 #define DebugLibX11 NO /* debugged X library */
|
|
512 #endif
|
|
513 #ifndef ProfileLibX11
|
|
514 #define ProfileLibX11 NO /* profiled X library */
|
|
515 #endif
|
|
516 XLIBSRC = $(LIBSRC)/X11
|
|
517 #ifndef XFree86Version
|
|
518 #if SharedLibX11
|
|
519 #ifndef SharedX11Rev
|
|
520 #define SharedX11Rev 6.0
|
|
521 #endif
|
|
522 #if BuildXKBlib
|
|
523 SharedLibReferences(XONLY,X11kb,$(XLIBSRC),SOXLIBREV,SharedX11Rev)
|
|
524 #else
|
|
525 SharedLibReferences(XONLY,X11,$(XLIBSRC),SOXLIBREV,SharedX11Rev)
|
|
526 #endif
|
|
527 #else
|
|
528 #if BuildXKBlib
|
|
529 UnsharedLibReferences(XONLY,X11kb,$(XLIBSRC))
|
|
530 #else
|
|
531 UnsharedLibReferences(XONLY,X11,$(XLIBSRC))
|
|
532 #endif
|
|
533 #endif
|
|
534 #else
|
|
535 #if SharedLibX11
|
|
536 #ifndef SharedX11Rev
|
|
537 #define SharedX11Rev 6.0
|
|
538 #endif
|
|
539 SharedLibReferences(XONLY,X11,$(XLIBSRC),SOXLIBREV,SharedX11Rev)
|
|
540 #else
|
|
541 UnsharedLibReferences(XONLY,X11,$(XLIBSRC))
|
|
542 #endif
|
|
543 #endif
|
|
544 XLIBONLY = $(XONLYLIB)
|
|
545
|
|
546 #ifndef SharedLibXext
|
|
547 #define SharedLibXext HasSharedLibraries
|
|
548 #endif
|
|
549 #ifndef NormalLibXext
|
|
550 #define NormalLibXext (!SharedLibXext | ForceNormalLib)
|
|
551 #endif
|
|
552 #ifndef DebugLibXext
|
|
553 #define DebugLibXext NO /* debugged Xext library */
|
|
554 #endif
|
|
555 #ifndef ProfileLibXext
|
|
556 #define ProfileLibXext NO /* profiled Xext library */
|
|
557 #endif
|
|
558 XEXTLIBSRC = $(LIBSRC)/Xext
|
|
559 #if SharedLibXext
|
|
560 #ifndef SharedXextRev
|
|
561 #define SharedXextRev 6.0
|
|
562 #endif
|
|
563 SharedLibReferences(EXTENSION,Xext,$(XEXTLIBSRC),SOXEXTREV,SharedXextRev)
|
|
564 #else
|
|
565 UnsharedLibReferences(EXTENSION,Xext,$(XEXTLIBSRC))
|
|
566 #endif
|
|
567 LINTEXTENSIONLIB = $(LINTEXTENSION)
|
|
568 DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
|
|
569 XLIB = $(EXTENSIONLIB) $(XONLYLIB)
|
|
570 LINTXLIB = $(LINTXONLYLIB)
|
|
571
|
|
572 #ifndef SharedLibXau
|
|
573 #define SharedLibXau NO /* don't need shared form */
|
|
574 #endif
|
|
575 #ifndef NormalLibXau
|
|
576 #define NormalLibXau (!SharedLibXau | ForceNormalLib)
|
|
577 #endif
|
|
578 #ifndef DebugLibXau
|
|
579 #define DebugLibXau NO /* debugged auth library */
|
|
580 #endif
|
|
581 #ifndef ProfileLibXau
|
|
582 #define ProfileLibXau NO /* profiled auth library */
|
|
583 #endif
|
|
584 XAUTHSRC = $(LIBSRC)/Xau
|
|
585 #if SharedLibXau
|
|
586 #ifndef SharedXauRev
|
|
587 #define SharedXauRev 6.0
|
|
588 #endif
|
|
589 SharedLibReferences(XAUTH,Xau,$(XAUTHSRC),SOXAUTHREV,SharedXauRev)
|
|
590 #else
|
|
591 UnsharedLibReferences(XAUTH,Xau,$(XAUTHSRC))
|
|
592 #endif
|
|
593
|
|
594 #ifndef SharedLibXdmcp
|
|
595 #define SharedLibXdmcp NO /* don't need shared form */
|
|
596 #endif
|
|
597 #ifndef NormalLibXdmcp
|
|
598 #define NormalLibXdmcp (!SharedLibXdmcp | ForceNormalLib)
|
|
599 #endif
|
|
600 #ifndef DebugLibXdmcp
|
|
601 #define DebugLibXdmcp NO /* debugged XDMCP library */
|
|
602 #endif
|
|
603 #ifndef ProfileLibXdmcp
|
|
604 #define ProfileLibXdmcp NO /* profiled XDMCP library */
|
|
605 #endif
|
|
606 XDMCPLIBSRC = $(LIBSRC)/Xdmcp
|
|
607 #if SharedLibXdmcp
|
|
608 #ifndef SharedXdmcpRev
|
|
609 #define SharedXdmcpRev 6.0
|
|
610 #endif
|
|
611 SharedLibReferences(XDMCP,Xdmcp,$(XDMCPLIBSRC),SOXDMCPREV,SharedXdmcpRev)
|
|
612 #else
|
|
613 UnsharedLibReferences(XDMCP,Xdmcp,$(XDMCPLIBSRC))
|
|
614 #endif
|
|
615
|
|
616 #ifndef SharedLibXmu
|
|
617 #define SharedLibXmu HasSharedLibraries
|
|
618 #endif
|
|
619 #ifndef NormalLibXmu
|
|
620 #define NormalLibXmu (!SharedLibXmu | ForceNormalLib)
|
|
621 #endif
|
|
622 #ifndef DebugLibXmu
|
|
623 #define DebugLibXmu NO /* debugged Xmu library */
|
|
624 #endif
|
|
625 #ifndef ProfileLibXmu
|
|
626 #define ProfileLibXmu NO /* profiled Xmu library */
|
|
627 #endif
|
|
628 XMUSRC = $(LIBSRC)/Xmu
|
|
629 #if SharedLibXmu
|
|
630 #ifndef SharedXmuRev
|
|
631 #define SharedXmuRev 6.0
|
|
632 #endif
|
|
633 SharedDSLibReferences(XMU,Xmu,$(XMUSRC),SOXMUREV,SharedXmuRev)
|
|
634 #else
|
|
635 UnsharedLibReferences(XMU,Xmu,$(XMUSRC))
|
|
636 #endif
|
|
637
|
|
638 #ifndef SharedOldX
|
|
639 #define SharedOldX HasSharedLibraries
|
|
640 #endif
|
|
641 #ifndef NormalOldX
|
|
642 #define NormalOldX (!SharedOldX | ForceNormalLib)
|
|
643 #endif
|
|
644 #ifndef DebugOldX
|
|
645 #define DebugOldX NO /* debugged old X library */
|
|
646 #endif
|
|
647 #ifndef ProfileOldX
|
|
648 #define ProfileOldX NO /* profiled old X library */
|
|
649 #endif
|
|
650 OLDXLIBSRC = $(LIBSRC)/oldX
|
|
651 #if SharedOldX
|
|
652 #ifndef SharedOldXRev
|
|
653 #define SharedOldXRev 6.0
|
|
654 #endif
|
|
655 SharedLibReferences(OLDX,oldX,$(OLDXLIBSRC),SOOLDXREV,SharedOldXRev)
|
|
656 #else
|
|
657 UnsharedLibReferences(OLDX,oldX,$(OLDXLIBSRC))
|
|
658 #endif
|
|
659
|
|
660 #ifndef SharedLibXt
|
|
661 #define SharedLibXt HasSharedLibraries
|
|
662 #endif
|
|
663 #ifndef NormalLibXt
|
|
664 #define NormalLibXt (!SharedLibXt | ForceNormalLib)
|
|
665 #endif
|
|
666 #ifndef DebugLibXt
|
|
667 #define DebugLibXt NO /* debugged toolkit library */
|
|
668 #endif
|
|
669 #ifndef ProfileLibXt
|
|
670 #define ProfileLibXt NO /* profiled toolkit library */
|
|
671 #endif
|
|
672 TOOLKITSRC = $(LIBSRC)/Xt
|
|
673 #if SharedLibXt
|
|
674 #ifndef SharedXtRev
|
|
675 #define SharedXtRev 6.0
|
|
676 #endif
|
|
677 SharedDSLibReferences(XTOOLONLY,Xt,$(TOOLKITSRC),SOXTREV,SharedXtRev)
|
|
678 #else
|
|
679 UnsharedLibReferences(XTOOLONLY,Xt,$(TOOLKITSRC))
|
|
680 #endif
|
|
681 DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
|
|
682 XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
|
|
683 LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
|
|
684
|
|
685 #ifndef SharedLibXaw
|
|
686 #define SharedLibXaw HasSharedLibraries
|
|
687 #endif
|
|
688 #ifndef NormalLibXaw
|
|
689 #define NormalLibXaw (!SharedLibXaw | ForceNormalLib)
|
|
690 #endif
|
|
691 #ifndef DebugLibXaw
|
|
692 #define DebugLibXaw NO /* debugged widget library */
|
|
693 #endif
|
|
694 #ifndef ProfileLibXaw
|
|
695 #define ProfileLibXaw NO /* profiled widget library */
|
|
696 #endif
|
|
697 AWIDGETSRC = $(LIBSRC)/Xaw
|
|
698 #if SharedLibXaw
|
|
699 #ifndef SharedXawRev
|
|
700 #define SharedXawRev 6.0
|
|
701 #endif
|
|
702 SharedDSLibReferences(XAW,Xaw,$(AWIDGETSRC),SOXAWREV,SharedXawRev)
|
|
703 #else
|
|
704 UnsharedLibReferences(XAW,Xaw,$(AWIDGETSRC))
|
|
705 #endif
|
|
706
|
|
707 #ifndef SharedLibXtf
|
|
708 #define SharedLibXtf HasSharedLibraries
|
|
709 #endif
|
|
710 #ifndef NormalLibXtf
|
|
711 #define NormalLibXtf (!SharedLibXtf | ForceNormalLib)
|
|
712 #endif
|
|
713 #ifndef DebugLibXtf
|
|
714 #define DebugLibXtf NO /* debugged widget library */
|
|
715 #endif
|
|
716 #ifndef ProfileLibXtf
|
|
717 #define ProfileLibXtf NO /* profiled widget library */
|
|
718 #endif
|
|
719 XTFSRC = $(TOP)/workInProgress/Xtf
|
|
720 #if SharedLibXtf
|
|
721 #ifndef SharedXtfRev
|
|
722 #define SharedXtfRev 0.7
|
|
723 #endif
|
|
724 SharedLibReferences(XTF,Xtf,$(XTFSRC),SOXTFREV,SharedXtfRev)
|
|
725 #else
|
|
726 UnsharedLibReferences(XTF,Xtf,$(XTFSRC))
|
|
727 #endif
|
|
728
|
|
729 #ifndef SharedLibFresco
|
|
730 #define SharedLibFresco HasSharedLibraries
|
|
731 #endif
|
|
732 #ifndef NormalLibFresco
|
|
733 #define NormalLibFresco (!SharedLibFresco | ForceNormalLib)
|
|
734 #endif
|
|
735 #ifndef DebugLibFresco
|
|
736 #define DebugLibFresco NO /* debugged widget library */
|
|
737 #endif
|
|
738 #ifndef ProfileLibFresco
|
|
739 #define ProfileLibFresco NO /* profiled widget library */
|
|
740 #endif
|
|
741 FRESCOSRC = $(TOP)/workInProgress/Fresco
|
|
742 #if SharedLibFresco
|
|
743 #ifndef SharedFrescoRev
|
|
744 #define SharedFrescoRev 0.7
|
|
745 #endif
|
|
746 SharedLibReferences(FRESCO,Fresco,$(FRESCOSRC)/src,SOFRESCOREV,SharedFrescoRev)
|
|
747 #else
|
|
748 UnsharedLibReferences(FRESCO,Fresco,$(FRESCOSRC)/src)
|
|
749 #endif
|
|
750
|
|
751 #ifndef SharedLibXi
|
|
752 #define SharedLibXi HasSharedLibraries
|
|
753 #endif
|
|
754 #ifndef NormalLibXi
|
|
755 #define NormalLibXi (!SharedLibXi | ForceNormalLib)
|
|
756 #endif
|
|
757 #ifndef DebugLibXi
|
|
758 #define DebugLibXi NO /* debugged Xi library */
|
|
759 #endif
|
|
760 #ifndef ProfileLibXi
|
|
761 #define ProfileLibXi NO /* profiled Xi library */
|
|
762 #endif
|
|
763 XILIBSRC = $(LIBSRC)/Xi
|
|
764 #if SharedLibXi
|
|
765 #ifndef SharedXiRev
|
|
766 #define SharedXiRev 6.0
|
|
767 #endif
|
|
768 SharedLibReferences(XI,Xi,$(XILIBSRC),SOXINPUTREV,SharedXiRev)
|
|
769 #else
|
|
770 UnsharedLibReferences(XI,Xi,$(XILIBSRC))
|
|
771 #endif
|
|
772
|
|
773 #ifndef SharedLibXtst
|
|
774 #define SharedLibXtst HasSharedLibraries
|
|
775 #endif
|
|
776 #ifndef NormalLibXtst
|
|
777 #define NormalLibXtst (!SharedLibXtst | ForceNormalLib)
|
|
778 #endif
|
|
779 #ifndef DebugLibXtst
|
|
780 #define DebugLibXtst NO /* debugged Xtst library */
|
|
781 #endif
|
|
782 #ifndef ProfileLibXtst
|
|
783 #define ProfileLibXtst NO /* profiled Xtst library */
|
|
784 #endif
|
|
785 XTESTLIBSRC = $(LIBSRC)/Xtst
|
|
786 #if SharedLibXtst
|
|
787 #ifndef SharedXtstRev
|
|
788 #define SharedXtstRev 6.0
|
|
789 #endif
|
|
790 SharedLibReferences(XTEST,Xtst,$(XTESTLIBSRC),SOXTESTREV,SharedXtstRev)
|
|
791 #else
|
|
792 UnsharedLibReferences(XTEST,Xtst,$(XTESTLIBSRC))
|
|
793 #endif
|
|
794
|
|
795 #ifndef SharedLibPex
|
|
796 #define SharedLibPex HasSharedLibraries
|
|
797 #endif
|
|
798 #ifndef NormalLibPex
|
|
799 #define NormalLibPex (!SharedLibPex | ForceNormalLib)
|
|
800 #endif
|
|
801 #ifndef DebugLibPex
|
|
802 #define DebugLibPex NO /* debugged PEX5 library */
|
|
803 #endif
|
|
804 #ifndef ProfileLibPex
|
|
805 #define ProfileLibPex NO /* profiled PEX5 library */
|
|
806 #endif
|
|
807 PEXLIBSRC = $(LIBSRC)/PEX5
|
|
808 #if SharedLibPex
|
|
809 #ifndef SharedPexRev
|
|
810 #define SharedPexRev 6.0
|
|
811 #endif
|
|
812 SharedLibReferences(PEX,PEX5,$(PEXLIBSRC),SOPEXREV,SharedPexRev)
|
|
813 #else
|
|
814 UnsharedLibReferences(PEX,PEX5,$(PEXLIBSRC))
|
|
815 #endif
|
|
816
|
|
817 #ifndef SharedLibXie
|
|
818 #define SharedLibXie HasSharedLibraries
|
|
819 #endif
|
|
820 #ifndef NormalLibXie
|
|
821 #define NormalLibXie (!SharedLibXie | ForceNormalLib)
|
|
822 #endif
|
|
823 #ifndef DebugLibXie
|
|
824 #define DebugLibXie NO /* debugged XIE library */
|
|
825 #endif
|
|
826 #ifndef ProfileLibXie
|
|
827 #define ProfileLibXie NO /* profiled XIE library */
|
|
828 #endif
|
|
829 XIELIBSRC = $(LIBSRC)/XIE
|
|
830 #if SharedLibXie
|
|
831 #ifndef SharedXieRev
|
|
832 #define SharedXieRev 6.0
|
|
833 #endif
|
|
834 SharedLibReferences(XIE,XIE,$(XIELIBSRC),SOXIEREV,SharedXieRev)
|
|
835 #else
|
|
836 UnsharedLibReferences(XIE,XIE,$(XIELIBSRC))
|
|
837 #endif
|
|
838
|
|
839 #ifndef SharedLibPhigs
|
|
840 #define SharedLibPhigs NO /* XXX - haven't made it sharable yet */
|
|
841 #endif
|
|
842 #ifndef NormalLibPhigs
|
|
843 #define NormalLibPhigs (!SharedLibPhigs | ForceNormalLib)
|
|
844 #endif
|
|
845 PHIGSLIBSRC = $(LIBSRC)/PHIGS
|
|
846 #if SharedLibPhigs
|
|
847 #ifndef SharedPhigsRev
|
|
848 #define SharedPhigsRev 6.0
|
|
849 #endif
|
|
850 SharedLibReferences(PHIGS,phigs,$(PHIGSLIBSRC),SOPHIGSREV,SharedPhigsRev)
|
|
851 #else
|
|
852 UnsharedLibReferences(PHIGS,phigs,$(PHIGSLIBSRC))
|
|
853 #endif
|
|
854
|
|
855 UnsharedLibReferences(XBSD,Xbsd,$(LIBSRC)/Xbsd)
|
|
856
|
|
857 #ifndef SharedLibICE
|
|
858 #define SharedLibICE HasSharedLibraries
|
|
859 #endif
|
|
860 #ifndef NormalLibICE
|
|
861 #define NormalLibICE (!SharedLibICE | ForceNormalLib)
|
|
862 #endif
|
|
863 #ifndef DebugLibICE
|
|
864 #define DebugLibICE NO /* debugged ICE library */
|
|
865 #endif
|
|
866 #ifndef ProfileLibICE
|
|
867 #define ProfileLibICE NO /* profiled ICE library */
|
|
868 #endif
|
|
869 ICESRC = $(LIBSRC)/ICE
|
|
870 #if SharedLibICE
|
|
871 #ifndef SharedICERev
|
|
872 #define SharedICERev 6.0
|
|
873 #endif
|
|
874 SharedLibReferences(ICE,ICE,$(ICESRC),SOICEREV,SharedICERev)
|
|
875 #else
|
|
876 UnsharedLibReferences(ICE,ICE,$(ICESRC))
|
|
877 #endif
|
|
878
|
|
879 #ifndef SharedLibSM
|
|
880 #define SharedLibSM HasSharedLibraries
|
|
881 #endif
|
|
882 #ifndef NormalLibSM
|
|
883 #define NormalLibSM (!SharedLibSM | ForceNormalLib)
|
|
884 #endif
|
|
885 #ifndef DebugLibSM
|
|
886 #define DebugLibSM NO /* debugged SM library */
|
|
887 #endif
|
|
888 #ifndef ProfileLibSM
|
|
889 #define ProfileLibSM NO /* profiled SM library */
|
|
890 #endif
|
|
891 SMSRC = $(LIBSRC)/SM
|
|
892 #if SharedLibSM
|
|
893 #ifndef SharedSMRev
|
|
894 #define SharedSMRev 6.0
|
|
895 #endif
|
|
896 SharedLibReferences(SM,SM,$(SMSRC),SOSMREV,SharedSMRev)
|
|
897 #else
|
|
898 UnsharedLibReferences(SM,SM,$(SMSRC))
|
|
899 #endif
|
|
900
|
|
901 #ifndef SharedLibFS
|
|
902 #define SharedLibFS NO /* for now */
|
|
903 #endif
|
|
904 #ifndef NormalLibFS
|
|
905 #define NormalLibFS (!SharedLibFS | ForceNormalLib)
|
|
906 #endif
|
|
907 #ifndef DebugLibFS
|
|
908 #define DebugLibFS NO /* debugged FS library */
|
|
909 #endif
|
|
910 #ifndef ProfileLibFS
|
|
911 #define ProfileLibFS NO /* profiled FS library */
|
|
912 #endif
|
|
913 FSLIBSRC = $(LIBSRC)/FS
|
|
914 #if SharedLibFS
|
|
915 #ifndef SharedFSRev
|
|
916 #define SharedFSRev 6.0
|
|
917 #endif
|
|
918 SharedLibReferences(FS,FS,$(FSLIBSRC),SOFSREV,SharedFSRev)
|
|
919 #else
|
|
920 UnsharedLibReferences(FS,FS,$(FSLIBSRC))
|
|
921 #endif
|
|
922
|
|
923 FONTLIBSRC = $(LIBSRC)/font
|
|
924 UnsharedLibReferences(FONT,font,$(FONTLIBSRC))
|
|
925
|
|
926 #ifndef XawClientDepLibs
|
|
927 #define XawClientDepLibs $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
|
928 #endif
|
|
929 #ifndef XawClientLibs
|
|
930 #define XawClientLibs $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
|
|
931 #endif
|
|
932
|
|
933 #ifndef FrescoClientDepLibs
|
|
934 #define FrescoClientDepLibs $(DEPFRESCOLIB) $(DEPXLIB)
|
|
935 #endif
|
|
936 #ifndef FrescoClientLibs
|
|
937 #define FrescoClientLibs $(FRESCOLIB) $(XLIB) MathLibrary
|
|
938 #endif
|
|
939
|
|
940 #ifndef NeedDefaultDepLibs
|
|
941 #define NeedDefaultDepLibs YES
|
|
942 #endif
|
|
943
|
|
944 #if NeedDefaultDepLibs
|
|
945 /*
|
|
946 * Individual libraries should override this
|
|
947 */
|
|
948 #if HasSharedLibraries || defined(UseInstalled)
|
|
949 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
|
950 #else
|
|
951 DEPLIBS = $(LOCAL_LIBRARIES)
|
|
952 #endif
|
|
953 DEPLIBS1 = $(DEPLIBS)
|
|
954 DEPLIBS2 = $(DEPLIBS)
|
|
955 DEPLIBS3 = $(DEPLIBS)
|
|
956 #endif /* NeedDefaultDepLibs */
|
|
957
|
|
958
|
|
959 /*
|
|
960 * InstallAppDefaults - generate rules to install appliation default files
|
|
961 * if the InstallAppDefFiles configuration parameter is set.
|
|
962 */
|
|
963 #ifndef InstallAppDefaults
|
|
964 #if InstallAppDefFiles
|
|
965 #define InstallAppDefaults(class) @@\
|
|
966 InstallNamedTarget(install,class.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class)
|
|
967 #else
|
|
968 #define InstallAppDefaults(class)
|
|
969 #endif /* InstallAppDefFiles */
|
|
970 #endif /* InstallAppDefaults */
|
|
971
|
|
972 /*
|
|
973 * InstallAppDefaultsLong - generate rules to install appliation default files
|
|
974 * if the InstallAppDefFiles configuration parameter is set.
|
|
975 */
|
|
976 #ifndef InstallAppDefaultsLong
|
|
977 #if InstallAppDefFiles
|
|
978 #define InstallAppDefaultsLong(file,class) @@\
|
|
979 InstallNamedTarget(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class)
|
|
980 #else
|
|
981 #define InstallAppDefaultsLong(file,class)
|
|
982 #endif /* InstallAppDefFiles */
|
|
983 #endif /* InstallAppDefaultsLong */
|
|
984
|
|
985 /*
|
|
986 * MakeFontsDir - generate rules to build fonts.dir database.
|
|
987 */
|
|
988 #ifndef MakeFontsDir
|
|
989 #define MakeFontsDir(deplist) @@\
|
|
990 all:: fonts.dir @@\
|
|
991 @@\
|
|
992 fonts.dir: deplist @@\
|
|
993 RunProgram(MKFONTDIR,.) @@\
|
|
994 @@\
|
|
995 clean:: @@\
|
|
996 RemoveFile(fonts.dir)
|
|
997 #endif /* MakeFontsDir */
|
|
998
|
|
999
|
|
1000 /*
|
|
1001 * MakeFonts - generate rules to build font database.
|
|
1002 */
|
|
1003 #ifndef MakeFonts
|
|
1004 #define MakeFonts() @@\
|
|
1005 all:: $(OBJS) @@\
|
|
1006 @@\
|
|
1007 MakeFontsDir($(OBJS)) @@\
|
|
1008 @@\
|
|
1009 clean:: @@\
|
|
1010 RemoveFiles(*.pcf *.pcf.Z)
|
|
1011 #endif /* MakeFonts */
|
|
1012
|
|
1013
|
|
1014 /*
|
|
1015 * InstallFontObjs - generate rules to install font files
|
|
1016 */
|
|
1017 #ifndef InstallFontObjs
|
|
1018 #define InstallFontObjs(objs,dest) @@\
|
|
1019 InstallMultipleFlags(objs,dest,$(INSTDATFLAGS)) @@\
|
|
1020 @@\
|
|
1021 InstallTarget(install,fonts.dir,$(INSTDATFLAGS),dest)
|
|
1022 #endif /* InstallFontObjs */
|
|
1023
|
|
1024
|
|
1025 /*
|
|
1026 * InstallFonts - generate rules to install font files
|
|
1027 */
|
|
1028 #ifndef InstallFonts
|
|
1029 #define InstallFonts(dest) @@\
|
|
1030 InstallFontObjs($(OBJS),dest)
|
|
1031 #endif /* InstallFonts */
|
|
1032
|
|
1033
|
|
1034 /*
|
|
1035 * InstallFontAliases - generate rules to install font aliases databases.
|
|
1036 */
|
|
1037 #ifndef InstallFontAliases
|
|
1038 #define InstallFontAliases(dest) @@\
|
|
1039 InstallTarget(install,fonts.alias,$(INSTDATFLAGS),dest)
|
|
1040 #endif /* InstallFontAliases */
|
|
1041
|
|
1042 #ifndef FontSrc
|
|
1043 #define FontSrc(basename) basename.bdf
|
|
1044 #endif
|
|
1045
|
|
1046 #ifndef FontBaseObj
|
|
1047 #define FontBaseObj(basename)basename.pcf
|
|
1048 #endif
|
|
1049
|
|
1050 /*
|
|
1051 * InstallFontScale - generate rules to install font scale database.
|
|
1052 */
|
|
1053 #ifndef InstallFontScale
|
|
1054 #define InstallFontScale(dest) @@\
|
|
1055 InstallTarget(install,fonts.scale,$(INSTDATFLAGS),dest)
|
|
1056 #endif /* InstallFontScale */
|
|
1057
|
|
1058 /*
|
|
1059 * UncompressedFontTarget
|
|
1060 */
|
|
1061 #ifndef UncompressedFontTarget
|
|
1062 #define UncompressedFontTarget(basename) @@\
|
|
1063 FontBaseObj(basename): FontSrc(basename) @@\
|
|
1064 $(FONTC) $(FONTCFLAGS) $? -o $@
|
|
1065 #endif /* CompressedFontTarget */
|
|
1066
|
|
1067 /*
|
|
1068 * CompressedFontTarget
|
|
1069 */
|
|
1070 #ifndef CompressedFontTarget
|
|
1071 #define CompressedFontTarget(basename) @@\
|
|
1072 FontBaseObj(basename).Z: FontSrc(basename) @@\
|
|
1073 $(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@
|
|
1074 #endif /* CompressedFontTarget */
|
|
1075
|
|
1076 #ifdef CompressAllFonts
|
|
1077 #define FontTarget(basename) CompressedFontTarget(basename)
|
|
1078 #define FontObj(basename) FontBaseObj(basename).Z
|
|
1079 #else
|
|
1080 #define FontTarget(basename) UncompressedFontTarget(basename)
|
|
1081 #define FontObj(basename) FontBaseObj(basename)
|
|
1082 #endif /* CompressAllFonts */
|
|
1083
|
|
1084 #ifndef MakeSimpleDoc
|
|
1085 #define MakeSimpleDoc(file,srcs) @@\
|
|
1086 all:: file.PS @@\
|
|
1087 @@\
|
|
1088 file.PS: @@\
|
|
1089 $(TROFF) $(MSMACROS) $(XDOCMACROS) srcs 2> index.raw > file.nPS \@@\
|
|
1090 && $(MV) file.nPS $@ @@\
|
|
1091 @@\
|
|
1092 file.txt: @@\
|
|
1093 nroff $(MSMACROS) $(XDOCMACROS) srcs 2> index.raw > $@ @@\
|
|
1094 @@\
|
|
1095 clean:: @@\
|
|
1096 $(RM) index.raw file.nPS file.PS file.txt
|
|
1097 #endif
|
|
1098
|
|
1099 #ifndef MakeTblDoc
|
|
1100 #define MakeTblDoc(file,srcs) @@\
|
|
1101 all:: file.PS @@\
|
|
1102 @@\
|
|
1103 file.PS: @@\
|
|
1104 $(TBL) $(XDOCMACROS) srcs | $(TROFF) $(MSMACROS) 2> index.raw > file.nPS \@@\
|
|
1105 && $(MV) file.nPS $@ @@\
|
|
1106 @@\
|
|
1107 file.txt: @@\
|
|
1108 $(TBL) $(XDOCMACROS) srcs | nroff $(MSMACROS) 2> index.raw | col > $@ @@\
|
|
1109 @@\
|
|
1110 clean:: @@\
|
|
1111 $(RM) index.raw file.nPS file.PS file.txt
|
|
1112 #endif
|
|
1113
|
|
1114 #ifndef MakeEqnDoc
|
|
1115 #define MakeEqnDoc(file,srcs) @@\
|
|
1116 all:: file.PS @@\
|
|
1117 @@\
|
|
1118 file.PS: @@\
|
|
1119 $(TBL) $(XDOCMACROS) srcs | $(EQN) | $(TROFF) $(MSMACROS) 2> index.raw > file.nPS \@@\
|
|
1120 && $(MV) file.nPS $@ @@\
|
|
1121 @@\
|
|
1122 file.txt: @@\
|
|
1123 $(TBL) $(XDOCMACROS) srcs | neqn | nroff $(MSMACROS) 2> index.raw | col > $@ @@\
|
|
1124 @@\
|
|
1125 clean:: @@\
|
|
1126 $(RM) index.raw file.nPS file.PS file.txt
|
|
1127 #endif
|
|
1128
|
|
1129 #ifndef MakeDocIndex
|
|
1130 #define MakeDocIndex(file,srcs) @@\
|
|
1131 all:: file.idx.PS @@\
|
|
1132 @@\
|
|
1133 file.idx.PS: @@\
|
|
1134 tail -1 index.raw > index.pageno @@\
|
|
1135 grep -v '^.pn ' index.raw | sort -f '-t:' +1 -3 +0n -1n | awk -f $(DOCUTILSRC)/fixindex.awk | awk -f $(DOCUTILSRC)/block.awk > index.troff @@\
|
|
1136 cat srcs $(XIDXMACROS) index.troff | $(TROFF) -me > file.idx.nPS \@@\
|
|
1137 && $(MV) file.idx.nPS $@ @@\
|
|
1138 $(RM) index.troff index.pageno @@\
|
|
1139 @@\
|
|
1140 clean:: @@\
|
|
1141 $(RM) index.troff index.pageno file.idx.nPS file.idx.PS
|
|
1142 #endif
|
|
1143
|
|
1144 /* */#
|
|
1145 /* */# OMRON INPUT MATHOD MAKE ENV
|
|
1146 /* */#
|
|
1147
|
|
1148 #if defined(uniosu) || (defined(SVR4) && !defined(DGUX)) || defined(hpux)
|
|
1149 #define termLibrary -lcurses
|
|
1150 #define cvtfileDir ./sysV
|
|
1151 #else
|
|
1152 #define termLibrary -ltermcap
|
|
1153 #define cvtfileDir ./bsd
|
|
1154 #endif
|
|
1155
|
|
1156 #define WnnSpecialObjectRule(obj, depends, direct, define) @@\
|
|
1157 obj : depends @@\
|
|
1158 $(CC) -c $(CFLAGS) define direct/`basename $@ .o`.c @@\
|
|
1159
|
|
1160 #ifdef WnnMakeDirectories
|
|
1161 #undef WnnMakeDirectories
|
|
1162 #endif
|
|
1163 #define WnnMakeDirectories(step,dir) @@\
|
|
1164 step:: @@\
|
|
1165 @case '${MFLAGS}' in *[i]*) set +e;; esac; @@\
|
|
1166 DirFailPrefix@for i in dir; do if [ -d $(DESTDIR)$$i ]; then \ @@\
|
|
1167 set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \ @@\
|
|
1168 chown $(WNNOWNER) $(DESTDIR)$$i); fi \ @@\
|
|
1169 done
|
|
1170
|
|
1171 #define LinkDiffNameFile(src,dest,dir) @@\
|
|
1172 src: dir/dest @@\
|
|
1173 $(RM) $@ @@\
|
|
1174 $(LN) $? $@ @@\
|
|
1175
|
|
1176 #ifdef ImakeSubCmdHelper
|
|
1177 #undef ImakeSubCmdHelper
|
|
1178 #endif
|
|
1179
|
|
1180 /*
|
|
1181 * Change a variavle's name from "$imakeprefix" to "$(IMAKEPREFIX)".
|
|
1182 * Because it caused a error on XFree86 3.1.2S and 3.1.2E.
|
|
1183 * The Imake rule of XFree86 3.1.2S and 3.1.2E FreeBSD was changed.
|
|
1184 * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20
|
|
1185 */
|
|
1186 #ifdef UseInstalled
|
|
1187 #define ImakeSubCmdHelper $(IMAKE) -DUseInstalled -I$(IMAKEPREFIX)$(IMIRULESRC) -I$(IRULESRC) $(IMAKE_DEFINES)
|
|
1188 #else
|
|
1189 #define ImakeSubCmdHelper $(IMAKEPREFIX)$(IMAKE) -I$(IMAKEPREFIX)$(IMIRULESRC) -I$(IMAKEPREFIX)$(IRULESRC) $(IMAKE_DEFINES)
|
|
1190 #endif
|
|
1191
|
|
1192 #define WnnInstallDicMultiple(list,dest) @@\
|
|
1193 install:: list @@\
|
|
1194 MakeDir($(DESTDIR)dest) @@\
|
|
1195 @case '${MFLAGS}' in *[i]*) set +e;; esac; @@\
|
|
1196 @for i in list; do if [ -f $(DESTDIR)dest/$$i ]; then \ @@\
|
|
1197 set +x; \ @@\
|
|
1198 else (set -x; \ @@\
|
|
1199 $(INSTALL) -c $(INSTALLFLAGS) $$i $(DESTDIR)dest; \ @@\
|
|
1200 $(WNNTOUCH) $(DESTDIR)dest/$$i); fi \ @@\
|
|
1201 done
|
|
1202
|
|
1203 #ifndef BuildWnn
|
|
1204 #define BuildWnn YES
|
|
1205 #endif
|
|
1206 #ifndef BuildCWnn
|
|
1207 #define BuildCWnn YES
|
|
1208 #endif
|
|
1209 #ifndef BuildKWnn
|
|
1210 #define BuildKWnn YES
|
|
1211 #endif
|
|
1212 #ifndef BuildXwnmo
|
|
1213 #define BuildXwnmo YES
|
|
1214 #endif
|
|
1215
|
|
1216 #ifndef BuildJserver
|
|
1217 #define BuildJserver YES
|
|
1218 #endif
|
|
1219 #ifndef BuildJlib
|
|
1220 #define BuildJlib YES
|
|
1221 #endif
|
|
1222 #ifndef BuildWnnClients
|
|
1223 #define BuildWnnClients YES
|
|
1224 #endif
|
|
1225 #ifndef BuildWnnDicUtil
|
|
1226 #define BuildWnnDicUtil YES
|
|
1227 #endif
|
|
1228 #ifndef BuildPubdic
|
|
1229 #define BuildPubdic YES
|
|
1230 #endif
|
|
1231 #ifndef BuildWnnConsDic
|
|
1232 #define BuildWnnConsDic YES
|
|
1233 #endif
|
|
1234 #ifndef BuildWnnMan
|
|
1235 #define BuildWnnMan YES
|
|
1236 #endif
|
|
1237 #ifndef BuildJlibV3
|
|
1238 #define BuildJlibV3 YES
|
|
1239 #endif
|
|
1240 #if BuildPubdic || BuildWnnConsDic
|
|
1241 #define BuildWnnDicUtilForCompile YES
|
|
1242 #else
|
|
1243 #define BuildWnnDicUtilForCompile NO
|
|
1244 #endif
|
|
1245
|
|
1246 #ifndef BuildCserver
|
|
1247 #define BuildCserver YES
|
|
1248 #endif
|
|
1249 #ifndef BuildTserver
|
|
1250 #define BuildTserver YES
|
|
1251 #endif
|
|
1252 #ifndef BuildCJlib
|
|
1253 #define BuildCJlib YES
|
|
1254 #endif
|
|
1255 #ifndef BuildCWnnClients
|
|
1256 #define BuildCWnnClients YES
|
|
1257 #endif
|
|
1258 #ifndef BuildCWnnDicUtil
|
|
1259 #define BuildCWnnDicUtil YES
|
|
1260 #endif
|
|
1261 #ifndef BuildCDic
|
|
1262 #define BuildCDic YES
|
|
1263 #endif
|
|
1264 #ifndef BuildTDic
|
|
1265 #define BuildTDic YES
|
|
1266 #endif
|
|
1267 #if BuildCDic || BuildTDic
|
|
1268 #define BuildCWnnDicUtilForCompile YES
|
|
1269 #else
|
|
1270 #define BuildCWnnDicUtilForCompile NO
|
|
1271 #endif
|
|
1272
|
|
1273 #ifndef BuildKserver
|
|
1274 #define BuildKserver YES
|
|
1275 #endif
|
|
1276 #ifndef BuildKJlib
|
|
1277 #define BuildKJlib YES
|
|
1278 #endif
|
|
1279 #ifndef BuildKWnnClients
|
|
1280 #define BuildKWnnClients YES
|
|
1281 #endif
|
|
1282 #ifndef BuildKWnnDicUtil
|
|
1283 #define BuildKWnnDicUtil YES
|
|
1284 #endif
|
|
1285 #ifndef BuildKDic
|
|
1286 #define BuildKDic YES
|
|
1287 #endif
|
|
1288 #if BuildKDic
|
|
1289 #define BuildKWnnDicUtilForCompile YES
|
|
1290 #else
|
|
1291 #define BuildCWnnDicUtilForCompile NO
|
|
1292 #endif
|
|
1293
|
|
1294 /*
|
|
1295 * If you want to install dictionaries forcibly, set WnnInstallDicForcibly
|
|
1296 * as YES. Default is that dictionary isn't installed if it exist already.
|
|
1297 */
|
|
1298
|
|
1299 WNNOWNER = wnn
|
|
1300 #ifdef UseInstalled
|
|
1301 IMTOP = $(TOP)
|
|
1302 #else
|
|
1303 IMTOP = $(CONTRIBSRC)/programs/Xsi
|
|
1304 #endif
|
|
1305 PREFIX = /usr/local
|
|
1306 WNNWNNDIR = ${PREFIX}/lib/wnn
|
|
1307 WNNBINDIR = ${PREFIX}/bin
|
|
1308 WNNINCDIR = $(INCROOT)
|
|
1309 WNNLIBDIR = $(USRLIBDIR)
|
|
1310 WNNTERM_LIB = termLibrary
|
|
1311
|
|
1312 PUBDICSRC = $(IMTOP)/Pubdic
|
|
1313 WNNCONSDICSRC = $(IMTOP)/Wnn-consortium/dic
|
|
1314
|
|
1315 WNNTOP = $(IMTOP)/Wnn
|
|
1316 JWNNLANG = ja_JP
|
|
1317 JWNNWNNDIR = $(WNNWNNDIR)/$(JWNNLANG)
|
|
1318 JWNNBINDIR = $(WNNBINDIR)/Wnn4
|
|
1319 JWNNINCDIR = $(WNNINCDIR)/wnn
|
|
1320 JWNNDICDIR = $(JWNNWNNDIR)/dic
|
|
1321 JWNNPUBDICDIR = $(JWNNDICDIR)/pubdic
|
|
1322 JWNNWNNCONSDICDIR = $(JWNNDICDIR)/wnncons
|
|
1323 JWNNFZKSRCDIR = $(JWNNDICDIR)/src
|
|
1324 WNNCONVSRC = $(WNNTOP)/conv
|
|
1325 WNNETCSRC = $(WNNTOP)/etc
|
|
1326 WNNINCLUDESRC = $(WNNTOP)/include
|
|
1327 WNNJDSRC = $(WNNTOP)/jd
|
|
1328 WNNJLIBSRC = $(WNNTOP)/jlib
|
|
1329 WNNJLIBV3SRC = $(WNNTOP)/jlib.V3
|
|
1330 WNNJSERVERSRC = $(WNNTOP)/jserver
|
|
1331 WNNJUTILSRC = $(WNNTOP)/jutil
|
|
1332 WNNLDSRC = $(WNNTOP)/ld
|
|
1333 WNNPUBDICSRC = $(WNNTOP)/pubdic
|
|
1334 WNNWNNCONSSRC = $(WNNTOP)/wnncons
|
|
1335 WNNWNNCONSDICSRC = $(WNNWNNCONSSRC)/dic
|
|
1336 WNNROMKANSRC = $(WNNTOP)/romkan
|
|
1337 WNNUUMSRC = $(WNNTOP)/uum
|
|
1338 WNNCNVFILEDIR = $(WNNJDSRC)/cvtfileDir
|
|
1339 WNNINCLUDES = -I$(WNNINCLUDESRC) -I$(WNNROMKANMSRC)
|
|
1340 WNNDEFINES = -DLIBDIR=\"$(WNNWNNDIR)\"
|
|
1341 WNNJLIB = $(WNNJLIBSRC)/libwnn.a
|
|
1342 WNNCONVLIB = $(WNNCONVSRC)/libconvkey.a
|
|
1343
|
|
1344 CWNNTOP = $(IMTOP)/cWnn
|
|
1345 CWNNLANG = zh_CN
|
|
1346 CWNNWNNDIR = $(WNNWNNDIR)/$(CWNNLANG)
|
|
1347 CWNNINCDIR = $(WNNINCDIR)/cwnn
|
|
1348 CWNNBINDIR = $(WNNBINDIR)/cWnn4
|
|
1349 CWNNDICDIR = $(CWNNWNNDIR)/dic
|
|
1350 CWNNSYSDICDIR = $(CWNNDICDIR)/sys
|
|
1351 CWNNCDSRC = $(CWNNTOP)/cd
|
|
1352 CWNNCDICSRC = $(CWNNTOP)/cdic
|
|
1353 CWNNCONVSRC = $(CWNNTOP)/conv
|
|
1354 CWNNETCSRC = $(CWNNTOP)/etc
|
|
1355 CWNNINCLUDESRC = $(CWNNTOP)/include
|
|
1356 CWNNJLIBSRC = $(CWNNTOP)/jlib
|
|
1357 CWNNJSERVERSRC = $(CWNNTOP)/jserver
|
|
1358 CWNNJUTILSRC = $(CWNNTOP)/jutil
|
|
1359 CWNNROMKANSRC = $(CWNNTOP)/romkan
|
|
1360 CWNNUUMSRC = $(CWNNTOP)/uum
|
|
1361 CWNNCNVFILEDIR = $(CWNNCDSRC)/cvtfileDir
|
|
1362 CWNNINCLUDES = -I$(CWNNINCLUDESRC) -I$(CWNNROMKANMSRC)
|
|
1363 CWNNDEFINES = -DLIBDIR=\"$(WNNWNNDIR)\"
|
|
1364 CWNNJLIB = $(CWNNJLIBSRC)/libcwnn.a
|
|
1365 CWNNCONVLIB = $(CWNNCONVSRC)/libconvkey.a
|
|
1366
|
|
1367 KWNNTOP = $(IMTOP)/kWnn
|
|
1368 KWNNLANG = ko_KR
|
|
1369 KWNNWNNDIR = $(WNNWNNDIR)/$(KWNNLANG)
|
|
1370 KWNNINCDIR = $(WNNINCDIR)/kwnn
|
|
1371 KWNNBINDIR = $(WNNBINDIR)/kWnn4
|
|
1372 KWNNDICDIR = $(KWNNWNNDIR)/dic
|
|
1373 KWNNSYSDICDIR = $(KWNNDICDIR)/sys
|
|
1374 KWNNKDSRC = $(KWNNTOP)/kd
|
|
1375 KWNNKDICSRC = $(KWNNTOP)/kdic
|
|
1376 KWNNCONVSRC = $(KWNNTOP)/conv
|
|
1377 KWNNETCSRC = $(KWNNTOP)/etc
|
|
1378 KWNNINCLUDESRC = $(KWNNTOP)/include
|
|
1379 KWNNJLIBSRC = $(KWNNTOP)/jlib
|
|
1380 KWNNJSERVERSRC = $(KWNNTOP)/jserver
|
|
1381 KWNNJUTILSRC = $(KWNNTOP)/jutil
|
|
1382 KWNNROMKANSRC = $(KWNNTOP)/romkan
|
|
1383 KWNNUUMSRC = $(KWNNTOP)/uum
|
|
1384 KWNNCNVFILEDIR = $(KWNNCDSRC)/cvtfileDir
|
|
1385 KWNNINCLUDES = -I$(KWNNINCLUDESRC) -I$(KWNNROMKANMSRC)
|
|
1386 KWNNDEFINES = -DLIBDIR=\"$(WNNWNNDIR)\"
|
|
1387 KWNNJLIB = $(KWNNJLIBSRC)/libkwnn.a
|
|
1388 KWNNCONVLIB = $(KWNNCONVSRC)/libconvkey.a
|
|
1389
|
|
1390 TWNNLANG = zh_TW
|
|
1391 TWNNWNNDIR = $(WNNWNNDIR)/$(TWNNLANG)
|
|
1392 TWNNDICDIR = $(TWNNWNNDIR)/dic
|
|
1393 TWNNSYSDICDIR = $(TWNNDICDIR)/sys
|
|
1394 TWNNTDSRC = $(CWNNTOP)/td
|
|
1395 TWNNTDICSRC = $(CWNNTOP)/tdic
|
|
1396
|
|
1397 LWNNLANG = lt_LN
|
|
1398 LWNNWNNDIR = $(WNNWNNDIR)/$(LWNNLANG)
|
|
1399
|
|
1400 WNNLANGDEF = -DJAPANESE
|
|
1401 CWNNLANGDEF = -DCHINESE
|
|
1402 TWNNLANGDEF = -DTAIWANESE
|
|
1403 KWNNLANGDEF = -DKOREAN
|
|
1404 LWNNLANGDEF = -DLATIN
|
|
1405 ALLLANGDEF = $(WNNLANGDEF) $(CWNNLANGDEF) $(KWNNLANGDEF) $(LWNNLANGDEF)
|
|
1406
|
|
1407 XWNMOTOP = $(IMTOP)/Xwnmo
|
|
1408 XWNMOSRC = $(XWNMOTOP)/xwnmo
|
|
1409 XJUTILSRC = $(XWNMOTOP)/xjutil
|
|
1410 XWNMOROMKANSRC = $(XWNMOTOP)/romkan
|
|
1411 XWNMOJLIBSRC = $(XWNMOTOP)/jlib
|
|
1412 XWNMOJDSRC = $(XWNMOTOP)/jd
|
|
1413 XWNMOROMKANMSRC = $(XWNMOTOP)/romkan_m
|
|
1414 #ifdef UseInstalled
|
|
1415 XWNMOXLIBINC = -I$(XWNMOTOP)/X11R6/include
|
|
1416 #else
|
|
1417 XWNMOXLIBINC = -I$(XLIBSRC)
|
|
1418 #endif
|
|
1419 XWNMOINCLUDES = -I$(XWNMOROMKANMSRC) -I$(WNNINCLUDESRC) $(XWNMOXLIBINC)
|
|
1420 XWNMOJLIB = $(XWNMOJLIBSRC)/libwnn_m.a
|
|
1421 XWNMOLIBRARIES = $(XWNMOJLIB)
|
|
1422
|
|
1423 XWNMODEF = -DBC_X11R5
|
|
1424
|
|
1425 IMIRULESRC = $(IMTOP)/config
|
|
1426
|
|
1427 #ifdef UseInstalled
|
|
1428 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IMIRULESRC) \
|
|
1429 -I$(IRULESRC) $(IMAKE_DEFINES)
|
|
1430 #else
|
|
1431 IMAKE_CMD = $(IMAKE) -I$(IMIRULESRC) -I$(IRULESRC) $(IMAKE_DEFINES)
|
|
1432 #endif
|