annotate Makefile @ 2:640c5e9ea6ad

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