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