comparison Makefile @ 1:0d5dc7c29c78

fix tabbing
author paulo@thepaulopc
date Thu, 17 Jun 2010 00:50:35 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4212e495eb56
1 # Makefile generated by imake - do not edit!
2 # $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
3
4 # ----------------------------------------------------------------------
5 # Makefile generated from "Imake.tmpl" and <Imakefile>
6 # $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
7 # $XdotOrg: xc/config/cf/Imake.tmpl,v 1.6 2004/07/28 03:24:29 gisburn Exp $
8 #
9 #
10 #
11 #
12 # $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
13 # ----------------------------------------------------------------------
14
15 all::
16
17 .SUFFIXES: .i
18
19 # $XdotOrg: xc/config/cf/Imake.cf,v 1.4 2004/08/11 21:14:01 kem Exp $
20 # $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
21
22 # $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
23
24 # Keep cpp from replacing path elements containing i486/i586/i686
25
26 # -----------------------------------------------------------------------
27 # site-specific configuration parameters that need to come before
28 # the platform-specific parameters - edit site.def to change
29
30 # site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
31
32 # site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
33
34 # $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
35
36 # ----------------------------------------------------------------------
37 # platform-specific configuration parameters - edit linux.cf to change
38
39 # $XdotOrg: xc/config/cf/linux.cf,v 1.13 2004/08/11 21:14:01 kem Exp $
40 # platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
41
42 # platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
43
44 # operating system: Linux 2.6.17.8 i686 [ELF] (2.6.17)
45 # libc: (6.3.5)
46 # binutils: (215)
47
48 # $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
49 # $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
50
51 # $XdotOrg: xc/config/cf/xorg.cf,v 1.27.2.6 2005/01/24 03:11:42 gisburn Exp $
52
53 # $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
54
55 XORG_VERSION_CURRENT = (((6) * 10000000) + ((8) * 100000) + ((2) * 1000) + 0)
56 RELEASE_VERSION = RELEASE-1
57
58 AFB_DEFS = -DUSE_AFB
59
60 DRIVERSDKDIR = $(USRLIBDIR)/Server
61 DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
62 DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
63
64 XF86SRC = $(SERVERSRC)/hw/xfree86
65 XF86COMSRC = $(XF86SRC)/common
66 XF86PARSERSRC = $(XF86SRC)/parser
67 XF86OSSRC = $(XF86SRC)/os-support
68 XF86DRIVERSRC = $(XF86SRC)/drivers
69 DRIVERSRC = $(XF86DRIVERSRC)
70
71 XFREE86DOCDIR = $(DOCDIR)
72 XFREE86PSDOCDIR = $(DOCPSDIR)
73 XFREE86PDFDOCDIR = $(DOCPDFDIR)
74 XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
75 XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
76
77 # $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
78
79 # $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
80
81 # ----------------------------------------------------------------------
82 # site-specific configuration parameters that go after
83 # the platform-specific parameters - edit site.def to change
84
85 # site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
86
87 # site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
88
89 # ---------------------------------------------------------------------
90 # Imake rules for building libraries, programs, scripts, and data files
91 # rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
92 # rules: $XdotOrg: xc/config/cf/Imake.rules,v 1.6 2004/08/13 17:21:43 krh Exp $
93 #
94 #
95 #
96 #
97 # rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
98
99 .PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
100
101 _NULLCMD_ = @ echo -n
102
103 X_BYTE_ORDER = X_LITTLE_ENDIAN
104
105 GLIDE2INCDIR =
106
107 GLIDE3INCDIR =
108
109 GLIDE3LIBNAME =
110
111 TKLIBNAME =
112
113 TKLIBDIR =
114
115 TCLLIBNAME =
116
117 TCLIBDIR =
118
119 PATHSEP = /
120 SHELL = /bin/sh -e
121
122 TOP = .
123 CURRENT_DIR = .
124
125 IMAKE = imake
126 DEPEND = gccmakedep
127 MKDIRHIER = mkdir -p
128 REVPATH = revpath
129 EXPORTLISTGEN =
130 RMAN = rman
131 RMANBASENAME = rman
132 RMANOPTIONS = -f HTML
133 CONFIGSRC = $(TOP)/config
134 IMAKESRC = $(CONFIGSRC)/imake
135 DEPENDSRC = $(CONFIGSRC)/util
136
137 INCROOT = /usr/X11R6/include
138 USRLIBDIR = /usr/X11R6/lib
139 VARDIR = /var
140 VARLIBDIR = $(VARDIR)/lib
141 SYSTEMUSRLIBDIR = /usr/lib
142 SYSTEMUSRINCDIR = /usr/include
143 SHLIBDIR = /usr/X11R6/lib
144 LINTLIBDIR = $(USRLIBDIR)/lint
145 MANPATH = /usr/X11R6/man
146 MANSOURCEPATH = $(MANPATH)/man
147 MANDIR = $(MANSOURCEPATH)1
148 LIBMANDIR = $(MANSOURCEPATH)3
149 FILEMANDIR = $(MANSOURCEPATH)5
150 MISCMANDIR = $(MANSOURCEPATH)$(MISCMANSUFFIX)
151 DRIVERMANDIR = $(MANSOURCEPATH)$(DRIVERMANSUFFIX)
152 LOGDIRECTORY = $(VARDIR)/log
153
154 VARRUNDIR = $(VARDIR)/run
155
156 VARDBDIR = $(VARDIR)/lib
157
158 AR = ar clq
159
160 # Nice try but useless: make will inherit BOOTSTRAPCFLAGS
161 # from top Makefile
162 BOOTSTRAPCFLAGS =
163
164 CC = gcc -m32
165 AS = gcc -m32 -c -x assembler
166
167 .SUFFIXES: .cc
168
169 CXX = c++ -m32
170
171 CXXFILT = c++filt
172
173 CXXLIB = -lstdc++
174
175 CXXDEBUGFLAGS = -O2 -fno-strength-reduce -fno-strict-aliasing
176 CXXDEPENDINCLUDES =
177 CXXEXTRA_DEFINES =
178 CXXEXTRA_INCLUDES =
179 CXXSTD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE $(CXXPROJECT_DEFINES)
180 CXXOPTIONS =
181 CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
182 CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
183 CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
184
185 COMPRESS = compress
186 GZIPCMD = gzip
187
188 CPP = cpp $(STD_CPP_DEFINES)
189 RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
190 PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
191
192 INSTALL = install
193 INSTALLFLAGS = -c
194
195 LD = gcc -m32 -nostdlib
196
197 LEX = flex -l
198 M4 = m4
199 M4FLAGS =
200 LEXLIB = -lfl
201 YACC = bison -y
202 CCYACC = bison -y
203
204 LINT = lint
205
206 LINTLIBFLAG = -C
207 LINTOPTS = -axz
208 LN = ln -s
209 MAKE = make
210 MV = mv -f
211 CP = cp
212
213 RANLIB = ranlib
214
215 RANLIBINSTFLAGS =
216
217 RM = rm -f
218 PERL = perl
219 PERLOPTS =
220 PERLENVSETUP = env LC_ALL=C
221 MANSUFFIX = 1x
222 LIBMANSUFFIX = 3x
223 FILEMANSUFFIX = 5x
224 MISCMANSUFFIX = 7
225 DRIVERMANSUFFIX = 4
226 ADMINMANSUFFIX = 8
227 MANSRCSUFFIX = man
228 MANNEWSUFFIX = _man
229 MANDEFS = -D__apploaddir__=$(XAPPLOADDIR) -D__appmansuffix__=$(MANSUFFIX) -D__filemansuffix__=$(FILEMANSUFFIX) -D__libmansuffix__=$(LIBMANSUFFIX) -D__miscmansuffix__=$(MISCMANSUFFIX) -D__drivermansuffix__=$(DRIVERMANSUFFIX) -D__adminmansuffix__=$(ADMINMANSUFFIX) -D__projectroot__=$(PROJECTROOT) -D__xconfigfile__=$(XCONFIGFILE) -D__xconfigdir__=$(XCONFIGDIR) -D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME) $(XORGMANDEFS) $(VENDORMANDEFS)
230
231 COMPRESSMANCMD = gzip -n
232
233 TROFF = groff -Tps
234 NROFF = nroff
235
236 MSMACROS = -ms
237 MANMACROS = -man
238 TBL = tbl
239 EQN = eqn
240 NEQN = neqn
241 COL = col
242 COLFLAGS = -b
243
244 MODCC = gcc -m32
245
246 MODCPP = cpp
247 MODCFLAGS = $(CFLAGS)
248 MODAS = gcc -m32 -c -x assembler
249 MODASFLAGS =
250
251 MODLD = gcc -m32 -nostdlib
252
253 MODLDFLAGS =
254 MODLDCOMBINEFLAGS = -r
255 MODAR = ar clq
256
257 MODRANLIB = ranlib
258
259 STD_INCLUDES =
260 STD_CPP_OPTIONS = -traditional
261 STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE $(PROJECT_DEFINES)
262 STD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE $(PROJECT_DEFINES)
263 EXTRA_LOAD_FLAGS =
264 EXTRA_LDOPTIONS =
265 EXTRA_LIBRARIES =
266 TAGS = ctags
267
268 PARALLELMFLAGS =
269
270 SHAREDCODEDEF =
271 SHLIBDEF =
272
273 SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
274
275 PICFLAGS = -fPIC
276
277 CXXPICFLAGS = -fPIC
278
279 PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
280
281 INSTPGMFLAGS =
282
283 INSTBINFLAGS = -m 0755
284 INSTUIDFLAGS = -m 4711
285 INSTLIBFLAGS = -m 0644
286 INSTINCFLAGS = -m 0444
287 INSTMANFLAGS = -m 0444
288 INSTDATFLAGS = -m 0444
289 INSTKMEMFLAGS = -m 4711
290
291 PROJECTROOT = /usr/X11R6
292
293 CDEBUGFLAGS = -O2 -fno-strength-reduce -fno-strict-aliasing
294 CCOPTIONS =
295
296 ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
297 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
298 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
299 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
300 LDPRELIB = -L$(USRLIBDIR) $(INSTALLED_LIBS)
301 LDPOSTLIB =
302 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
303 CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
304
305 LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
306
307 CCLINK = $(CC)
308
309 CXXLINK = $(CXX)
310
311 LDSTRIPFLAGS = -x
312 LDCOMBINEFLAGS = -r
313 DEPENDFLAGS =
314 DEPEND_DEFINES =
315
316 # Not sure this belongs here
317 TKLIBDIR =
318 TKINCDIR =
319 TKLIBNAME =
320 TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
321 TCLLIBDIR =
322 TCLINCDIR =
323 TCLLIBNAME =
324 TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
325
326 MACROFILE = linux.cf
327 RM_CMD = $(RM)
328
329 IMAKE_DEFINES =
330 IMAKE_WARNINGS = -Wundef
331
332 IRULESRC = $(CONFIGDIR)
333 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
334
335 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xorgsite.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
336
337 # $TOG: Motif.rules /main/4 1998/02/06 10:53:37 kaleb $
338
339 # $Id: LessTif.rules,v 1.2 2000/08/29 21:59:19 dannybackx Exp $
340
341 # $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
342
343 # $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
344
345 # $TOG: Motif.tmpl /main/5 1998/02/06 10:53:46 kaleb $
346
347 # $Id: LessTif.tmpl.in,v 1.3 2001/03/26 19:12:10 amai Exp $
348
349 # ----------------------------------------------------------------------
350 # X Window System Build Parameters and Rules
351 # $XdotOrg: xc/config/cf/X11.tmpl,v 1.35.2.3 2005/02/01 04:07:39 gisburn Exp $
352 # $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
353 #
354 #
355 #
356 #
357 # $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
358
359 STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
360
361 FCHOWN_DEFINES = -DHAS_FCHOWN
362
363 # -----------------------------------------------------------------------
364 # X Window System make variables; these need to be coordinated with rules
365
366 XTOP = $(TOP)
367 BINDIR = /usr/X11R6/bin
368 BUILDINCROOT = $(TOP)/exports
369 BUILDINCDIR = $(BUILDINCROOT)/include
370 BUILDINCTOP = ../..
371 BUILDLIBDIR = $(TOP)/exports/lib
372 BUILDLIBTOP = ../..
373 BUILDBINDIR = $(TOP)/exports/bin
374 BUILDBINTOP = ../..
375 BUILDMODULEDIR = $(BUILDLIBDIR)/modules
376 BUILDI18NDIR = $(BUILDLIBDIR)/locale
377 BUILDMODULETOP = $(BUILDLIBTOP)/..
378 XBUILDINCROOT = $(XTOP)/exports
379 XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
380 XBUILDINCTOP = ../../..
381 XBUILDBINDIR = $(XBUILDINCROOT)/bin
382 INCDIR = $(INCROOT)
383 ADMDIR = /usr/adm
384 LIBDIR = /usr/X11R6/lib/X11
385 LIBEXECDIR = /usr/X11R6/libexec
386 MODULEDIR = $(USRLIBDIR)/modules
387 TOP_X_INCLUDES =
388 XBINDIR = $(PROJECTROOT)/bin
389
390 INSTSRCDIR = /usr/X11R6/src
391
392 ETCX11DIR = /etc/X11
393
394 CONFDIR = $(ETCX11DIR)
395
396 DOCDIR = $(LIBDIR)/doc
397 DOCHTMLDIR = $(DOCDIR)/html
398 DOCPSDIR = $(DOCDIR)/PostScript
399 DOCPDFDIR = $(DOCDIR)/PDF
400 FONTDIR = $(LIBDIR)/fonts
401 ENCODINGSDIR = $(FONTDIR)/encodings
402 XINITDIR = $(LIBDIR)/xinit
403 XDMDIR = $(LIBDIR)/xdm
404 XDMVARDIR = $(VARLIBDIR)/xdm
405 TWMDIR = $(LIBDIR)/twm
406 XSMDIR = $(LIBDIR)/xsm
407 NLSDIR = $(LIBDIR)/nls
408 XLOCALEDIR = $(LIBDIR)/locale
409 LBXPROXYDIR = $(LIBDIR)/lbxproxy
410 PROXYMANAGERDIR = $(LIBDIR)/proxymngr
411 XPRINTDIR = $(LIBDIR)/xserver
412 XAPPLOADDIR = $(LIBDIR)/app-defaults
413 FONTCFLAGS = -t
414
415 INSTAPPFLAGS = $(INSTDATFLAGS)
416
417 RGB = $(XBINDIR)/rgb
418 FONTC = $(XBINDIR)/bdftopcf
419 MKFONTSCALE = $(XBINDIR)/mkfontscale
420 MKFONTDIR = $(XBINDIR)/mkfontdir
421 MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
422 UCS2ANY = $(XBINDIR)/ucs2any
423 BDFTRUNCATE = $(XBINDIR)/bdftruncate
424 UCSMAPPREFIX = $(FONTDIR)/util/map-
425 XCURSORGEN = $(XBINDIR)/xcursorgen
426
427 HTMLINDEXCMD = $(MKHTMLINDEX)
428
429 DOCUTILSRC = $(XTOP)/doc/util
430 CLIENTSRC = $(TOP)/clients
431 DEMOSRC = $(TOP)/demos
432 XDOCMACROS = $(DOCUTILSRC)/macros.t
433 XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
434 PROGRAMSRC = $(TOP)/programs
435 LIBSRC = $(XTOP)/lib
436 FONTSRC = $(XTOP)/fonts
437 ENCODINGSSRC = $(FONTSRC)/encodings
438 INCLUDESRC = $(BUILDINCROOT)/include
439 XINCLUDESRC = $(INCLUDESRC)/X11
440 SERVERSRC = $(XTOP)/programs/Xserver
441 CONTRIBSRC = $(XTOP)/../contrib
442 UNSUPPORTEDSRC = $(XTOP)/unsupported
443 DOCSRC = $(XTOP)/doc
444 RGBSRC = $(XTOP)/programs/rgb
445 BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
446 MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
447 FONTSERVERSRC = $(PROGRAMSRC)/xfs
448 FONTINCSRC = $(XTOP)/include/fonts
449 EXTINCSRC = $(XTOP)/include/extensions
450 FTSOURCEDIR = FreeTypeSrcDir
451 DRMSRCDIR = $(TOP)/extras/drm
452 MESASRCDIR = $(TOP)/extras/Mesa
453 OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
454 PSWRAPSRC = $(XTOP)/config/pswrap
455 TRANSCOMMSRC = $(LIBSRC)/xtrans
456 TRANS_INCLUDES = -I$(TRANSCOMMSRC)
457 CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
458 XTRANS_FAILDEFINES = -DFAIL_HARD
459
460 VENDORMANNAME = X.Org
461 VENDORMANVERSION = `echo 6 8 2 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
462 XORGMANDEFS = -D__xorgversion__='"$(XORGRELSTRING)" "$(XORGMANNAME)"'
463 VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
464 VENDORNAME = The X.Org Foundation
465 VENDORNAMESHORT = X.Org
466
467 VENDORWEBSUPPORT = http://wiki.X.Org
468
469 VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
470
471 XKBDEFRULES = xorg
472 XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
473
474 XCONFIGFILE = xorg.conf
475 XCONFIGDIR = $(LIBDIR)
476 XLOGFILE = Xorg
477 XSERVERNAME = Xorg
478
479 XENVLIBDIR = $(USRLIBDIR)
480 CLIENTENVSETUP = LD_LIBRARY_PATH=$(MOTIFENVLIBDIR):$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
481
482 # $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
483 # $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
484
485 XLIBSRC = $(LIBSRC)/X11
486
487 SOXLIBREV = 6.2
488 DEPXONLYLIB =
489 XONLYLIB = -lX11
490
491 LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
492
493 DEPXLIBONLY = $(DEPXONLYLIB)
494 XLIBONLY = $(XONLYLIB)
495 LINTXONLYLIB = $(LINTXONLY)
496
497 XEXTLIBSRC = $(LIBSRC)/Xext
498
499 SOXEXTREV = 6.4
500 DEPEXTENSIONLIB =
501 EXTENSIONLIB = -lXext
502
503 LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
504
505 LINTEXTENSIONLIB = $(LINTEXTENSION)
506 DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
507 XLIB = $(EXTENSIONLIB) $(XONLYLIB)
508 LINTXLIB = $(LINTXONLYLIB)
509
510 XSSLIBSRC = $(LIBSRC)/Xss
511
512 SOXSSREV = 1.0
513 DEPXSSLIB =
514 XSSLIB = -lXss
515
516 LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
517
518 XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
519
520 SOXXF86MISCREV = 1.1
521 DEPXXF86MISCLIB =
522 XXF86MISCLIB = -lXxf86misc
523
524 LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
525
526 XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
527
528 SOXXF86VMREV = 1.0
529 DEPXXF86VMLIB =
530 XXF86VMLIB = -lXxf86vm
531
532 LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
533
534 XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
535
536 SOXXF86DGAREV = 1.0
537 DEPXXF86DGALIB =
538 XXF86DGALIB = -lXxf86dga
539
540 LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
541
542 XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
543
544 SOXXF86RUSHREV = 1.0
545 DEPXXF86RUSHLIB =
546 XXF86RUSHLIB = -lXxf86rush
547
548 LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
549
550 XVLIBSRC = $(LIBSRC)/Xv
551
552 SOXVREV = 1.0
553 DEPXVLIB =
554 XVLIB = -lXv
555
556 LINTXV = $(LINTLIBDIR)/llib-lXv.ln
557
558 XVMCLIBSRC = $(LIBSRC)/XvMC
559
560 SOXVMCREV = 1.0
561 DEPXVMCLIB =
562 XVMCLIB = -lXvMC
563
564 LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
565
566 XINERAMALIBSRC = $(LIBSRC)/Xinerama
567
568 SOXINERAMAREV = 1.0
569 DEPXINERAMALIB =
570 XINERAMALIB = -lXinerama
571
572 LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
573
574 XRESLIBSRC = $(LIBSRC)/XRes
575
576 SOXRESREV = 1.0
577 DEPXRESLIB =
578 XRESLIB = -lXRes
579
580 LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
581
582 DMXLIBSRC = $(LIBSRC)/dmx
583
584 DEPDMXLIB = $(USRLIBDIR)/libdmx.a
585 DMXLIB = -ldmx
586
587 LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
588
589 DPSLIBSRC = $(LIBSRC)/dps
590
591 SODPSREV = 1.0
592 DEPDPSLIB =
593 DPSLIB = -ldps
594
595 LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
596
597 DPSTKLIBSRC = $(LIBSRC)/dpstk
598
599 SODPSTKREV = 1.0
600 DEPDPSTKLIB =
601 DPSTKLIB = -ldpstk
602
603 LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
604
605 PSRESLIBSRC = $(LIBSRC)/psres
606
607 SOPSRESREV = 1.0
608 DEPPSRESLIB =
609 PSRESLIB = -lpsres
610
611 LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
612
613 GLULIBSRC = $(LIBSRC)/GLU
614
615 SOGLUREV = 1.3
616 DEPGLULIB =
617 GLULIB = -lGLU
618
619 LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
620
621 GLXLIBSRC = $(LIBSRC)/GL
622
623 SOGLREV = 1.2
624 DEPGLXLIB =
625 GLXLIB = -lGL
626
627 LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
628
629 GLWIDGETSRC = $(LIBSRC)/GLw
630
631 SOGLWREV = 1.0
632 DEPGLWLIB =
633 GLWLIB = -lGLw
634
635 LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
636
637 XRENDERLIBSRC = $(LIBSRC)/Xrender
638
639 SOXRENDERREV = 1.2.2
640 DEPXRENDERLIB =
641 XRENDERLIB = -lXrender
642
643 LINTXRENDER = $(LINTLIBDIR)/llib-lXrender.ln
644
645 XRANDRLIBSRC = $(LIBSRC)/Xrandr
646
647 SOXRANDRREV = 2.0
648 DEPXRANDRLIB =
649 XRANDRLIB = -lXrandr
650
651 LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
652
653 XFIXESLIBSRC = $(LIBSRC)/Xfixes
654
655 SOXFIXESREV = 3.0
656 DEPXFIXESLIB =
657 XFIXESLIB = -lXfixes
658
659 LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
660
661 XDAMAGELIBSRC = $(LIBSRC)/Xdamage
662
663 SOXDAMAGEREV = 1.0
664 DEPXDAMAGELIB =
665 XDAMAGELIB = -lXdamage
666
667 LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
668
669 XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
670
671 SOXCOMPOSITEREV = 1.0
672 DEPXCOMPOSITELIB =
673 XCOMPOSITELIB = -lXcomposite
674
675 LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
676
677 XEVIELIBSRC = $(LIBSRC)/Xevie
678
679 SOXEVIEREV = 1.0
680 DEPXEVIELIB =
681 XEVIELIB = -lXevie
682
683 LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
684
685 XCURSORLIBSRC = $(LIBSRC)/Xcursor
686
687 SOXCURSORREV = 1.0.2
688 DEPXCURSORLIB =
689 XCURSORLIB = -lXcursor
690
691 LINTXCURSOR = $(LINTLIBDIR)/llib-lXcursor.ln
692
693 APPLEWMLIBSRC = $(LIBSRC)/apple
694
695 DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
696 APPLEWMLIB = -lAppleWM
697
698 LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
699
700 WINDOWSWMLIBSRC = $(LIBSRC)/windows
701
702 DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
703 WINDOWSWMLIB = -lWindowsWM
704
705 LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
706
707 XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
708
709 SOXFONTCACHEREV = 1.2
710 DEPXFONTCACHELIB =
711 XFONTCACHELIB = -lXfontcache
712
713 LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
714
715 XAUTHSRC = $(LIBSRC)/Xau
716
717 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
718 XAUTHLIB = -lXau
719
720 LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
721
722 XDMCPLIBSRC = $(LIBSRC)/Xdmcp
723
724 DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
725 XDMCPLIB = -lXdmcp
726
727 LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
728
729 XMUSRC = $(LIBSRC)/Xmu
730
731 SOXMUREV = 6.2
732 DEPXMULIB =
733 XMULIB = -lXmu
734
735 LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
736
737 XMUUSRC = $(LIBSRC)/Xmuu
738
739 SOXMUUREV = 1.0
740 DEPXMUULIB =
741 XMUULIB = -lXmuu
742
743 LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
744
745 OLDXLIBSRC = $(LIBSRC)/oldX
746
747 DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
748 OLDXLIB = -loldX
749
750 LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
751
752 XPLIBSRC = $(LIBSRC)/Xp
753
754 SOXPREV = 6.2
755 DEPXPLIB =
756 XPLIB = -lXp
757
758 LINTXP = $(LINTLIBDIR)/llib-lXp.ln
759
760 TOOLKITSRC = $(LIBSRC)/Xt
761
762 SOXTREV = 6.0
763 DEPXTOOLONLYLIB =
764 XTOOLONLYLIB = -lXt
765
766 LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
767
768 DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
769 XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
770 LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
771
772 XALIBSRC = $(LIBSRC)/Xa
773
774 SOXAREV = 1.0
775 DEPXALIB =
776 XALIB = -lXa
777
778 LINTXA = $(LINTLIBDIR)/llib-lXa.ln
779
780 AWIDGETSRC = $(LIBSRC)/Xaw
781
782 SOXAWREV = 8.0
783 DEPXAWLIB =
784 XAWLIB = -lXaw
785
786 LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
787
788 AWIDGET7SRC = $(LIBSRC)/Xaw7
789
790 SOXAW7REV = 7.0
791 DEPXAW7LIB =
792 XAW7LIB = -lXaw
793
794 LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
795
796 AWIDGET6SRC = $(LIBSRC)/Xaw6
797
798 SOXAW6REV = 6.1
799 DEPXAW6LIB =
800 XAW6LIB = -lXaw
801
802 LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
803
804 XILIBSRC = $(LIBSRC)/Xi
805
806 SOXINPUTREV = 6.0
807 DEPXILIB =
808 XILIB = -lXi
809
810 LINTXI = $(LINTLIBDIR)/llib-lXi.ln
811
812 XTESTLIBSRC = $(LIBSRC)/Xtst
813
814 SOXTESTREV = 6.1
815 DEPXTESTLIB =
816 XTESTLIB = -lXtst
817
818 LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
819
820 DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
821 XBSDLIB = -lXbsd
822
823 LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
824
825 ICESRC = $(LIBSRC)/ICE
826
827 SOICEREV = 6.3
828 DEPICELIB =
829 ICELIB = -lICE
830
831 LINTICE = $(LINTLIBDIR)/llib-lICE.ln
832
833 SMSRC = $(LIBSRC)/SM
834
835 SOSMREV = 6.0
836 DEPSMLIB =
837 SMLIB = -lSM
838
839 LINTSM = $(LINTLIBDIR)/llib-lSM.ln
840
841 XKEYSRC = $(LIBSRC)/Xkey
842
843 SOXKEYREV = 6.0
844 DEPXKEYLIB =
845 XKEYLIB = -lXkey
846
847 LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
848
849 FSLIBSRC = $(LIBSRC)/FS
850
851 SOFSREV = 6.0
852 DEPFSLIB =
853 FSLIB = -lFS
854
855 LINTFS = $(LINTLIBDIR)/llib-lFS.ln
856
857 FONTLIBSRC = $(LIBSRC)/font
858
859 SOFONTREV = 1.5
860 DEPFONTLIB =
861 FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
862
863 LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
864 #
865 SOFONTREV = 1.5
866 DEPXFONTLIB =
867 XFONTLIB = -lXfont
868
869 LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
870
871 FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
872
873 DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
874 FONTSTUBLIB = -lfntstubs
875
876 LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
877 DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
878 FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
879
880 FONTENCLIBSRC = $(LIBSRC)/fontenc
881
882 SOFONTENCREV = 1.0
883 DEPXFONTENCLIB =
884 XFONTENCLIB = -lfontenc
885
886 LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
887
888 XPMLIBSRC = $(LIBSRC)/Xpm
889
890 SOXPMREV = 4.11
891 DEPXPMLIB =
892 XPMLIB = -lXpm
893
894 LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
895
896 FREETYPE2DIR = /usr
897 FREETYPE2LIBDIR = /usr/lib
898 FREETYPE2INCDIR = /usr/include
899
900 FREETYPE2LIB = -lfreetype
901
902 FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
903
904 FREETYPE2DEFINES = -DFREETYPE2
905
906 EXPATLIBSRC = $(LIBSRC)/expat
907
908 SOEXPATREV = 0.4
909 DEPEXPATLIB =
910 EXPATLIB = -lexpat
911
912 LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
913
914 EXPATDIR = /usr
915 EXPATLIBDIR = /usr/lib
916 EXPATINCDIR = /usr/include
917
918 EXPATINCLUDES =
919
920 EXPATLIB = -lexpat
921
922 EXPATDEFINES = -DEXPAT
923
924 XFT1LIBSRC = $(LIBSRC)/Xft1
925
926 SOXFT1REV = 1.1
927 DEPXFT1LIB =
928 XFT1LIB = -lXft
929
930 LINTXFT1 = $(LINTLIBDIR)/llib-lXft.ln
931
932 XFTLIBSRC = $(LIBSRC)/Xft
933
934 SOXFTREV = 2.1.2
935 DEPXFTLIB =
936 XFTLIB = -lXft
937
938 LINTXFT = $(LINTLIBDIR)/llib-lXft.ln
939
940 FONTCONFIGLIBSRC = $(LIBSRC)/fontconfig
941
942 SOFONTCONFIGREV = 1.0.4
943 DEPFONTCONFIGLIB =
944 FONTCONFIGLIB = -lfontconfig
945
946 LINTFONTCONFIG = $(LINTLIBDIR)/llib-lfontconfig.ln
947
948 FONTCONFIGINCDIR=$(INCDIR)
949
950 FONTCONFIGINCLUDES = -I$(FONTCONFIGINCDIR)
951
952 FCCACHE = $(BINDIR)/fc-cache
953
954 FONTCONFIGDEFINES = -DFONTCONFIG
955
956 XFTINCLUDES=$(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES)
957
958 LIBPNGINCDIR = /usr/include
959
960 LIBPNGINC=
961
962 LIBPNGDIR = /usr
963 LIBPNGLIBDIR = /usr/lib
964 LIBPNGINCDIR = /usr/include
965
966 LIBPNGLIB = -lpng
967
968 XKBFILELIBSRC = $(LIBSRC)/xkbfile
969
970 SOXKBFILEREV = 1.0
971 DEPXKBFILELIB =
972 XKBFILELIB = -lxkbfile
973
974 LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
975
976 XKBCOMPCMD = $(XBINDIR)/xkbcomp
977
978 XKBUILIBSRC = $(LIBSRC)/xkbui
979
980 SOXKBUIREV = 1.0
981 DEPXKBUILIB =
982 XKBUILIB = -lxkbui
983
984 LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
985
986 EXTRAXAWREQS = $(XPLIB)
987
988 EXTRAXAWCLIENTDEPLIBS = $(DEPXPLIB)
989
990 EXTRAXAWCLIENTLIBS = $(XPLIB)
991
992 XTRAPLIBSRC = $(LIBSRC)/XTrap
993
994 SOXTRAPREV = 6.4
995 DEPXTRAPLIB =
996 XTRAPLIB = -lXTrap
997
998 LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
999
1000 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
1001
1002 DEPLIBS1 = $(DEPLIBS)
1003 DEPLIBS2 = $(DEPLIBS)
1004 DEPLIBS3 = $(DEPLIBS)
1005 DEPLIBS4 = $(DEPLIBS)
1006 DEPLIBS5 = $(DEPLIBS)
1007 DEPLIBS6 = $(DEPLIBS)
1008 DEPLIBS7 = $(DEPLIBS)
1009 DEPLIBS8 = $(DEPLIBS)
1010 DEPLIBS9 = $(DEPLIBS)
1011 DEPLIBS10 = $(DEPLIBS)
1012
1013 FCPRELOADPATTERN = libfontconfig.so.?
1014
1015 XFTPRELOADPATTERN = libXft.so.?
1016 XRENDERPRELOADPATTERN = libXrender.so.?
1017 XFONTPRELOADPATTERN = libXfont*.so.?
1018
1019 MTOP = $(TOP)
1020 TOP_MOTIF_INCLUDES =
1021
1022 UIL_INCLUDES = -I$(USRINCDIR)/uil
1023
1024 MOTIFENVLIBDIR = $(USRLIBDIR)
1025
1026 USRINCDIR = /usr/X11R6/include
1027 UIDDIR = $(LIBDIR)/uid
1028 TESTSRC = $(MTOP)/tests
1029 TESTLIB = $(TESTSRC)/lib
1030 GENERALSRCLIB = $(TESTSRC)/General/lib
1031 GENERALSRCBIN = $(TESTSRC)/General/bin
1032 MANUALSRCLIB = $(TESTSRC)/Manual/lib
1033 MANUALSRCBIN = $(TESTSRC)/Manual/bin
1034 AUTOSRCLIB = $(TESTSRC)/Auto/lib
1035 AUTOSRCBIN = $(TESTSRC)/Auto/bin
1036 COMMONPP = $(GENERALSRCBIN)/Commonpp
1037 GENRUN = $(GENERALSRCBIN)/Genrun
1038 MANRUN = $(GENERALSRCBIN)/Manrun
1039
1040 TESTCOMSRC = $(MANUALSRCLIB)/Common
1041
1042 BUILDDOCDIR = $(BUILDINCROOT)/doc
1043 BUILDLOCDIR = $(BUILDINCROOT)/localized
1044
1045 MTOOLKITSRC = $(TOOLKITSRC)
1046
1047 MINCLUDESRC = $(MTOP)/include
1048 MDOCSRC = $(MTOP)/doc
1049 MLOCSRC = $(MTOP)/localized
1050
1051 MLIBSRC = $(MTOP)/lib
1052 MCLIENTSRC = $(MTOP)/clients
1053 MDEMOSRC = $(MTOP)/demos
1054 MWIDGETSRC = $(MLIBSRC)/Xm
1055 MRESOURCESRC = $(MLIBSRC)/Mrm
1056 UILSRC = $(MCLIENTSRC)/uil
1057
1058 UIL = uil
1059 DEPUIL = $(BINDIR)/uil
1060
1061 XMEXTRA_LIBS =
1062
1063 SOXMREV = 2.1
1064 DEPXMLIB =
1065 XMLIB = -lXm
1066
1067 LINTXM = $(LINTLIBDIR)/llib-lXm.ln
1068
1069 SOMRMREV = 2.1
1070 DEPMRESOURCELIB =
1071 MRESOURCELIB = -lMrm
1072
1073 LINTMRESOURCE = $(LINTLIBDIR)/llib-lMrm.ln
1074
1075 SOUILREV = 2.1
1076 DEPUILLIB =
1077 UILLIB = -lUil
1078
1079 LINTUIL = $(LINTLIBDIR)/llib-lUil.ln
1080
1081 SOMCOMMONREV = 2.1
1082 DEPTESTCOMLIB =
1083 TESTCOMLIB = -lMCommon
1084
1085 LINTTESTCOM = $(LINTLIBDIR)/llib-lMCommon.ln
1086
1087 TESTUILCOMLIB = $(TESTCOMSRC)/libMCommonUil.a
1088
1089 LINTMRESOURCE = $(MRESOURCESRC)/libMrm.a
1090 LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
1091 LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
1092 LINTUILLIB = $(UILSRC)/llib-lUil.ln
1093
1094 YACCFLAGS =
1095 UILFLAGS =
1096 GENCATFLAGS =
1097 GENCAT = gencat $(GENCATFLAGS)
1098 MKCATTOOL = $(MLOCSRC)/util/mkcatdefs
1099
1100 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.Dat
1101
1102 DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB)
1103
1104 DEPLIBS1 = $(DEPLIBS)
1105 DEPLIBS2 = $(DEPLIBS)
1106 DEPLIBS3 = $(DEPLIBS)
1107
1108 XMULIBONLY = -lXmu
1109 XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
1110
1111 CONFIGDIR = $(LIBDIR)/config
1112
1113 USRLIBDIRPATH = $(USRLIBDIR)
1114 LDPRELIBS = -L$(USRLIBDIR) $(INSTALLED_LIBS)
1115 LDPOSTLIBS =
1116 TOP_INCLUDES = $(TOP_MOTIF_INCLUDES) -I$(INCROOT) $(TOP_X_INCLUDES)
1117 PROJECT_DEFINES = -DNO_MESSAGE_CATALOG
1118 VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
1119
1120 CXXPROJECT_DEFINES = -DNO_MESSAGE_CATALOG
1121
1122 # ----------------------------------------------------------------------
1123 # start of Imakefile
1124
1125 DEPLIBS = $(DEPXTESTLIB) $(DEPEXTENSIONLIB) $(DEPXLIB)
1126 LOCAL_LIBRARIES = $(XTESTLIB) $(EXTENSIONLIB) $(XLIB)
1127
1128 SRCS = keynav.c
1129 OBJS = keynav.o
1130
1131 CC = gcc
1132
1133 PROGRAM = keynav
1134
1135 all:: keynav
1136
1137 keynav: $(OBJS) $(DEPLIBS)
1138 $(RM) $@
1139 $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
1140
1141 install:: keynav
1142 @if [ -d $(DESTDIR)$(BINDIR) ]; then \
1143 set +x; \
1144 else \
1145 if [ -h $(DESTDIR)$(BINDIR) ]; then \
1146 (set -x; rm -f $(DESTDIR)$(BINDIR)); \
1147 fi; \
1148 (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); \
1149 fi
1150 $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) keynav $(DESTDIR)$(BINDIR)/keynav
1151
1152 all:: keynav.$(MANSUFFIX).html
1153
1154 keynav.$(MANSUFFIX).html: keynav.$(MANNEWSUFFIX)
1155 $(RM) keynav.$(MANSUFFIX).html keynav.$(MANSUFFIX)-html
1156 $(RMAN) $(RMANOPTIONS) < keynav.$(MANNEWSUFFIX) \
1157 > keynav.$(MANSUFFIX)-html && $(MV) keynav.$(MANSUFFIX)-html $@
1158
1159 install.man:: keynav.$(MANSUFFIX).html
1160 @if [ -d $(DESTDIR)$(DOCHTMLDIR) ]; then \
1161 set +x; \
1162 else \
1163 if [ -h $(DESTDIR)$(DOCHTMLDIR) ]; then \
1164 (set -x; rm -f $(DESTDIR)$(DOCHTMLDIR)); \
1165 fi; \
1166 (set -x; $(MKDIRHIER) $(DESTDIR)$(DOCHTMLDIR)); \
1167 fi
1168 @(SUF=`expr $(MANSUFFIX) \: '\(.\)'`; \
1169 set -x; \
1170 $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) keynav.$(MANSUFFIX).html $(DESTDIR)$(DOCHTMLDIR)/keynav.$$SUF.html)
1171
1172 cleandir::
1173 $(RM) keynav.$(MANSUFFIX).html keynav.$(MANSUFFIX)-html
1174
1175 all:: keynav.$(MANNEWSUFFIX)
1176
1177 keynav.$(MANNEWSUFFIX): keynav.$(MANSRCSUFFIX)
1178 $(RM) $@
1179 if test -z "$(PREPROCESSMANPAGES)" ; then \
1180 cd `dirname keynav` && \
1181 $(LN) `basename keynav.$(MANSRCSUFFIX)` `basename $@`; \
1182 else \
1183 $(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) \
1184 < keynav.$(MANSRCSUFFIX) | sed -e '/^# *[0-9][0-9]* *.*$$/d' -e '/^#line *[0-9][0-9]* *.*$$/d' -e '/^[ ]*XCOMM$$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$$/s/\@\@$$/\\/' >$@; \
1185 fi
1186
1187 cleandir::
1188 $(RM) keynav.$(MANNEWSUFFIX)
1189
1190 install.man:: keynav.$(MANNEWSUFFIX)
1191 @if [ -d $(DESTDIR)$(MANDIR) ]; then \
1192 set +x; \
1193 else \
1194 if [ -h $(DESTDIR)$(MANDIR) ]; then \
1195 (set -x; rm -f $(DESTDIR)$(MANDIR)); \
1196 fi; \
1197 (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
1198 fi
1199 $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) keynav.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/keynav.$(MANSUFFIX)
1200
1201 depend::
1202 $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
1203
1204 lint:
1205 $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
1206 lint1:
1207 $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
1208
1209 cleandir::
1210 $(RM) keynav
1211
1212 # ----------------------------------------------------------------------
1213 # common rules for all Makefiles - do not edit
1214
1215 .c.i:
1216 $(RM) $@
1217 $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
1218
1219 .SUFFIXES: .ii
1220
1221 .cc.ii:
1222 $(RM) $@
1223 $(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
1224
1225 .SUFFIXES: .s
1226
1227 .c.s:
1228 $(RM) $@
1229 $(CC) -S $(CFLAGS) $(_NOOP_) $*.c
1230
1231 .cc.s:
1232 $(RM) $@
1233 $(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
1234
1235 emptyrule::
1236
1237 cleandir::
1238 $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
1239
1240 Makefile::
1241 -@if [ -f Makefile ]; then set -x; \
1242 $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
1243 else exit 0; fi
1244 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
1245
1246 tags::
1247 $(TAGS) -w *.[ch]
1248 $(TAGS) -xw *.[ch] > TAGS
1249
1250 man_keywords::
1251
1252 html_index::
1253 @if [ -d $(DESTDIR)$(DOCHTMLDIR) ]; then \
1254 set +x; \
1255 else \
1256 if [ -h $(DESTDIR)$(DOCHTMLDIR) ]; then \
1257 (set -x; rm -f $(DESTDIR)$(DOCHTMLDIR)); \
1258 fi; \
1259 (set -x; $(MKDIRHIER) $(DESTDIR)$(DOCHTMLDIR)); \
1260 fi
1261 $(HTMLINDEXCMD) $(DESTDIR)$(DOCHTMLDIR)
1262
1263 clean:: cleandir
1264
1265 distclean:: cleandir
1266
1267 # ----------------------------------------------------------------------
1268 # empty rules for directories that do not have SUBDIRS - do not edit
1269
1270 install::
1271 @echo "install in $(CURRENT_DIR) done"
1272
1273 install.man::
1274 @echo "install.man in $(CURRENT_DIR) done"
1275
1276 install.sdk::
1277 @echo "install.sdk in $(CURRENT_DIR) done"
1278
1279 Makefiles::
1280
1281 includes::
1282
1283 depend::
1284
1285 distclean::
1286 $(RM) Makefile Makefile.dep
1287
1288 # ----------------------------------------------------------------------
1289 # dependencies generated by makedepend
1290