earlybrowserreborn

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/viola @ 1  →  /viola @ 4
/viola/src/libXPA/src/xpa.c
@@ -78,12 +78,12 @@
#define XPA_SAVE(str) strcpy(XPA_MEMX(char, strlen(str)+1), str)
 
#define XPA_FREE(ptr) free((char *) ptr)
 
/*
extern char *malloc();
extern char *realloc();
extern void free();
extern void exit();
 
*/
static XContext xpa_xcon = (XContext) 0;
static void pb_draw();
 
/viola/src/libXPA/src/Makefile
@@ -1,289 +1,1063 @@
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
 
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.BVzDSy>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: util/cf/Imake.tmpl,v 1.17 2006/04/15 15:55:25 herrb Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
 
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.a15778>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
 
# -------------------------------------------------------------------------
all::
 
.SUFFIXES: .i
 
# $XdotOrg: util/cf/Imake.cf,v 1.12 2005/11/08 06:33:24 jkj Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
 
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 
# Keep cpp from replacing path elements containing i486/i586/i686
 
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
 
# operating system: SunOS 4.1.3
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
 
# $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
# $XdotOrg: util/cf/linux.cf,v 1.31 2005/10/21 19:10:27 ajax Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
 
.c.o:
$(CC) -c $(CFLAGS) $*.c
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
 
# -------------------------------------------------------------------------
# operating system: Linux 2.6.31-14-generic i686 [ELF] (2.6.31)
# libc: (6.10.1)
# binutils: (220)
 
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
 
# $XdotOrg: util/cf/xorg.cf,v 1.53 2005/10/03 16:08:44 alanc Exp $
 
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
 
XORG_VERSION_CURRENT = (((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
 
AFB_DEFS = -DUSE_AFB
 
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
 
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
 
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
 
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
 
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
 
SELINUX_LDFLAGS =
 
SELINUX_INCLUDES = -I/usr/include/selinux
 
SELINUX_CFLAGS = -DHAVE_SELINUX
 
SELINUX_LIBS = -lselinux
 
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
SHELL = /bin/sh
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: util/cf/Imake.rules,v 1.11 2005/11/08 06:33:24 jkj Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
 
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
 
_NULLCMD_ = @ echo -n
 
X_BYTE_ORDER = X_LITTLE_ENDIAN
 
GLIDE2INCDIR = /usr/include/glide
 
GLIDE3INCDIR = /usr/include/glide3
 
GLIDE3LIBNAME = glide3
 
TKLIBNAME = tk8.4
 
TKLIBDIR = /usr/lib
 
TCLLIBNAME = tcl8.4
 
TCLIBDIR = /usr/lib
 
PATHSEP = /
SHELL = /bin/sh -e
 
TOP = .
CURRENT_DIR = .
 
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
 
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
 
VARRUNDIR = $(VARDIR)/run
 
VARDBDIR = $(VARDIR)/lib
 
AR = ar clq
 
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
AS = as
 
CC = gcc -m32
AS = gcc -m32 -c -x assembler
 
.SUFFIXES: .cc
 
CXX = c++ -m32
 
CXXFILT = c++filt
 
CXXLIB = -lstdc++
 
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__i386__ -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)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
 
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
GZIPCMD = gzip
 
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
 
INSTALL = install
LD = ld
INSTALLFLAGS = -c
 
LD = gcc -m32 -nostdlib
 
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
 
LINT = lint
 
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
MV = mv -f
CP = cp
 
RANLIB = ranlib
 
RANLIBINSTFLAGS =
 
RM = rm -f
TROFF = psroff
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
 
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
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)
 
COMPRESSMANCMD = gzip -n
 
TROFF = groff -Tps
NROFF = nroff
 
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
 
MODCC = gcc -m32
 
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -m32 -c -x assembler
MODASFLAGS =
 
MODLD = gcc -m32 -nostdlib
 
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
 
MODRANLIB = ranlib
 
DVIPS = dvips
LATEX = latex
 
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -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)
STD_DEFINES = -Dlinux -D__i386__ -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)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
 
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
PARALLELMFLAGS =
 
PROTO_DEFINES =
SHAREDCODEDEF =
SHLIBDEF =
 
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
 
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
 
PICFLAGS = -fPIC
 
CXXPICFLAGS = -fPIC
 
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
 
INSTPGMFLAGS =
 
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g kmem -m 2755
INSTKMEMFLAGS = -m 4711
 
CDEBUGFLAGS = -O
PROJECTROOT = /usr
 
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
 
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
 
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
 
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
CCLINK = $(CC)
 
LDCOMBINEFLAGS = -X -r
CXXLINK = $(CXX)
 
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
 
MACROFILE = sun.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
 
MACROFILE = linux.cf
RM_CMD = $(RM)
 
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
 
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
 
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
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)
 
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
 
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
 
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: util/cf/X11.tmpl,v 1.54 2006/04/15 15:55:25 herrb Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
 
XORGRELSTRING = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
 
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
 
FCHOWN_DEFINES = -DHAS_FCHOWN
 
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
 
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
 
FONTDIR = $(LIBDIR)/fonts
INSTSRCDIR = /usr/src
 
ETCX11DIR = /etc/X11
 
CONFDIR = $(ETCX11DIR)
 
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = /usr/share/fonts/X11
ENCODINGSDIR = /usr/share/fonts/X11/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
 
INSTAPPFLAGS = $(INSTDATFLAGS)
 
IMAKE = imake
DEPEND = makedepend
RGB = rgb
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
 
FONTC = bdftopcf
HTMLINDEXCMD = HtmlIndexCmd
 
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
 
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
 
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
 
VENDORWEBSUPPORT = http://wiki.X.Org
 
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
 
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
 
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
 
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
 
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
 
XLIBSRC = $(LIBSRC)/X11
 
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
 
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
 
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
 
XEXTLIBSRC = $(LIBSRC)/Xext
 
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
 
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
 
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
 
XSSLIBSRC = $(LIBSRC)/Xss
 
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
 
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
 
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
 
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
 
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
 
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
 
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
 
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
 
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
 
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
 
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
 
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
 
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
 
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
 
XVLIBSRC = $(LIBSRC)/Xv
 
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
 
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
 
XVMCLIBSRC = $(LIBSRC)/XvMC
 
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
 
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
 
XINERAMALIBSRC = $(LIBSRC)/Xinerama
 
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
 
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
 
XRESLIBSRC = $(LIBSRC)/XRes
 
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
 
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
 
DMXLIBSRC = $(LIBSRC)/dmx
 
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
 
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
 
DPSLIBSRC = $(LIBSRC)/dps
 
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
 
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
 
DPSTKLIBSRC = $(LIBSRC)/dpstk
 
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
 
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
 
PSRESLIBSRC = $(LIBSRC)/psres
 
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
 
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
 
GLULIBSRC = $(LIBSRC)/GLU
 
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
 
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
 
GLXLIBSRC = $(LIBSRC)/GL
 
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
 
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
 
GLWIDGETSRC = $(LIBSRC)/GLw
 
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
 
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
 
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
 
XRENDERINCLUDES = -I$(XRENDERINCDIR)
 
XRANDRLIBSRC = $(LIBSRC)/Xrandr
 
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
 
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
 
XFIXESLIBSRC = $(LIBSRC)/Xfixes
 
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
 
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
 
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
 
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
 
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
 
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
 
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
 
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
 
XEVIELIBSRC = $(LIBSRC)/Xevie
 
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
 
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
 
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
 
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
 
APPLEWMLIBSRC = $(LIBSRC)/apple
 
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
 
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
 
WINDOWSWMLIBSRC = $(LIBSRC)/windows
 
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
 
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
 
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
 
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
 
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
 
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
 
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
 
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
 
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
 
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
 
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
 
XMUSRC = $(LIBSRC)/Xmu
 
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
 
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
 
XMUUSRC = $(LIBSRC)/Xmuu
 
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
 
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
 
OLDXLIBSRC = $(LIBSRC)/oldX
 
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
 
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
 
XPLIBSRC = $(LIBSRC)/Xp
 
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
 
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
 
TOOLKITSRC = $(LIBSRC)/Xt
 
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
 
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
 
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
 
XALIBSRC = $(LIBSRC)/Xa
 
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
 
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
 
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
 
# $XConsortium: sunLib.tmpl,v 1.14.1.2 92/11/11 09:55:02 rws Exp $
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
 
SHLIBLDFLAGS = -assert pure-text
PICFLAGS = -pic
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
AWIDGET7SRC = $(LIBSRC)/Xaw7
 
DEPXLIB = $(DEPEXTENSIONLIB)
XLIB = $(EXTENSIONLIB) -lX11
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
 
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIBONLY = -lXmu
XMULIB = -lXmu
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPOLDXLIB =
OLDXLIB = -loldX
AWIDGET6SRC = $(LIBSRC)/Xaw6
 
DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLLIB = -lXt
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
 
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPXILIB =
XILIB = -lXi
XILIBSRC = $(LIBSRC)/Xi
 
DEPPEXLIB =
PEXLIB = -lPEX5
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
 
SOXLIBREV = 4.10
SOXTREV = 4.10
SOXAWREV = 5.0
SOOLDXREV = 4.10
SOXMUREV = 4.10
SOXEXTREV = 4.10
SOXINPUTREV = 4.10
SOPEXREV = 1.0
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
 
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
XTESTLIBSRC = $(LIBSRC)/Xtst
 
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
 
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
 
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
 
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
 
ICESRC = $(LIBSRC)/ICE
 
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
 
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
 
SMSRC = $(LIBSRC)/SM
 
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
 
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
 
XKEYSRC = $(LIBSRC)/Xkey
 
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
 
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
 
FSLIBSRC = $(LIBSRC)/FS
 
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
 
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
 
FONTLIBSRC = $(LIBSRC)/font
 
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
 
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
 
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
 
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
 
FONTENCLIBSRC = $(LIBSRC)/fontenc
 
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
 
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
 
XPMLIBSRC = $(LIBSRC)/Xpm
 
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
 
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
 
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
 
FREETYPE2LIB = -lfreetype
 
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
 
FREETYPE2DEFINES = -DFREETYPE2
 
EXPATLIBSRC = $(LIBSRC)/expat
 
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
 
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
 
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
 
EXPATINCLUDES =
 
EXPATLIB = -lexpat
 
EXPATDEFINES = -DEXPAT
 
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
 
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
 
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
 
FONTCONFIGLIB = -lfontconfig
 
FONTCONFIGINCLUDES =
 
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
 
FONTCONFIGDEFINES = -DFONTCONFIG
 
LIBPNGINCDIR = /usr/include
 
LIBPNGINC=
 
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
 
LIBPNGLIB = -lpng
 
XKBFILELIBSRC = $(LIBSRC)/xkbfile
 
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
 
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
 
XKBCOMPCMD = $(XBINDIR)/xkbcomp
 
XKBUILIBSRC = $(LIBSRC)/xkbui
 
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
 
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
 
EXTRAXAWREQS =
 
EXTRAXAWCLIENTDEPLIBS =
 
EXTRAXAWCLIENTLIBS =
 
XTRAPLIBSRC = $(LIBSRC)/XTrap
 
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
 
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
 
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
 
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
 
# -------------------------------------------------------------------------
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
 
CONFIGDIR = $(LIBDIR)/config
 
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
 
CXXPROJECT_DEFINES =
 
# ----------------------------------------------------------------------
# start of Imakefile
 
# Imakefile for XPA library.
 
# $XConsortium: Library.tmpl,v 1.12 92/03/20 15:05:19 rws Exp $
# $Xorg: Library.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
 
CC = gcc -fstrength-reduce -fpcc-struct-return
# $XFree86: xc/config/cf/Library.tmpl,v 3.23tsi Exp $
 
CC = gcc -m32
 
CCOPTIONS =
STD_DEFINES =
CDEBUGFLAGS = -O
STD_DEFINES = -Dlinux -D__i386__ -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)
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CLIBDEBUGFLAGS = -g
CFLAGS = $(CDEBUGFLAGS) $(CLIBDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
 
SOSYMLINK = true
 
CC = cc
CCOPTIONS = -g
SRCS = xpa.c
@@ -295,22 +1069,43 @@
 
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
 
all:: libXpa.a
 
libXpa.a: $(OBJS)
libXpa.a: $(OBJS) $(EXTRALIBRARYDEPS)
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
$(_NULLCMD_)
 
# -------------------------------------------------------------------------
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
 
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
 
.SUFFIXES: .ii
 
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
 
.SUFFIXES: .s
 
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
 
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
 
emptyrule::
 
clean::
$(RM_CMD) "#"*
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
 
Makefile::
-@if [ -f Makefile ]; then set -x; \
@@ -322,13 +1117,17 @@
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
 
saber:
# load $(ALLDEFINES) $(SRCS)
man_keywords::
 
osaber:
# load $(ALLDEFINES) $(OBJS)
html_index::
 
# -------------------------------------------------------------------------
clean:: cleandir
 
distclean:: cleandir
 
PREPROCESSMANPAGES = true
 
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
 
install::
@@ -337,10 +1136,18 @@
install.man::
@echo "install.man in $(CURRENT_DIR) done"
 
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
 
Makefiles::
 
includes::
 
# -------------------------------------------------------------------------
depend::
 
distclean::
$(RM) Makefile Makefile.dep
 
# ----------------------------------------------------------------------
# dependencies generated by makedepend
 
/viola/src/libIMG/fbm.c
@@ -112,7 +112,7 @@
return FBMIN_SUCCESS;
}
static fbmin_image_test()
int fbmin_image_test()
{
if (fbmin_img_width < 1 || fbmin_img_width > 32767) {
fprintf (stderr, "Invalid width (%d) on input\n", fbmin_img_width);
/viola/src/libIMG/rlelib.c
@@ -12,7 +12,7 @@
 
#include <stdio.h>
#include <math.h>
#include <varargs.h>
//#include <varargs.h>
#include <ctype.h>
 
#include "image.h" /* need ZFILE definition */
/viola/src/libIMG/xloadimage.h
@@ -8,6 +8,7 @@
#include "copyright.h"
 
#ifndef LIBIMG
#define XLIB_ILLEGAL_ACCESS
#include <stdio.h>
#include <X11/X.h>
#include <X11/Xlib.h>
/viola/src/libIMG/Makefile
@@ -1,278 +1,1045 @@
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
 
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.0prbX2>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: util/cf/Imake.tmpl,v 1.17 2006/04/15 15:55:25 herrb Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
 
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.a15800>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
 
# -------------------------------------------------------------------------
all::
 
.SUFFIXES: .i
 
# $XdotOrg: util/cf/Imake.cf,v 1.12 2005/11/08 06:33:24 jkj Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
 
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 
# Keep cpp from replacing path elements containing i486/i586/i686
 
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
 
# operating system: SunOS 4.1.3
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
 
# $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
# $XdotOrg: util/cf/linux.cf,v 1.31 2005/10/21 19:10:27 ajax Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
 
.c.o:
$(CC) -c $(CFLAGS) $*.c
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
 
# -------------------------------------------------------------------------
# operating system: Linux 2.6.31-14-generic i686 [ELF] (2.6.31)
# libc: (6.10.1)
# binutils: (220)
 
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
 
# $XdotOrg: util/cf/xorg.cf,v 1.53 2005/10/03 16:08:44 alanc Exp $
 
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
 
XORG_VERSION_CURRENT = (((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
 
AFB_DEFS = -DUSE_AFB
 
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
 
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
 
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
 
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
 
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
 
SELINUX_LDFLAGS =
 
SELINUX_INCLUDES = -I/usr/include/selinux
 
SELINUX_CFLAGS = -DHAVE_SELINUX
 
SELINUX_LIBS = -lselinux
 
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
SHELL = /bin/sh
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: util/cf/Imake.rules,v 1.11 2005/11/08 06:33:24 jkj Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
 
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
 
_NULLCMD_ = @ echo -n
 
X_BYTE_ORDER = X_LITTLE_ENDIAN
 
GLIDE2INCDIR = /usr/include/glide
 
GLIDE3INCDIR = /usr/include/glide3
 
GLIDE3LIBNAME = glide3
 
TKLIBNAME = tk8.4
 
TKLIBDIR = /usr/lib
 
TCLLIBNAME = tcl8.4
 
TCLIBDIR = /usr/lib
 
PATHSEP = /
SHELL = /bin/sh -e
 
TOP = .
CURRENT_DIR = .
 
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
 
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
 
VARRUNDIR = $(VARDIR)/run
 
VARDBDIR = $(VARDIR)/lib
 
AR = ar clq
 
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
AS = as
 
CC = gcc -m32
AS = gcc -m32 -c -x assembler
 
.SUFFIXES: .cc
 
CXX = c++ -m32
 
CXXFILT = c++filt
 
CXXLIB = -lstdc++
 
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__i386__ -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)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
 
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
GZIPCMD = gzip
 
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
 
INSTALL = install
LD = ld
INSTALLFLAGS = -c
 
LD = gcc -m32 -nostdlib
 
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
 
LINT = lint
 
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
MV = mv -f
CP = cp
 
RANLIB = ranlib
 
RANLIBINSTFLAGS =
 
RM = rm -f
TROFF = psroff
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
 
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
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)
 
COMPRESSMANCMD = gzip -n
 
TROFF = groff -Tps
NROFF = nroff
 
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
 
MODCC = gcc -m32
 
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -m32 -c -x assembler
MODASFLAGS =
 
MODLD = gcc -m32 -nostdlib
 
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
 
MODRANLIB = ranlib
 
DVIPS = dvips
LATEX = latex
 
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -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)
STD_DEFINES = -Dlinux -D__i386__ -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)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
 
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
PARALLELMFLAGS =
 
PROTO_DEFINES =
SHAREDCODEDEF =
SHLIBDEF =
 
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
 
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
 
PICFLAGS = -fPIC
 
CXXPICFLAGS = -fPIC
 
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
 
INSTPGMFLAGS =
 
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g kmem -m 2755
INSTKMEMFLAGS = -m 4711
 
CDEBUGFLAGS = -O
PROJECTROOT = /usr
 
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
 
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
 
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
 
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
CCLINK = $(CC)
 
LDCOMBINEFLAGS = -X -r
CXXLINK = $(CXX)
 
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
 
MACROFILE = sun.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
 
MACROFILE = linux.cf
RM_CMD = $(RM)
 
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
 
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
 
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
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)
 
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
 
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
 
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: util/cf/X11.tmpl,v 1.54 2006/04/15 15:55:25 herrb Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
 
XORGRELSTRING = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
 
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
 
FCHOWN_DEFINES = -DHAS_FCHOWN
 
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
 
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
 
FONTDIR = $(LIBDIR)/fonts
INSTSRCDIR = /usr/src
 
ETCX11DIR = /etc/X11
 
CONFDIR = $(ETCX11DIR)
 
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = /usr/share/fonts/X11
ENCODINGSDIR = /usr/share/fonts/X11/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
 
INSTAPPFLAGS = $(INSTDATFLAGS)
 
IMAKE = imake
DEPEND = makedepend
RGB = rgb
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
 
FONTC = bdftopcf
HTMLINDEXCMD = HtmlIndexCmd
 
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
 
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
 
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
 
VENDORWEBSUPPORT = http://wiki.X.Org
 
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
 
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
 
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
 
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
 
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
 
XLIBSRC = $(LIBSRC)/X11
 
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
 
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
 
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
 
XEXTLIBSRC = $(LIBSRC)/Xext
 
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
 
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
 
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
 
XSSLIBSRC = $(LIBSRC)/Xss
 
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
 
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
 
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
 
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
 
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
 
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
 
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
 
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
 
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
 
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
 
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
 
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
 
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
 
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
 
XVLIBSRC = $(LIBSRC)/Xv
 
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
 
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
 
XVMCLIBSRC = $(LIBSRC)/XvMC
 
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
 
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
 
XINERAMALIBSRC = $(LIBSRC)/Xinerama
 
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
 
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
 
XRESLIBSRC = $(LIBSRC)/XRes
 
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
 
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
 
DMXLIBSRC = $(LIBSRC)/dmx
 
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
 
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
 
DPSLIBSRC = $(LIBSRC)/dps
 
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
 
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
 
DPSTKLIBSRC = $(LIBSRC)/dpstk
 
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
 
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
 
PSRESLIBSRC = $(LIBSRC)/psres
 
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
 
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
 
GLULIBSRC = $(LIBSRC)/GLU
 
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
 
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
 
GLXLIBSRC = $(LIBSRC)/GL
 
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
 
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
 
GLWIDGETSRC = $(LIBSRC)/GLw
 
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
 
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
 
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
 
XRENDERINCLUDES = -I$(XRENDERINCDIR)
 
XRANDRLIBSRC = $(LIBSRC)/Xrandr
 
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
 
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
 
XFIXESLIBSRC = $(LIBSRC)/Xfixes
 
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
 
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
 
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
 
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
 
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
 
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
 
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
 
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
 
XEVIELIBSRC = $(LIBSRC)/Xevie
 
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
 
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
 
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
 
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
 
APPLEWMLIBSRC = $(LIBSRC)/apple
 
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
 
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
 
WINDOWSWMLIBSRC = $(LIBSRC)/windows
 
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
 
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
 
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
 
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
 
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
 
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
 
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
 
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
 
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
 
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
 
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
 
XMUSRC = $(LIBSRC)/Xmu
 
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
 
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
 
XMUUSRC = $(LIBSRC)/Xmuu
 
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
 
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
 
OLDXLIBSRC = $(LIBSRC)/oldX
 
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
 
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
 
XPLIBSRC = $(LIBSRC)/Xp
 
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
 
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
 
TOOLKITSRC = $(LIBSRC)/Xt
 
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
 
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
 
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
 
XALIBSRC = $(LIBSRC)/Xa
 
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
 
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
 
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
 
# $XConsortium: sunLib.tmpl,v 1.14.1.2 92/11/11 09:55:02 rws Exp $
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
 
SHLIBLDFLAGS = -assert pure-text
PICFLAGS = -pic
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
AWIDGET7SRC = $(LIBSRC)/Xaw7
 
DEPXLIB = $(DEPEXTENSIONLIB)
XLIB = $(EXTENSIONLIB) -lX11
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
 
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIBONLY = -lXmu
XMULIB = -lXmu
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPOLDXLIB =
OLDXLIB = -loldX
AWIDGET6SRC = $(LIBSRC)/Xaw6
 
DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLLIB = -lXt
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
 
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPXILIB =
XILIB = -lXi
XILIBSRC = $(LIBSRC)/Xi
 
DEPPEXLIB =
PEXLIB = -lPEX5
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
 
SOXLIBREV = 4.10
SOXTREV = 4.10
SOXAWREV = 5.0
SOOLDXREV = 4.10
SOXMUREV = 4.10
SOXEXTREV = 4.10
SOXINPUTREV = 4.10
SOPEXREV = 1.0
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
 
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
XTESTLIBSRC = $(LIBSRC)/Xtst
 
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
 
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
 
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
 
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
 
ICESRC = $(LIBSRC)/ICE
 
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
 
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
 
SMSRC = $(LIBSRC)/SM
 
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
 
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
 
XKEYSRC = $(LIBSRC)/Xkey
 
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
 
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
 
FSLIBSRC = $(LIBSRC)/FS
 
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
 
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
 
FONTLIBSRC = $(LIBSRC)/font
 
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
 
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
 
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
 
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
 
FONTENCLIBSRC = $(LIBSRC)/fontenc
 
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
 
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
 
XPMLIBSRC = $(LIBSRC)/Xpm
 
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
 
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
 
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
 
FREETYPE2LIB = -lfreetype
 
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
 
FREETYPE2DEFINES = -DFREETYPE2
 
EXPATLIBSRC = $(LIBSRC)/expat
 
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
 
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
 
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
 
EXPATINCLUDES =
 
EXPATLIB = -lexpat
 
EXPATDEFINES = -DEXPAT
 
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
 
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
 
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
 
FONTCONFIGLIB = -lfontconfig
 
FONTCONFIGINCLUDES =
 
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
 
FONTCONFIGDEFINES = -DFONTCONFIG
 
LIBPNGINCDIR = /usr/include
 
LIBPNGINC=
 
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
 
LIBPNGLIB = -lpng
 
XKBFILELIBSRC = $(LIBSRC)/xkbfile
 
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
 
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
 
XKBCOMPCMD = $(XBINDIR)/xkbcomp
 
XKBUILIBSRC = $(LIBSRC)/xkbui
 
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
 
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
 
EXTRAXAWREQS =
 
EXTRAXAWCLIENTDEPLIBS =
 
EXTRAXAWCLIENTLIBS =
 
XTRAPLIBSRC = $(LIBSRC)/XTrap
 
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
 
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
 
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
 
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
 
# -------------------------------------------------------------------------
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
 
CONFIGDIR = $(LIBDIR)/config
 
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
 
CXXPROJECT_DEFINES =
 
# ----------------------------------------------------------------------
# start of Imakefile
 
# Imakefile for building within the X11 source tree.
@@ -294,22 +1061,43 @@
 
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
 
all:: libIMG.a
 
libIMG.a: $(OBJS)
libIMG.a: $(OBJS) $(EXTRALIBRARYDEPS)
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
$(_NULLCMD_)
 
# -------------------------------------------------------------------------
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
 
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
 
.SUFFIXES: .ii
 
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
 
.SUFFIXES: .s
 
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
 
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
 
emptyrule::
 
clean::
$(RM_CMD) "#"*
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
 
Makefile::
-@if [ -f Makefile ]; then set -x; \
@@ -321,13 +1109,17 @@
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
 
saber:
# load $(ALLDEFINES) $(SRCS)
man_keywords::
 
osaber:
# load $(ALLDEFINES) $(OBJS)
html_index::
 
# -------------------------------------------------------------------------
clean:: cleandir
 
distclean:: cleandir
 
PREPROCESSMANPAGES = true
 
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
 
install::
@@ -336,10 +1128,18 @@
install.man::
@echo "install.man in $(CURRENT_DIR) done"
 
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
 
Makefiles::
 
includes::
 
# -------------------------------------------------------------------------
depend::
 
distclean::
$(RM) Makefile Makefile.dep
 
# ----------------------------------------------------------------------
# dependencies generated by makedepend
 
/viola/src/libStyle/Makefile
@@ -1,287 +1,1061 @@
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
 
# -------------------------------------------------------------------------
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: util/cf/Imake.tmpl,v 1.17 2006/04/15 15:55:25 herrb Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
 
# -------------------------------------------------------------------------
all::
 
.SUFFIXES: .i
 
# $XdotOrg: util/cf/Imake.cf,v 1.12 2005/11/08 06:33:24 jkj Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
 
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 
# Keep cpp from replacing path elements containing i486/i586/i686
 
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
 
# operating system: SunOS 4.1.3
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
 
# $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
# $XdotOrg: util/cf/linux.cf,v 1.31 2005/10/21 19:10:27 ajax Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
 
.c.o:
$(CC) -c $(CFLAGS) $*.c
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
 
# -------------------------------------------------------------------------
# operating system: Linux 2.6.31-14-generic i686 [ELF] (2.6.31)
# libc: (6.10.1)
# binutils: (220)
 
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
 
# $XdotOrg: util/cf/xorg.cf,v 1.53 2005/10/03 16:08:44 alanc Exp $
 
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
 
XORG_VERSION_CURRENT = (((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
 
AFB_DEFS = -DUSE_AFB
 
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
 
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
 
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
 
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
 
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
 
SELINUX_LDFLAGS =
 
SELINUX_INCLUDES = -I/usr/include/selinux
 
SELINUX_CFLAGS = -DHAVE_SELINUX
 
SELINUX_LIBS = -lselinux
 
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
SHELL = /bin/sh
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: util/cf/Imake.rules,v 1.11 2005/11/08 06:33:24 jkj Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
 
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
 
_NULLCMD_ = @ echo -n
 
X_BYTE_ORDER = X_LITTLE_ENDIAN
 
GLIDE2INCDIR = /usr/include/glide
 
GLIDE3INCDIR = /usr/include/glide3
 
GLIDE3LIBNAME = glide3
 
TKLIBNAME = tk8.4
 
TKLIBDIR = /usr/lib
 
TCLLIBNAME = tcl8.4
 
TCLIBDIR = /usr/lib
 
PATHSEP = /
SHELL = /bin/sh -e
 
TOP = .
CURRENT_DIR = .
 
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
 
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
 
VARRUNDIR = $(VARDIR)/run
 
VARDBDIR = $(VARDIR)/lib
 
AR = ar clq
 
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
AS = as
 
CC = gcc -m32
AS = gcc -m32 -c -x assembler
 
.SUFFIXES: .cc
 
CXX = c++ -m32
 
CXXFILT = c++filt
 
CXXLIB = -lstdc++
 
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__i386__ -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)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
 
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
GZIPCMD = gzip
 
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
 
INSTALL = install
LD = ld
INSTALLFLAGS = -c
 
LD = gcc -m32 -nostdlib
 
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
 
LINT = lint
 
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
MV = mv -f
CP = cp
 
RANLIB = ranlib
 
RANLIBINSTFLAGS =
 
RM = rm -f
TROFF = psroff
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
 
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
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)
 
COMPRESSMANCMD = gzip -n
 
TROFF = groff -Tps
NROFF = nroff
 
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
 
MODCC = gcc -m32
 
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -m32 -c -x assembler
MODASFLAGS =
 
MODLD = gcc -m32 -nostdlib
 
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
 
MODRANLIB = ranlib
 
DVIPS = dvips
LATEX = latex
 
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -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)
STD_DEFINES = -Dlinux -D__i386__ -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)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
 
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
PARALLELMFLAGS =
 
PROTO_DEFINES =
SHAREDCODEDEF =
SHLIBDEF =
 
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
 
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
 
PICFLAGS = -fPIC
 
CXXPICFLAGS = -fPIC
 
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
 
INSTPGMFLAGS =
 
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g kmem -m 2755
INSTKMEMFLAGS = -m 4711
 
CDEBUGFLAGS = -O
PROJECTROOT = /usr
 
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
 
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
 
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
 
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
CCLINK = $(CC)
 
LDCOMBINEFLAGS = -X -r
CXXLINK = $(CXX)
 
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
 
MACROFILE = sun.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
 
MACROFILE = linux.cf
RM_CMD = $(RM)
 
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
 
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
 
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
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)
 
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
 
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
 
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: util/cf/X11.tmpl,v 1.54 2006/04/15 15:55:25 herrb Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
 
XORGRELSTRING = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
 
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
 
FCHOWN_DEFINES = -DHAS_FCHOWN
 
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
 
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
 
FONTDIR = $(LIBDIR)/fonts
INSTSRCDIR = /usr/src
 
ETCX11DIR = /etc/X11
 
CONFDIR = $(ETCX11DIR)
 
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = /usr/share/fonts/X11
ENCODINGSDIR = /usr/share/fonts/X11/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
 
INSTAPPFLAGS = $(INSTDATFLAGS)
 
IMAKE = imake
DEPEND = makedepend
RGB = rgb
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
 
FONTC = bdftopcf
HTMLINDEXCMD = HtmlIndexCmd
 
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
 
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
 
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
 
VENDORWEBSUPPORT = http://wiki.X.Org
 
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
 
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
 
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
 
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
 
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
 
XLIBSRC = $(LIBSRC)/X11
 
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
 
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
 
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
 
XEXTLIBSRC = $(LIBSRC)/Xext
 
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
 
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
 
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
 
XSSLIBSRC = $(LIBSRC)/Xss
 
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
 
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
 
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
 
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
 
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
 
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
 
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
 
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
 
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
 
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
 
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
 
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
 
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
 
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
 
XVLIBSRC = $(LIBSRC)/Xv
 
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
 
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
 
XVMCLIBSRC = $(LIBSRC)/XvMC
 
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
 
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
 
XINERAMALIBSRC = $(LIBSRC)/Xinerama
 
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
 
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
 
XRESLIBSRC = $(LIBSRC)/XRes
 
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
 
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
 
DMXLIBSRC = $(LIBSRC)/dmx
 
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
 
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
 
DPSLIBSRC = $(LIBSRC)/dps
 
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
 
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
 
DPSTKLIBSRC = $(LIBSRC)/dpstk
 
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
 
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
 
PSRESLIBSRC = $(LIBSRC)/psres
 
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
 
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
 
GLULIBSRC = $(LIBSRC)/GLU
 
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
 
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
 
GLXLIBSRC = $(LIBSRC)/GL
 
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
 
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
 
GLWIDGETSRC = $(LIBSRC)/GLw
 
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
 
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
 
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
 
XRENDERINCLUDES = -I$(XRENDERINCDIR)
 
XRANDRLIBSRC = $(LIBSRC)/Xrandr
 
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
 
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
 
XFIXESLIBSRC = $(LIBSRC)/Xfixes
 
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
 
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
 
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
 
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
 
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
 
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
 
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
 
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
 
XEVIELIBSRC = $(LIBSRC)/Xevie
 
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
 
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
 
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
 
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
 
APPLEWMLIBSRC = $(LIBSRC)/apple
 
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
 
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
 
WINDOWSWMLIBSRC = $(LIBSRC)/windows
 
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
 
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
 
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
 
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
 
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
 
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
 
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
 
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
 
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
 
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
 
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
 
XMUSRC = $(LIBSRC)/Xmu
 
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
 
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
 
XMUUSRC = $(LIBSRC)/Xmuu
 
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
 
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
 
OLDXLIBSRC = $(LIBSRC)/oldX
 
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
 
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
 
XPLIBSRC = $(LIBSRC)/Xp
 
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
 
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
 
TOOLKITSRC = $(LIBSRC)/Xt
 
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
 
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
 
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
 
XALIBSRC = $(LIBSRC)/Xa
 
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
 
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
 
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
 
# $XConsortium: sunLib.tmpl,v 1.14.1.2 92/11/11 09:55:02 rws Exp $
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
 
SHLIBLDFLAGS = -assert pure-text
PICFLAGS = -pic
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
AWIDGET7SRC = $(LIBSRC)/Xaw7
 
DEPXLIB = $(DEPEXTENSIONLIB)
XLIB = $(EXTENSIONLIB) -lX11
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
 
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIBONLY = -lXmu
XMULIB = -lXmu
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPOLDXLIB =
OLDXLIB = -loldX
AWIDGET6SRC = $(LIBSRC)/Xaw6
 
DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLLIB = -lXt
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
 
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPXILIB =
XILIB = -lXi
XILIBSRC = $(LIBSRC)/Xi
 
DEPPEXLIB =
PEXLIB = -lPEX5
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
 
SOXLIBREV = 4.10
SOXTREV = 4.10
SOXAWREV = 5.0
SOOLDXREV = 4.10
SOXMUREV = 4.10
SOXEXTREV = 4.10
SOXINPUTREV = 4.10
SOPEXREV = 1.0
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
 
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
XTESTLIBSRC = $(LIBSRC)/Xtst
 
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
 
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
 
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
 
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
 
ICESRC = $(LIBSRC)/ICE
 
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
 
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
 
SMSRC = $(LIBSRC)/SM
 
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
 
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
 
XKEYSRC = $(LIBSRC)/Xkey
 
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
 
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
 
FSLIBSRC = $(LIBSRC)/FS
 
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
 
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
 
FONTLIBSRC = $(LIBSRC)/font
 
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
 
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
 
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
 
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
 
FONTENCLIBSRC = $(LIBSRC)/fontenc
 
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
 
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
 
XPMLIBSRC = $(LIBSRC)/Xpm
 
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
 
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
 
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
 
FREETYPE2LIB = -lfreetype
 
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
 
FREETYPE2DEFINES = -DFREETYPE2
 
EXPATLIBSRC = $(LIBSRC)/expat
 
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
 
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
 
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
 
EXPATINCLUDES =
 
EXPATLIB = -lexpat
 
EXPATDEFINES = -DEXPAT
 
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
 
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
 
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
 
FONTCONFIGLIB = -lfontconfig
 
FONTCONFIGINCLUDES =
 
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
 
FONTCONFIGDEFINES = -DFONTCONFIG
 
LIBPNGINCDIR = /usr/include
 
LIBPNGINC=
 
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
 
LIBPNGLIB = -lpng
 
XKBFILELIBSRC = $(LIBSRC)/xkbfile
 
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
 
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
 
XKBCOMPCMD = $(XBINDIR)/xkbcomp
 
XKBUILIBSRC = $(LIBSRC)/xkbui
 
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
 
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
 
EXTRAXAWREQS =
 
EXTRAXAWCLIENTDEPLIBS =
 
EXTRAXAWCLIENTLIBS =
 
XTRAPLIBSRC = $(LIBSRC)/XTrap
 
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
 
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
 
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
 
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
 
# -------------------------------------------------------------------------
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
 
CONFIGDIR = $(LIBDIR)/config
 
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
 
CXXPROJECT_DEFINES =
 
# ----------------------------------------------------------------------
# start of Imakefile
 
# $XConsortium: Library.tmpl,v 1.12 92/03/20 15:05:19 rws Exp $
# $Xorg: Library.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
 
CC = gcc -fstrength-reduce -fpcc-struct-return
# $XFree86: xc/config/cf/Library.tmpl,v 3.23tsi Exp $
 
CC = gcc -m32
 
CCOPTIONS =
STD_DEFINES =
CDEBUGFLAGS = -O
STD_DEFINES = -Dlinux -D__i386__ -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)
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CLIBDEBUGFLAGS = -g
CFLAGS = $(CDEBUGFLAGS) $(CLIBDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
 
SOSYMLINK = true
 
EXTENSIONSRC =
 
SRCS_LIBSTG = libstg.c
@@ -294,22 +1068,43 @@
 
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
 
all:: libStyle.a
 
libStyle.a: $(OBJS_LIBSTG)
libStyle.a: $(OBJS_LIBSTG) $(EXTRALIBRARYDEPS)
$(RM) $@
$(AR) $@ $(OBJS_LIBSTG)
$(RANLIB) $@
$(_NULLCMD_)
 
# -------------------------------------------------------------------------
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
 
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
 
.SUFFIXES: .ii
 
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
 
.SUFFIXES: .s
 
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
 
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
 
emptyrule::
 
clean::
$(RM_CMD) "#"*
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
 
Makefile::
-@if [ -f Makefile ]; then set -x; \
@@ -321,13 +1116,17 @@
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
 
saber:
# load $(ALLDEFINES) $(SRCS)
man_keywords::
 
osaber:
# load $(ALLDEFINES) $(OBJS)
html_index::
 
# -------------------------------------------------------------------------
clean:: cleandir
 
distclean:: cleandir
 
PREPROCESSMANPAGES = true
 
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
 
install::
@@ -336,10 +1135,18 @@
install.man::
@echo "install.man in $(CURRENT_DIR) done"
 
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
 
Makefiles::
 
includes::
 
# -------------------------------------------------------------------------
depend::
 
distclean::
$(RM) Makefile Makefile.dep
 
# ----------------------------------------------------------------------
# dependencies generated by makedepend
 
/viola/src/viola/Makefile
@@ -1,278 +1,1045 @@
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
 
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.JTxdbS>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: util/cf/Imake.tmpl,v 1.17 2006/04/15 15:55:25 herrb Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
 
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.a15822>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
 
# -------------------------------------------------------------------------
all::
 
.SUFFIXES: .i
 
# $XdotOrg: util/cf/Imake.cf,v 1.12 2005/11/08 06:33:24 jkj Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
 
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 
# Keep cpp from replacing path elements containing i486/i586/i686
 
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
 
# operating system: SunOS 4.1.3
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
 
# $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
# $XdotOrg: util/cf/linux.cf,v 1.31 2005/10/21 19:10:27 ajax Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
 
.c.o:
$(CC) -c $(CFLAGS) $*.c
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
 
# -------------------------------------------------------------------------
# operating system: Linux 2.6.31-14-generic i686 [ELF] (2.6.31)
# libc: (6.10.1)
# binutils: (220)
 
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
 
# $XdotOrg: util/cf/xorg.cf,v 1.53 2005/10/03 16:08:44 alanc Exp $
 
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
 
XORG_VERSION_CURRENT = (((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
 
AFB_DEFS = -DUSE_AFB
 
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
 
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
 
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
 
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
 
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
 
SELINUX_LDFLAGS =
 
SELINUX_INCLUDES = -I/usr/include/selinux
 
SELINUX_CFLAGS = -DHAVE_SELINUX
 
SELINUX_LIBS = -lselinux
 
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
SHELL = /bin/sh
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: util/cf/Imake.rules,v 1.11 2005/11/08 06:33:24 jkj Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
 
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
 
_NULLCMD_ = @ echo -n
 
X_BYTE_ORDER = X_LITTLE_ENDIAN
 
GLIDE2INCDIR = /usr/include/glide
 
GLIDE3INCDIR = /usr/include/glide3
 
GLIDE3LIBNAME = glide3
 
TKLIBNAME = tk8.4
 
TKLIBDIR = /usr/lib
 
TCLLIBNAME = tcl8.4
 
TCLIBDIR = /usr/lib
 
PATHSEP = /
SHELL = /bin/sh -e
 
TOP = .
CURRENT_DIR = .
 
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
 
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
 
VARRUNDIR = $(VARDIR)/run
 
VARDBDIR = $(VARDIR)/lib
 
AR = ar clq
 
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
AS = as
 
CC = gcc -m32
AS = gcc -m32 -c -x assembler
 
.SUFFIXES: .cc
 
CXX = c++ -m32
 
CXXFILT = c++filt
 
CXXLIB = -lstdc++
 
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__i386__ -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)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
 
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
GZIPCMD = gzip
 
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
 
INSTALL = install
LD = ld
INSTALLFLAGS = -c
 
LD = gcc -m32 -nostdlib
 
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
 
LINT = lint
 
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
MV = mv -f
CP = cp
 
RANLIB = ranlib
 
RANLIBINSTFLAGS =
 
RM = rm -f
TROFF = psroff
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
 
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
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)
 
COMPRESSMANCMD = gzip -n
 
TROFF = groff -Tps
NROFF = nroff
 
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
 
MODCC = gcc -m32
 
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -m32 -c -x assembler
MODASFLAGS =
 
MODLD = gcc -m32 -nostdlib
 
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
 
MODRANLIB = ranlib
 
DVIPS = dvips
LATEX = latex
 
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -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)
STD_DEFINES = -Dlinux -D__i386__ -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)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
 
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
PARALLELMFLAGS =
 
PROTO_DEFINES =
SHAREDCODEDEF =
SHLIBDEF =
 
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
 
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
 
PICFLAGS = -fPIC
 
CXXPICFLAGS = -fPIC
 
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
 
INSTPGMFLAGS =
 
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g kmem -m 2755
INSTKMEMFLAGS = -m 4711
 
CDEBUGFLAGS = -O
PROJECTROOT = /usr
 
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
 
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
 
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
 
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
CCLINK = $(CC)
 
LDCOMBINEFLAGS = -X -r
CXXLINK = $(CXX)
 
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
 
MACROFILE = sun.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
 
MACROFILE = linux.cf
RM_CMD = $(RM)
 
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
 
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
 
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
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)
 
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
 
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
 
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: util/cf/X11.tmpl,v 1.54 2006/04/15 15:55:25 herrb Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
 
XORGRELSTRING = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
 
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
 
FCHOWN_DEFINES = -DHAS_FCHOWN
 
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
 
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
 
FONTDIR = $(LIBDIR)/fonts
INSTSRCDIR = /usr/src
 
ETCX11DIR = /etc/X11
 
CONFDIR = $(ETCX11DIR)
 
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = /usr/share/fonts/X11
ENCODINGSDIR = /usr/share/fonts/X11/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
 
INSTAPPFLAGS = $(INSTDATFLAGS)
 
IMAKE = imake
DEPEND = makedepend
RGB = rgb
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
 
FONTC = bdftopcf
HTMLINDEXCMD = HtmlIndexCmd
 
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
 
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
 
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
 
VENDORWEBSUPPORT = http://wiki.X.Org
 
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
 
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
 
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
 
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
 
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
 
XLIBSRC = $(LIBSRC)/X11
 
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
 
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
 
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
 
XEXTLIBSRC = $(LIBSRC)/Xext
 
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
 
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
 
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
 
XSSLIBSRC = $(LIBSRC)/Xss
 
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
 
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
 
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
 
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
 
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
 
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
 
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
 
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
 
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
 
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
 
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
 
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
 
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
 
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
 
XVLIBSRC = $(LIBSRC)/Xv
 
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
 
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
 
XVMCLIBSRC = $(LIBSRC)/XvMC
 
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
 
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
 
XINERAMALIBSRC = $(LIBSRC)/Xinerama
 
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
 
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
 
XRESLIBSRC = $(LIBSRC)/XRes
 
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
 
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
 
DMXLIBSRC = $(LIBSRC)/dmx
 
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
 
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
 
DPSLIBSRC = $(LIBSRC)/dps
 
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
 
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
 
DPSTKLIBSRC = $(LIBSRC)/dpstk
 
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
 
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
 
PSRESLIBSRC = $(LIBSRC)/psres
 
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
 
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
 
GLULIBSRC = $(LIBSRC)/GLU
 
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
 
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
 
GLXLIBSRC = $(LIBSRC)/GL
 
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
 
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
 
GLWIDGETSRC = $(LIBSRC)/GLw
 
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
 
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
 
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
 
XRENDERINCLUDES = -I$(XRENDERINCDIR)
 
XRANDRLIBSRC = $(LIBSRC)/Xrandr
 
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
 
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
 
XFIXESLIBSRC = $(LIBSRC)/Xfixes
 
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
 
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
 
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
 
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
 
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
 
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
 
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
 
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
 
XEVIELIBSRC = $(LIBSRC)/Xevie
 
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
 
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
 
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
 
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
 
APPLEWMLIBSRC = $(LIBSRC)/apple
 
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
 
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
 
WINDOWSWMLIBSRC = $(LIBSRC)/windows
 
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
 
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
 
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
 
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
 
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
 
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
 
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
 
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
 
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
 
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
 
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
 
XMUSRC = $(LIBSRC)/Xmu
 
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
 
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
 
XMUUSRC = $(LIBSRC)/Xmuu
 
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
 
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
 
OLDXLIBSRC = $(LIBSRC)/oldX
 
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
 
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
 
XPLIBSRC = $(LIBSRC)/Xp
 
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
 
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
 
TOOLKITSRC = $(LIBSRC)/Xt
 
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
 
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
 
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
 
XALIBSRC = $(LIBSRC)/Xa
 
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
 
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
 
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
 
# $XConsortium: sunLib.tmpl,v 1.14.1.2 92/11/11 09:55:02 rws Exp $
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
 
SHLIBLDFLAGS = -assert pure-text
PICFLAGS = -pic
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
AWIDGET7SRC = $(LIBSRC)/Xaw7
 
DEPXLIB = $(DEPEXTENSIONLIB)
XLIB = $(EXTENSIONLIB) -lX11
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
 
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIBONLY = -lXmu
XMULIB = -lXmu
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPOLDXLIB =
OLDXLIB = -loldX
AWIDGET6SRC = $(LIBSRC)/Xaw6
 
DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLLIB = -lXt
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
 
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPXILIB =
XILIB = -lXi
XILIBSRC = $(LIBSRC)/Xi
 
DEPPEXLIB =
PEXLIB = -lPEX5
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
 
SOXLIBREV = 4.10
SOXTREV = 4.10
SOXAWREV = 5.0
SOOLDXREV = 4.10
SOXMUREV = 4.10
SOXEXTREV = 4.10
SOXINPUTREV = 4.10
SOPEXREV = 1.0
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
 
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
XTESTLIBSRC = $(LIBSRC)/Xtst
 
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
 
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
 
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
 
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
 
ICESRC = $(LIBSRC)/ICE
 
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
 
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
 
SMSRC = $(LIBSRC)/SM
 
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
 
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
 
XKEYSRC = $(LIBSRC)/Xkey
 
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
 
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
 
FSLIBSRC = $(LIBSRC)/FS
 
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
 
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
 
FONTLIBSRC = $(LIBSRC)/font
 
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
 
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
 
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
 
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
 
FONTENCLIBSRC = $(LIBSRC)/fontenc
 
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
 
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
 
XPMLIBSRC = $(LIBSRC)/Xpm
 
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
 
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
 
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
 
FREETYPE2LIB = -lfreetype
 
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
 
FREETYPE2DEFINES = -DFREETYPE2
 
EXPATLIBSRC = $(LIBSRC)/expat
 
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
 
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
 
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
 
EXPATINCLUDES =
 
EXPATLIB = -lexpat
 
EXPATDEFINES = -DEXPAT
 
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
 
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
 
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
 
FONTCONFIGLIB = -lfontconfig
 
FONTCONFIGINCLUDES =
 
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
 
FONTCONFIGDEFINES = -DFONTCONFIG
 
LIBPNGINCDIR = /usr/include
 
LIBPNGINC=
 
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
 
LIBPNGLIB = -lpng
 
XKBFILELIBSRC = $(LIBSRC)/xkbfile
 
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
 
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
 
XKBCOMPCMD = $(XBINDIR)/xkbcomp
 
XKBUILIBSRC = $(LIBSRC)/xkbui
 
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
 
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
 
EXTRAXAWREQS =
 
EXTRAXAWCLIENTDEPLIBS =
 
EXTRAXAWCLIENTLIBS =
 
XTRAPLIBSRC = $(LIBSRC)/XTrap
 
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
 
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
 
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
 
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
 
# -------------------------------------------------------------------------
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
 
CONFIGDIR = $(LIBDIR)/config
 
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
 
CXXPROJECT_DEFINES =
 
# ----------------------------------------------------------------------
# start of Imakefile
 
CC = cc
@@ -283,194 +1050,29 @@
 
INSTALL = /usr/ucb/install
 
#TOP =
#LDCOMBINEFLAGS =
#EXTENSIONSRC =
# TOP =
# LDCOMBINEFLAGS =
# EXTENSIONSRC =
 
CDEBUGFLAGS = -g
WWW_BIN = ../libWWW/Library/rs6000
# LEX = flex
 
#CCOPTIONS = -Bstatic
#CCOPTIONS = -Wall
 
WWW_BIN = ../libWWW/Library/sun4
 
#WWW_BIN = ../libWWW/Library/Implementation
#LEX = flex
 
XPM_BIN = ../libXPM
 
XPA_BIN = ../libXPA/src
 
#GIF_BIN = ../libGIF
# GIF_BIN = ../libGIF
GIF_BIN = ../libIMG
 
STG_BIN = ../libStyle
 
SRCS = $(SRCS_VIOLA)
 
SRCS_VIOLA = DefaultStyles.c \
ast.c \
attr.c \
biop.c \
cexec.c \
cgen.c \
cl_glass.c \
cl_AC_SGML_txt.c \
cl_BCard.c \
cl_FCard.c \
cl_GIF.c \
cl_HTML.c \
cl_PS.c \
cl_TTY.c \
cl_XBM.c \
cl_XBMBG.c \
cl_XBMButton.c \
cl_XPM.c \
cl_XPMBG.c \
cl_XPMButton.c \
cl_client.c \
cl_cosmic.c \
cl_dial.c \
cl_field.c \
cl_generic.c \
cl_hpane.c \
cl_menu.c \
cl_pane.c \
cl_project.c \
cl_radio.c \
cl_rubber.c \
cl_slider.c \
cl_socket.c \
cl_stack.c \
cl_toggle.c \
cl_tray.c \
cl_txt.c \
cl_txtButton.c \
cl_txtDisp.c \
cl_txtEdit.c \
cl_txtEditLine.c \
cl_txtLabel.c \
cl_vpane.c \
class.c \
classlist.c \
error.c \
event.c \
event_x.c \
file.c \
glib.c \
glib_x.c \
gram.c \
hash.c \
membership.c \
html.c \
html2.c \
fosi.c \
sgml.c \
stgcall.c \
ident.c \
loader.c \
main.c \
method.c \
misc.c \
mystrings.c \
obj.c \
packet.c \
scan.l \
violalex.c \
slib.c \
sys.c \
tfed.c \
tfed2.c \
vlist.c \
HTML_share.c \
htmath.c \
viola.c \
msgHandler.c \
objs.c \
HTML_style.c
SRCS_VIOLA = DefaultStyles.c ast.c attr.c biop.c cexec.c cgen.c cl_glass.c cl_AC_SGML_txt.c cl_BCard.c cl_FCard.c cl_GIF.c cl_HTML.c cl_PS.c cl_TTY.c cl_XBM.c cl_XBMBG.c cl_XBMButton.c cl_XPM.c cl_XPMBG.c cl_XPMButton.c cl_client.c cl_cosmic.c cl_dial.c cl_field.c cl_generic.c cl_hpane.c cl_menu.c cl_pane.c cl_project.c cl_radio.c cl_rubber.c cl_slider.c cl_socket.c cl_stack.c cl_toggle.c cl_tray.c cl_txt.c cl_txtButton.c cl_txtDisp.c cl_txtEdit.c cl_txtEditLine.c cl_txtLabel.c cl_vpane.c class.c classlist.c error.c event.c event_x.c file.c glib.c glib_x.c gram.c hash.c membership.c html.c html2.c fosi.c sgml.c stgcall.c ident.c loader.c main.c method.c misc.c mystrings.c obj.c packet.c scan.l violalex.c slib.c sys.c tfed.c tfed2.c vlist.c HTML_share.c htmath.c viola.c msgHandler.c objs.c HTML_style.c
 
OBJS = $(OBJS_VIOLA) $(OBJS_WWW) $(OBJS_XPM) $(OBJS_XPA) \
$(OBJS_GIF) $(OBJS_STG)
OBJS = $(OBJS_VIOLA) $(OBJS_WWW) $(OBJS_XPM) $(OBJS_XPA) $(OBJS_GIF) $(OBJS_STG)
 
OBJS_VIOLA = DefaultStyles.o \
ast.o \
attr.o \
biop.o \
cexec.o \
cgen.o \
cl_PS.o \
cl_AC_SGML_txt.o \
cl_BCard.o \
cl_FCard.o \
cl_GIF.o \
cl_HTML.o \
cl_TTY.o \
cl_XBM.o \
cl_XBMBG.o \
cl_XBMButton.o \
cl_XPM.o \
cl_XPMBG.o \
cl_XPMButton.o \
cl_client.o \
cl_cosmic.o \
cl_dial.o \
cl_field.o \
cl_generic.o \
cl_glass.o \
cl_hpane.o \
cl_menu.o \
cl_pane.o \
cl_project.o \
cl_radio.o \
cl_rubber.o \
cl_slider.o \
cl_socket.o \
cl_stack.o \
cl_toggle.o \
cl_tray.o \
cl_txt.o \
cl_txtButton.o \
cl_txtDisp.o \
cl_txtEdit.o \
cl_txtEditLine.o \
cl_txtLabel.o \
cl_vpane.o \
class.o \
classlist.o \
error.o \
event.o \
event_x.o \
file.o \
glib.o \
glib_x.o \
gram.o \
hash.o \
membership.o \
html.o \
html2.o \
fosi.o \
sgml.o \
stgcall.o \
ident.o \
loader.o \
main.o \
method.o \
misc.o \
mystrings.o \
obj.o \
packet.o \
violalex.o \
slib.o \
sys.o \
tfed.o \
tfed2.o \
vlist.o \
HTML_share.o \
htmath.o \
viola.o \
msgHandler.o \
objs.o \
HTML_style.o
OBJS_VIOLA = DefaultStyles.o ast.o attr.o biop.o cexec.o cgen.o cl_PS.o cl_AC_SGML_txt.o cl_BCard.o cl_FCard.o cl_GIF.o cl_HTML.o cl_TTY.o cl_XBM.o cl_XBMBG.o cl_XBMButton.o cl_XPM.o cl_XPMBG.o cl_XPMButton.o cl_client.o cl_cosmic.o cl_dial.o cl_field.o cl_generic.o cl_glass.o cl_hpane.o cl_menu.o cl_pane.o cl_project.o cl_radio.o cl_rubber.o cl_slider.o cl_socket.o cl_stack.o cl_toggle.o cl_tray.o cl_txt.o cl_txtButton.o cl_txtDisp.o cl_txtEdit.o cl_txtEditLine.o cl_txtLabel.o cl_vpane.o class.o classlist.o error.o event.o event_x.o file.o glib.o glib_x.o gram.o hash.o membership.o html.o html2.o fosi.o sgml.o stgcall.o ident.o loader.o main.o method.o misc.o mystrings.o obj.o packet.o violalex.o slib.o sys.o tfed.o tfed2.o vlist.o HTML_share.o htmath.o viola.o msgHandler.o objs.o HTML_style.o
 
OBJS_WWW = $(WWW_BIN)/libwww.a
 
@@ -478,53 +1080,94 @@
 
OBJS_XPA = $(XPA_BIN)/libXpa.a
 
#OBJS_GIF = $(GIF_BIN)/xgifload.o
# OBJS_GIF = $(GIF_BIN)/xgifload.o
OBJS_GIF = $(GIF_BIN)/libIMG.a
 
OBJS_STG = $(STG_BIN)/libstg.o
 
PROGRAM = viola
PROGRAM = viola
 
all:: viola
 
viola: $(OBJS) $(DEPLIBS)
$(RM) $@
$(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
 
saber_viola:: $(SRCS)
# load $(ALLDEFINES) $(SRCS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
install:: viola
@if [ -d $(DESTDIR)$(BINDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(BINDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(BINDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) viola $(DESTDIR)$(BINDIR)/viola
 
osaber_viola:: $(OBJS)
# load $(ALLDEFINES) $(OBJS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
all:: viola.$(MANNEWSUFFIX)
 
install:: viola
@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
$(INSTALL) -c $(INSTPGMFLAGS) viola $(DESTDIR)$(BINDIR)
viola.$(MANNEWSUFFIX): viola.$(MANSRCSUFFIX)
$(RM) $@
if test -z "$(PREPROCESSMANPAGES)" ; then \
cd `dirname viola` && \
$(LN) `basename viola.$(MANSRCSUFFIX)` `basename $@`; \
else \
$(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) \
< viola.$(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/\@\@$$/\\/' >$@; \
fi
 
install.man:: viola.man
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
$(INSTALL) -c $(INSTMANFLAGS) viola.man $(DESTDIR)$(MANDIR)/viola.$(MANSUFFIX)
cleandir::
$(RM) viola.$(MANNEWSUFFIX)
 
install.man:: viola.$(MANNEWSUFFIX)
@if [ -d $(DESTDIR)$(MANDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(MANDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(MANDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) viola.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/viola.$(MANSUFFIX)
 
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
$(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
 
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
 
clean::
$(RM) $(PROGRAM)
cleandir::
$(RM) viola
 
# -------------------------------------------------------------------------
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
 
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
 
.SUFFIXES: .ii
 
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
 
.SUFFIXES: .s
 
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
 
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
 
emptyrule::
 
clean::
$(RM_CMD) "#"*
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
 
Makefile::
-@if [ -f Makefile ]; then set -x; \
@@ -536,13 +1179,17 @@
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
 
saber:
# load $(ALLDEFINES) $(SRCS)
man_keywords::
 
osaber:
# load $(ALLDEFINES) $(OBJS)
html_index::
 
# -------------------------------------------------------------------------
clean:: cleandir
 
distclean:: cleandir
 
PREPROCESSMANPAGES = true
 
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
 
install::
@@ -551,10 +1198,18 @@
install.man::
@echo "install.man in $(CURRENT_DIR) done"
 
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
 
Makefiles::
 
includes::
 
# -------------------------------------------------------------------------
depend::
 
distclean::
$(RM) Makefile Makefile.dep
 
# ----------------------------------------------------------------------
# dependencies generated by makedepend
 
/viola/src/viola/event_x.c
@@ -47,6 +47,15 @@
#include <sys/select.h>
#endif
 
#ifndef SIGEMT
#define NO_SIGEMT
#define SIGEMT SIGUNUSED
#endif
#ifndef SIGSYS
#define NO_SIGSYS
#define SIGSYS SIGUNUSED
#endif
 
static int signal_fatal[] = {
SIGBUS, SIGFPE, SIGEMT, SIGILL, SIGSEGV, SIGSYS, 0
};
@@ -191,10 +200,14 @@
/* fatal signals */
case SIGBUS:
case SIGFPE:
#ifndef NO_SIGEMT
case SIGEMT:
#endif
case SIGILL:
case SIGSEGV:
#ifndef NO_SIGSYS
case SIGSYS:
#endif
fprintf(stderr,
"signalHandler: caught fatal signal %d. Exiting.\n",
sig);
/viola/src/viola/cexec.c
@@ -2076,7 +2076,7 @@
listRefArrayIdx = 0;
 
#ifdef SCRIPT_FROM_FILENOT
tmpfile = saveString("/usr/tmp/violaXXXXXX");
tmpfile = saveString("/var/tmp/violaXXXXXX");
mktemp(tmpfile);
fp = fopen(tmpfile, "w");
fputs(yyscript, fp);
@@ -2194,7 +2194,7 @@
listRefArrayIdx = 0;
 
#ifdef SCRIPT_FROM_FILENOT
tmpfile = saveString("/usr/tmp/violaXXXXXX");
tmpfile = saveString("/var/tmp/violaXXXXXX");
mktemp(tmpfile);
fp = fopen(tmpfile, "w");
fputs(yyscript, fp);
@@ -2301,7 +2301,7 @@
listRefArrayIdx = 0;
 
#ifdef SCRIPT_FROM_FILENOT
tmpfile = saveString("/usr/tmp/violaXXXXXX");
tmpfile = saveString("/var/tmp/violaXXXXXX");
mktemp(tmpfile);
fp = fopen(tmpfile, "w");
fputs(yyscript, fp);
/viola/src/viola/glib_x.c
@@ -1581,7 +1581,7 @@
#else
/* peter@hpkslx.mayfield.HP.COM */
if (!tmpfile) {
tmpfile = saveString("/usr/tmp/violaXXXXXX");
tmpfile = saveString("/var/tmp/violaXXXXXX");
mktemp(tmpfile);
}
if (saveFile(tmpfile, bitmapStr) !=0) {
@@ -1611,7 +1611,7 @@
/* should be able to avoid this kludge soon, when
* XPM functions take as data string or file pointer...
*/
tmpFile = saveString("/usr/tmp/violaXXXXXX");
tmpFile = saveString("/var/tmp/violaXXXXXX");
mktemp(tmpFile);
}
if (saveFile(tmpFile, bitmapStr) != 0) {
/viola/src/viola/cl_cosmic.c
@@ -596,7 +596,7 @@
Packet argv[];
{
char *cp;
extern int fprintf();
// extern int fprintf();
 
clearPacket(result);
if (argc == 0) {
/viola/src/viola/mystrings.c
@@ -393,6 +393,7 @@
int i;
char c, *cp, *cp2;
 
if (!str) return str;
if (!str[0]) return str;
 
for (cp = str; c = *cp; cp++) {
/viola/src/viola/html.c
@@ -481,13 +481,13 @@
*/
PRIVATE void new_line ARGS1(HText *,text)
{
PRIVATE void split_line();
// PRIVATE void split_line();
split_line(text, text->tbuffi);
return;
}
 
#define VERBOSE_SPLIT_LINE___
PRIVATE void split_line ARGS2(HText *,text, int,split)
//#define VERBOSE_SPLIT_LINE___
/*PRIVATE*/ void split_line ARGS2(HText *,text, int,split)
{
HTStyle *style = text->style;
HTStyle *nextstyle = text->next_style;
@@ -1023,7 +1023,7 @@
#endif
}
 
PUBLIC void HText_appendText ARGS2(HText *,text, char *,str)
PUBLIC void HText_appendText ARGS2(HText *,text, const char *,str)
{
char *p;
for (p = str; *p; p++) HText_appendCharacter(text, *p);
@@ -1156,7 +1156,7 @@
*/
PUBLIC void HText_replaceSel ARGS3(
HText *,me,
char *,aString,
CONST char *,aString,
HTStyle *,aStyle)
{
printf("HText_replaceSel.\n");
/viola/src/viola/viola.c
@@ -494,11 +494,11 @@
*/
#include <errno.h>
#include <pwd.h>
 
/*
extern int errno;
extern char *sys_errlist[];
extern int sys_nerr;
 
*/
initUserWWW ( www )
char *www;
{
/viola/src/viola/violalex.c
@@ -478,7 +478,7 @@
}
}
 
static int refresh_buf() {
/*static*/ int refresh_buf() {
switch(lexsource) {
case FROMFILE:
getc_buf[0] = *(getc_ptr - 1);
@@ -662,7 +662,7 @@
extern void *is_inlib(char *s);
#endif /* ANSI */
 
static int grabtag(c)
/*static*/ int grabtag(c)
char c;
{
char buf[BUFSIZ];
@@ -800,7 +800,7 @@
return yylex();
}
 
static int grabop(c)
/*static*/ int grabop(c)
char c;
{
int i;
@@ -829,7 +829,7 @@
}
 
#define MAXNLEN 38
static int grabint(c)
/*static*/ int grabint(c)
char c;
{
char intbuf[MAXNLEN + 2];
@@ -863,7 +863,7 @@
return INTCONST;
}
 
static int iskeyword(name)
/*static*/ int iskeyword(name)
char *name;
{
int index = 0;
/viola/src/libWWW/Library/Implementation/HTFile.c
@@ -753,7 +753,7 @@
if (dirbuf->d_ino == 0) continue;
/* if the entry is not being used, skip it */
if (dirbuf->d_namlen > baselen && /* Match? */
if (dirbuf->d_reclen > baselen && /* Match? */
!strncmp(dirbuf->d_name, base, baselen)) {
HTFormat rep = HTFileFormat(dirbuf->d_name, &encoding);
float value = HTStackValue(rep, format_out,
/viola/src/libWWW/Library/Implementation/HTFWriter.c
@@ -365,7 +365,8 @@
 
free(answer);
#else
me->fp = sink->fp; /* kludge kludge */
if(sink)
me->fp = sink->fp; /* kludge kludge */
#endif
 
return me;
/viola/src/libWWW/Library/Implementation/HTTCP.c
@@ -53,6 +53,8 @@
#endif /* errno */
#endif /* VMS */
 
#define THINK_C
 
#ifndef VM
#ifndef VMS
#ifndef NeXT
/viola/src/libXPM/Makefile
@@ -1,278 +1,1045 @@
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
 
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.4Tj2Oq>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: util/cf/Imake.tmpl,v 1.17 2006/04/15 15:55:25 herrb Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
 
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.a15789>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
 
# -------------------------------------------------------------------------
all::
 
.SUFFIXES: .i
 
# $XdotOrg: util/cf/Imake.cf,v 1.12 2005/11/08 06:33:24 jkj Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
 
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 
# Keep cpp from replacing path elements containing i486/i586/i686
 
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
 
# operating system: SunOS 4.1.3
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
 
# $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
# $XdotOrg: util/cf/linux.cf,v 1.31 2005/10/21 19:10:27 ajax Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
 
.c.o:
$(CC) -c $(CFLAGS) $*.c
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
 
# -------------------------------------------------------------------------
# operating system: Linux 2.6.31-14-generic i686 [ELF] (2.6.31)
# libc: (6.10.1)
# binutils: (220)
 
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
 
# $XdotOrg: util/cf/xorg.cf,v 1.53 2005/10/03 16:08:44 alanc Exp $
 
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
 
XORG_VERSION_CURRENT = (((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
 
AFB_DEFS = -DUSE_AFB
 
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
 
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
 
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
 
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
 
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
 
SELINUX_LDFLAGS =
 
SELINUX_INCLUDES = -I/usr/include/selinux
 
SELINUX_CFLAGS = -DHAVE_SELINUX
 
SELINUX_LIBS = -lselinux
 
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
SHELL = /bin/sh
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: util/cf/Imake.rules,v 1.11 2005/11/08 06:33:24 jkj Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
 
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
 
_NULLCMD_ = @ echo -n
 
X_BYTE_ORDER = X_LITTLE_ENDIAN
 
GLIDE2INCDIR = /usr/include/glide
 
GLIDE3INCDIR = /usr/include/glide3
 
GLIDE3LIBNAME = glide3
 
TKLIBNAME = tk8.4
 
TKLIBDIR = /usr/lib
 
TCLLIBNAME = tcl8.4
 
TCLIBDIR = /usr/lib
 
PATHSEP = /
SHELL = /bin/sh -e
 
TOP = .
CURRENT_DIR = .
 
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
 
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
 
VARRUNDIR = $(VARDIR)/run
 
VARDBDIR = $(VARDIR)/lib
 
AR = ar clq
 
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
AS = as
 
CC = gcc -m32
AS = gcc -m32 -c -x assembler
 
.SUFFIXES: .cc
 
CXX = c++ -m32
 
CXXFILT = c++filt
 
CXXLIB = -lstdc++
 
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__i386__ -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)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
 
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
GZIPCMD = gzip
 
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
 
INSTALL = install
LD = ld
INSTALLFLAGS = -c
 
LD = gcc -m32 -nostdlib
 
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
 
LINT = lint
 
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
MV = mv -f
CP = cp
 
RANLIB = ranlib
 
RANLIBINSTFLAGS =
 
RM = rm -f
TROFF = psroff
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
 
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
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)
 
COMPRESSMANCMD = gzip -n
 
TROFF = groff -Tps
NROFF = nroff
 
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
 
MODCC = gcc -m32
 
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -m32 -c -x assembler
MODASFLAGS =
 
MODLD = gcc -m32 -nostdlib
 
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
 
MODRANLIB = ranlib
 
DVIPS = dvips
LATEX = latex
 
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -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)
STD_DEFINES = -Dlinux -D__i386__ -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)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
 
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
PARALLELMFLAGS =
 
PROTO_DEFINES =
SHAREDCODEDEF =
SHLIBDEF =
 
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
 
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
 
PICFLAGS = -fPIC
 
CXXPICFLAGS = -fPIC
 
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
 
INSTPGMFLAGS =
 
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g kmem -m 2755
INSTKMEMFLAGS = -m 4711
 
CDEBUGFLAGS = -O
PROJECTROOT = /usr
 
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
 
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
 
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
 
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
CCLINK = $(CC)
 
LDCOMBINEFLAGS = -X -r
CXXLINK = $(CXX)
 
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
 
MACROFILE = sun.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
 
MACROFILE = linux.cf
RM_CMD = $(RM)
 
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
 
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
 
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
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)
 
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
 
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
 
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: util/cf/X11.tmpl,v 1.54 2006/04/15 15:55:25 herrb Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
 
XORGRELSTRING = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
 
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
 
FCHOWN_DEFINES = -DHAS_FCHOWN
 
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
 
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
 
FONTDIR = $(LIBDIR)/fonts
INSTSRCDIR = /usr/src
 
ETCX11DIR = /etc/X11
 
CONFDIR = $(ETCX11DIR)
 
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = /usr/share/fonts/X11
ENCODINGSDIR = /usr/share/fonts/X11/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
 
INSTAPPFLAGS = $(INSTDATFLAGS)
 
IMAKE = imake
DEPEND = makedepend
RGB = rgb
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
 
FONTC = bdftopcf
HTMLINDEXCMD = HtmlIndexCmd
 
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
 
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
 
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
 
VENDORWEBSUPPORT = http://wiki.X.Org
 
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
 
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
 
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
 
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
 
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
 
XLIBSRC = $(LIBSRC)/X11
 
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
 
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
 
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
 
XEXTLIBSRC = $(LIBSRC)/Xext
 
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
 
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
 
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
 
XSSLIBSRC = $(LIBSRC)/Xss
 
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
 
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
 
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
 
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
 
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
 
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
 
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
 
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
 
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
 
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
 
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
 
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
 
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
 
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
 
XVLIBSRC = $(LIBSRC)/Xv
 
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
 
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
 
XVMCLIBSRC = $(LIBSRC)/XvMC
 
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
 
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
 
XINERAMALIBSRC = $(LIBSRC)/Xinerama
 
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
 
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
 
XRESLIBSRC = $(LIBSRC)/XRes
 
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
 
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
 
DMXLIBSRC = $(LIBSRC)/dmx
 
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
 
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
 
DPSLIBSRC = $(LIBSRC)/dps
 
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
 
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
 
DPSTKLIBSRC = $(LIBSRC)/dpstk
 
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
 
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
 
PSRESLIBSRC = $(LIBSRC)/psres
 
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
 
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
 
GLULIBSRC = $(LIBSRC)/GLU
 
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
 
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
 
GLXLIBSRC = $(LIBSRC)/GL
 
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
 
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
 
GLWIDGETSRC = $(LIBSRC)/GLw
 
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
 
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
 
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
 
XRENDERINCLUDES = -I$(XRENDERINCDIR)
 
XRANDRLIBSRC = $(LIBSRC)/Xrandr
 
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
 
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
 
XFIXESLIBSRC = $(LIBSRC)/Xfixes
 
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
 
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
 
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
 
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
 
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
 
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
 
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
 
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
 
XEVIELIBSRC = $(LIBSRC)/Xevie
 
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
 
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
 
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
 
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
 
APPLEWMLIBSRC = $(LIBSRC)/apple
 
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
 
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
 
WINDOWSWMLIBSRC = $(LIBSRC)/windows
 
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
 
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
 
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
 
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
 
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
 
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
 
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
 
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
 
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
 
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
 
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
 
XMUSRC = $(LIBSRC)/Xmu
 
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
 
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
 
XMUUSRC = $(LIBSRC)/Xmuu
 
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
 
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
 
OLDXLIBSRC = $(LIBSRC)/oldX
 
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
 
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
 
XPLIBSRC = $(LIBSRC)/Xp
 
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
 
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
 
TOOLKITSRC = $(LIBSRC)/Xt
 
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
 
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
 
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
 
XALIBSRC = $(LIBSRC)/Xa
 
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
 
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
 
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
 
# $XConsortium: sunLib.tmpl,v 1.14.1.2 92/11/11 09:55:02 rws Exp $
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
 
SHLIBLDFLAGS = -assert pure-text
PICFLAGS = -pic
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
AWIDGET7SRC = $(LIBSRC)/Xaw7
 
DEPXLIB = $(DEPEXTENSIONLIB)
XLIB = $(EXTENSIONLIB) -lX11
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
 
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIBONLY = -lXmu
XMULIB = -lXmu
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPOLDXLIB =
OLDXLIB = -loldX
AWIDGET6SRC = $(LIBSRC)/Xaw6
 
DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLLIB = -lXt
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
 
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPXILIB =
XILIB = -lXi
XILIBSRC = $(LIBSRC)/Xi
 
DEPPEXLIB =
PEXLIB = -lPEX5
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
 
SOXLIBREV = 4.10
SOXTREV = 4.10
SOXAWREV = 5.0
SOOLDXREV = 4.10
SOXMUREV = 4.10
SOXEXTREV = 4.10
SOXINPUTREV = 4.10
SOPEXREV = 1.0
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
 
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
XTESTLIBSRC = $(LIBSRC)/Xtst
 
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
 
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
 
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
 
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
 
ICESRC = $(LIBSRC)/ICE
 
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
 
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
 
SMSRC = $(LIBSRC)/SM
 
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
 
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
 
XKEYSRC = $(LIBSRC)/Xkey
 
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
 
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
 
FSLIBSRC = $(LIBSRC)/FS
 
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
 
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
 
FONTLIBSRC = $(LIBSRC)/font
 
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
 
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
 
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
 
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
 
FONTENCLIBSRC = $(LIBSRC)/fontenc
 
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
 
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
 
XPMLIBSRC = $(LIBSRC)/Xpm
 
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
 
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
 
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
 
FREETYPE2LIB = -lfreetype
 
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
 
FREETYPE2DEFINES = -DFREETYPE2
 
EXPATLIBSRC = $(LIBSRC)/expat
 
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
 
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
 
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
 
EXPATINCLUDES =
 
EXPATLIB = -lexpat
 
EXPATDEFINES = -DEXPAT
 
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
 
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
 
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
 
FONTCONFIGLIB = -lfontconfig
 
FONTCONFIGINCLUDES =
 
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
 
FONTCONFIGDEFINES = -DFONTCONFIG
 
LIBPNGINCDIR = /usr/include
 
LIBPNGINC=
 
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
 
LIBPNGLIB = -lpng
 
XKBFILELIBSRC = $(LIBSRC)/xkbfile
 
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
 
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
 
XKBCOMPCMD = $(XBINDIR)/xkbcomp
 
XKBUILIBSRC = $(LIBSRC)/xkbui
 
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
 
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
 
EXTRAXAWREQS =
 
EXTRAXAWCLIENTDEPLIBS =
 
EXTRAXAWCLIENTLIBS =
 
XTRAPLIBSRC = $(LIBSRC)/XTrap
 
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
 
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
 
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
 
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
 
# -------------------------------------------------------------------------
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
 
CONFIGDIR = $(LIBDIR)/config
 
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
 
CXXPROJECT_DEFINES =
 
# ----------------------------------------------------------------------
# start of Imakefile
 
# Copyright 1990,91 GROUPE BULL -- See licence conditions in file COPYRIGHT
@@ -280,13 +1047,20 @@
# XPM Imakefile - Arnaud LE HORS
#
 
# $XConsortium: Library.tmpl,v 1.12 92/03/20 15:05:19 rws Exp $
# $Xorg: Library.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
 
CC = gcc -fstrength-reduce -fpcc-struct-return
# $XFree86: xc/config/cf/Library.tmpl,v 3.23tsi Exp $
 
CC = gcc -m32
 
CCOPTIONS =
STD_DEFINES =
CDEBUGFLAGS = -O
STD_DEFINES = -Dlinux -D__i386__ -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)
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CLIBDEBUGFLAGS = -g
CFLAGS = $(CDEBUGFLAGS) $(CLIBDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
 
SOSYMLINK = true
 
INCLUDES = -I.
INSTALLFLAGS = $(INSTINCFLAGS)
LINTLIBS = $(LINTXTOLL) $(LINTXLIB)
@@ -296,66 +1070,83 @@
# CDEBUGFLAGS = -g
# CDEBUGFLAGS = -a
 
#CC = gcc
#CC = purify cc
# CC = gcc
# CC = purify cc
CC = cc
 
OS_NAME_DEFINES =
 
## if your system doesn't provide strcasecmp add -DNEED_STRCASECMP
## if your system doesn't provide pipe remove -DZPIPE
# # if your system doesn't provide strcasecmp add -DNEED_STRCASECMP
# # if your system doesn't provide pipe remove -DZPIPE
DEFINES = -DZPIPE
 
HEADERS = xpm.h
SRCS1 = data.c create.c visual.c misc.c rgb.c scan.c parse.c \
XpmWrFFrP.c XpmRdFToP.c XpmCrPFData.c XpmCrDataFP.c \
XpmWrFFrI.c XpmRdFToI.c XpmCrIFData.c XpmCrDataFI.c
SRCS1 = data.c create.c visual.c misc.c rgb.c scan.c parse.c XpmWrFFrP.c XpmRdFToP.c XpmCrPFData.c XpmCrDataFP.c XpmWrFFrI.c XpmRdFToI.c XpmCrIFData.c XpmCrDataFI.c
 
# SRCS = $(SRCS1) sxpm.c
OBJS1 = data.o create.o visual.o misc.o rgb.o scan.o parse.o \
XpmWrFFrP.o XpmRdFToP.o XpmCrPFData.o XpmCrDataFP.o \
XpmWrFFrI.o XpmRdFToI.o XpmCrIFData.o XpmCrDataFI.o
OBJS1 = data.o create.o visual.o misc.o rgb.o scan.o parse.o XpmWrFFrP.o XpmRdFToP.o XpmCrPFData.o XpmCrDataFP.o XpmWrFFrI.o XpmRdFToI.o XpmCrIFData.o XpmCrDataFI.o
 
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
 
all:: libXpm.a
 
libXpm.a: $(OBJS1)
libXpm.a: $(OBJS1) $(EXTRALIBRARYDEPS)
$(RM) $@
$(AR) $@ $(OBJS1)
$(RANLIB) $@
##
$(_NULLCMD_)
# #
lintlib:: llib-lXpm.ln
 
llib-lXpm.ln: $(SRCS1)
llib-lXpm.ln: $(SRCS1) $(EXTRALIBRARYDEPS)
$(RM) $@
$(LINT) $(LINTLIBFLAG)Xpm $(LINTFLAGS) $(SRCS1)
 
install:: libXpm.a
@if [ -d $(DESTDIR)$(USRLIBDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(USRLIBDIR)); fi
$(INSTALL) -c $(INSTLIBFLAGS) libXpm.a $(DESTDIR)$(USRLIBDIR)
@if [ -d $(DESTDIR)$(USRLIBDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(USRLIBDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(USRLIBDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(USRLIBDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) libXpm.a $(DESTDIR)$(USRLIBDIR)
$(RANLIB) $(RANLIBINSTFLAGS) $(DESTDIR)$(USRLIBDIR)/libXpm.a
 
install.ln:: llib-lXpm.ln
@if [ -d $(DESTDIR)$(LINTLIBDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(LINTLIBDIR)); fi
$(INSTALL) -c $(INSTLIBFLAGS) llib-lXpm.ln $(DESTDIR)$(LINTLIBDIR)
@if [ -d $(DESTDIR)$(LINTLIBDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(LINTLIBDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(LINTLIBDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(LINTLIBDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) llib-lXpm.ln $(DESTDIR)$(LINTLIBDIR)/llib-lXpm.ln
 
install:: $(HEADERS)
@if [ -d $(DESTDIR)$(INCDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(INCDIR)); fi
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
@if [ -d $(DESTDIR)$(INCDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(INCDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(INCDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(INCDIR)); \
fi
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[i]*) set +e;; esac; done; \
for i in $(HEADERS); do \
(set -x; $(INSTALL) -c $(INSTALLFLAGS) $$i $(DESTDIR)$(INCDIR)); \
(set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR)$(INCDIR)); \
done
 
##
# #
 
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
##
$(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
# #
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
@@ -364,29 +1155,70 @@
DEPLIBS = libXpm.a $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = libXpm.a $(XTOOLLIB) $(XLIB)
 
##
# #
all:: sxpm
##
# #
sxpm: sxpm.o $(DEPLIBS)
$(RM) $@
$(CC) -o $@ sxpm.o $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
$(CCLINK) -o $@ $(LDOPTIONS) sxpm.o $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
 
clean::
cleandir::
$(RM) sxpm
##
# #
 
install.man:: sxpm.man
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
$(INSTALL) -c $(INSTMANFLAGS) sxpm.man $(DESTDIR)$(MANDIR)/sxpm.$(MANSUFFIX)
all:: sxpm.$(MANNEWSUFFIX)
 
# -------------------------------------------------------------------------
sxpm.$(MANNEWSUFFIX): sxpm.$(MANSRCSUFFIX)
$(RM) $@
if test -z "$(PREPROCESSMANPAGES)" ; then \
cd `dirname sxpm` && \
$(LN) `basename sxpm.$(MANSRCSUFFIX)` `basename $@`; \
else \
$(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) \
< sxpm.$(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/\@\@$$/\\/' >$@; \
fi
 
cleandir::
$(RM) sxpm.$(MANNEWSUFFIX)
 
install.man:: sxpm.$(MANNEWSUFFIX)
@if [ -d $(DESTDIR)$(MANDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(MANDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(MANDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) sxpm.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/sxpm.$(MANSUFFIX)
 
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
 
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
 
.SUFFIXES: .ii
 
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
 
.SUFFIXES: .s
 
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
 
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
 
emptyrule::
 
clean::
$(RM_CMD) "#"*
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
 
Makefile::
-@if [ -f Makefile ]; then set -x; \
@@ -398,13 +1230,17 @@
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
 
saber:
# load $(ALLDEFINES) $(SRCS)
man_keywords::
 
osaber:
# load $(ALLDEFINES) $(OBJS)
html_index::
 
# -------------------------------------------------------------------------
clean:: cleandir
 
distclean:: cleandir
 
PREPROCESSMANPAGES = true
 
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
 
install::
@@ -413,10 +1249,18 @@
install.man::
@echo "install.man in $(CURRENT_DIR) done"
 
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
 
Makefiles::
 
includes::
 
# -------------------------------------------------------------------------
depend::
 
distclean::
$(RM) Makefile Makefile.dep
 
# ----------------------------------------------------------------------
# dependencies generated by makedepend
 
/viola/src/vw/Makefile
@@ -1,278 +1,1045 @@
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
 
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.vYm6Mn>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: util/cf/Imake.tmpl,v 1.17 2006/04/15 15:55:25 herrb Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
 
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.a15841>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
 
# -------------------------------------------------------------------------
all::
 
.SUFFIXES: .i
 
# $XdotOrg: util/cf/Imake.cf,v 1.12 2005/11/08 06:33:24 jkj Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
 
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 
# Keep cpp from replacing path elements containing i486/i586/i686
 
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
 
# operating system: SunOS 4.1.3
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
 
# $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
# $XdotOrg: util/cf/linux.cf,v 1.31 2005/10/21 19:10:27 ajax Exp $
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
 
.c.o:
$(CC) -c $(CFLAGS) $*.c
# platform: $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi Exp $
 
# -------------------------------------------------------------------------
# operating system: Linux 2.6.31-14-generic i686 [ELF] (2.6.31)
# libc: (6.10.1)
# binutils: (220)
 
# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
 
# $XdotOrg: util/cf/xorg.cf,v 1.53 2005/10/03 16:08:44 alanc Exp $
 
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
 
XORG_VERSION_CURRENT = (((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)
RELEASE_VERSION = RELEASE-1
 
AFB_DEFS = -DUSE_AFB
 
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
 
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
 
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
 
# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
 
# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
 
SELINUX_LDFLAGS =
 
SELINUX_INCLUDES = -I/usr/include/selinux
 
SELINUX_CFLAGS = -DHAVE_SELINUX
 
SELINUX_LIBS = -lselinux
 
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
 
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
 
SHELL = /bin/sh
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
 
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: util/cf/Imake.rules,v 1.11 2005/11/08 06:33:24 jkj Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
 
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
 
_NULLCMD_ = @ echo -n
 
X_BYTE_ORDER = X_LITTLE_ENDIAN
 
GLIDE2INCDIR = /usr/include/glide
 
GLIDE3INCDIR = /usr/include/glide3
 
GLIDE3LIBNAME = glide3
 
TKLIBNAME = tk8.4
 
TKLIBDIR = /usr/lib
 
TCLLIBNAME = tcl8.4
 
TCLIBDIR = /usr/lib
 
PATHSEP = /
SHELL = /bin/sh -e
 
TOP = .
CURRENT_DIR = .
 
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = /usr/bin/rman
RMANBASENAME = rman
RMANOPTIONS =
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
 
INCROOT = /usr/include
USRLIBDIR = /usr/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSECT)
SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
DRIVERMANDIR = $(MANSOURCEPATH)4
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
MISCMANDIR = $(MANSOURCEPATH)7
ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
ICONDIR = "/usr/share/icons"
XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
DRIVERMANDIR = $(MANSOURCEPATH)4
LOGDIRECTORY = $(VARDIR)/log
 
VARRUNDIR = $(VARDIR)/run
 
VARDBDIR = $(VARDIR)/lib
 
AR = ar clq
 
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
AS = as
 
CC = gcc -m32
AS = gcc -m32 -c -x assembler
 
.SUFFIXES: .cc
 
CXX = c++ -m32
 
CXXFILT = c++filt
 
CXXLIB = -lstdc++
 
CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dlinux -D__i386__ -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)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
 
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
GZIPCMD = gzip
 
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
 
INSTALL = install
LD = ld
INSTALLFLAGS = -c
 
LD = gcc -m32 -nostdlib
 
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
 
LINT = lint
 
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
MV = mv -f
CP = cp
 
RANLIB = ranlib
 
RANLIBINSTFLAGS =
 
RM = rm -f
TROFF = psroff
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
 
MANSECT = 1
SYSCALLMANSECT = 2
LIBMANSECT = 3
DRIVERMANSECT = 4
FILEMANSECT = 5
GAMEMANSECT = 6
MISCMANSECT = 7
ADMMANSECT = 8
MANSRCSECT = s
MANNEWSECT = n
PROJECTMANSUFFIX = x
MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
DRIVERMANSUFFIX = 4x
FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
MISCMANSUFFIX = 7x
ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
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)
 
COMPRESSMANCMD = gzip -n
 
TROFF = groff -Tps
NROFF = nroff
 
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
 
MODCC = gcc -m32
 
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = gcc -m32 -c -x assembler
MODASFLAGS =
 
MODLD = gcc -m32 -nostdlib
 
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
 
MODRANLIB = ranlib
 
DVIPS = dvips
LATEX = latex
 
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -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)
STD_DEFINES = -Dlinux -D__i386__ -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)
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
 
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF = -DSUNSHLIB
PARALLELMFLAGS =
 
PROTO_DEFINES =
SHAREDCODEDEF =
SHLIBDEF =
 
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
 
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
 
PICFLAGS = -fPIC
 
CXXPICFLAGS = -fPIC
 
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
 
INSTPGMFLAGS =
 
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g kmem -m 2755
INSTKMEMFLAGS = -m 4711
 
CDEBUGFLAGS = -O
PROJECTROOT = /usr
 
CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
CCOPTIONS =
 
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
 
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
 
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
CCLINK = $(CC)
 
LDCOMBINEFLAGS = -X -r
CXXLINK = $(CXX)
 
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES =
 
MACROFILE = sun.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
# Not sure this belongs here
TKLIBDIR = /usr/lib
TKINCDIR = /usr/include
TKLIBNAME = tk8.4
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR = /usr/lib
TCLINCDIR = /usr/include
TCLLIBNAME = tcl8.4
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
 
MACROFILE = linux.cf
RM_CMD = $(RM)
 
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
 
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
 
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
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)
 
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
 
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
 
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: util/cf/X11.tmpl,v 1.54 2006/04/15 15:55:25 herrb Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
 
XORGRELSTRING = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANNAME = X Version 11
 
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
 
FCHOWN_DEFINES = -DHAS_FCHOWN
 
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
 
XTOP = $(TOP)
BINDIR = /usr/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
LIBDIR = /usr/lib/X11
SHAREDIR = /usr/share/X11
LIBEXECDIR = /usr/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
 
FONTDIR = $(LIBDIR)/fonts
INSTSRCDIR = /usr/src
 
ETCX11DIR = /etc/X11
 
CONFDIR = $(ETCX11DIR)
 
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = /usr/share/fonts/X11
ENCODINGSDIR = /usr/share/fonts/X11/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = /etc/X11/app-defaults
FONTCFLAGS = -t
 
INSTAPPFLAGS = $(INSTDATFLAGS)
 
IMAKE = imake
DEPEND = makedepend
RGB = rgb
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
 
FONTC = bdftopcf
HTMLINDEXCMD = HtmlIndexCmd
 
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
 
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) -DIPv6
XTRANS_FAILDEFINES = -DFAIL_HARD
 
VENDORMANNAME = X.Org
VENDORMANVERSION = `echo 6 9 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
 
VENDORWEBSUPPORT = http://wiki.X.Org
 
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
 
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
 
XCONFIGFILE = xorg.conf
XCONFIGDIR = $(LIBDIR)
XLOGFILE = Xorg
XSERVERNAME = Xorg
 
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
 
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
 
XLIBSRC = $(LIBSRC)/X11
 
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
 
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
 
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
 
XEXTLIBSRC = $(LIBSRC)/Xext
 
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
 
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
 
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
 
XSSLIBSRC = $(LIBSRC)/Xss
 
SOXSSREV = 1.0
DEPXSSLIB =
XSSLIB = -lXss
 
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
 
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
 
SOXXF86MISCREV = 1.1
DEPXXF86MISCLIB =
XXF86MISCLIB = -lXxf86misc
 
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
 
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
 
SOXXF86VMREV = 1.0
DEPXXF86VMLIB =
XXF86VMLIB = -lXxf86vm
 
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
 
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
 
SOXXF86DGAREV = 1.0
DEPXXF86DGALIB =
XXF86DGALIB = -lXxf86dga
 
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
 
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
 
SOXXF86RUSHREV = 1.0
DEPXXF86RUSHLIB =
XXF86RUSHLIB = -lXxf86rush
 
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
 
XVLIBSRC = $(LIBSRC)/Xv
 
SOXVREV = 1.0
DEPXVLIB =
XVLIB = -lXv
 
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
 
XVMCLIBSRC = $(LIBSRC)/XvMC
 
SOXVMCREV = 1.0
DEPXVMCLIB =
XVMCLIB = -lXvMC
 
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
 
XINERAMALIBSRC = $(LIBSRC)/Xinerama
 
SOXINERAMAREV = 1.0
DEPXINERAMALIB =
XINERAMALIB = -lXinerama
 
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
 
XRESLIBSRC = $(LIBSRC)/XRes
 
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
 
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
 
DMXLIBSRC = $(LIBSRC)/dmx
 
SODMXREV = 1.0
DEPDMXLIB =
DMXLIB = -ldmx
 
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
 
DPSLIBSRC = $(LIBSRC)/dps
 
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
 
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
 
DPSTKLIBSRC = $(LIBSRC)/dpstk
 
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
 
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
 
PSRESLIBSRC = $(LIBSRC)/psres
 
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
 
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
 
GLULIBSRC = $(LIBSRC)/GLU
 
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
 
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
 
GLXLIBSRC = $(LIBSRC)/GL
 
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
 
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
 
GLWIDGETSRC = $(LIBSRC)/GLw
 
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
 
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
 
XRENDERDIR = /usr
XRENDERLIBDIR = /usr/lib
XRENDERINCDIR = /usr/include
XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
DEPXRENDERLIB =
 
XRENDERINCLUDES = -I$(XRENDERINCDIR)
 
XRANDRLIBSRC = $(LIBSRC)/Xrandr
 
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
 
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
 
XFIXESLIBSRC = $(LIBSRC)/Xfixes
 
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
 
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
 
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
 
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
 
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
 
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
 
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
 
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
 
XEVIELIBSRC = $(LIBSRC)/Xevie
 
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
 
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
 
XCURSORDIR = /usr
XCURSORLIBDIR = /usr/lib
XCURSORINCDIR = /usr/include
XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
 
XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
 
APPLEWMLIBSRC = $(LIBSRC)/apple
 
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
 
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
 
WINDOWSWMLIBSRC = $(LIBSRC)/windows
 
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
 
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
 
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
 
DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
XFONTCACHELIB = -lXfontcache
 
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
 
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
 
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
 
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
 
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
 
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
 
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
 
XMUSRC = $(LIBSRC)/Xmu
 
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
 
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
 
XMUUSRC = $(LIBSRC)/Xmuu
 
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
 
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
 
OLDXLIBSRC = $(LIBSRC)/oldX
 
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
 
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
 
XPLIBSRC = $(LIBSRC)/Xp
 
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
 
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
 
TOOLKITSRC = $(LIBSRC)/Xt
 
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
 
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
 
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
 
XALIBSRC = $(LIBSRC)/Xa
 
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
 
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
 
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
 
# $XConsortium: sunLib.tmpl,v 1.14.1.2 92/11/11 09:55:02 rws Exp $
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
 
SHLIBLDFLAGS = -assert pure-text
PICFLAGS = -pic
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
AWIDGET7SRC = $(LIBSRC)/Xaw7
 
DEPXLIB = $(DEPEXTENSIONLIB)
XLIB = $(EXTENSIONLIB) -lX11
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
 
DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
XMULIBONLY = -lXmu
XMULIB = -lXmu
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPOLDXLIB =
OLDXLIB = -loldX
AWIDGET6SRC = $(LIBSRC)/Xaw6
 
DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
XTOOLLIB = -lXt
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
 
DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
XAWLIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
 
DEPXILIB =
XILIB = -lXi
XILIBSRC = $(LIBSRC)/Xi
 
DEPPEXLIB =
PEXLIB = -lPEX5
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
 
SOXLIBREV = 4.10
SOXTREV = 4.10
SOXAWREV = 5.0
SOOLDXREV = 4.10
SOXMUREV = 4.10
SOXEXTREV = 4.10
SOXINPUTREV = 4.10
SOPEXREV = 1.0
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
 
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
XTESTLIBSRC = $(LIBSRC)/Xtst
 
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
 
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
 
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
 
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
 
ICESRC = $(LIBSRC)/ICE
 
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
 
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
 
SMSRC = $(LIBSRC)/SM
 
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
 
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
 
XKEYSRC = $(LIBSRC)/Xkey
 
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
 
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
 
FSLIBSRC = $(LIBSRC)/FS
 
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
 
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
 
FONTLIBSRC = $(LIBSRC)/font
 
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
 
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
 
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
 
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
 
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
 
FONTENCLIBSRC = $(LIBSRC)/fontenc
 
DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
XFONTENCLIB = -lfontenc
 
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
 
XPMLIBSRC = $(LIBSRC)/Xpm
 
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
 
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
 
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
 
FREETYPE2LIB = -lfreetype
 
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
 
FREETYPE2DEFINES = -DFREETYPE2
 
EXPATLIBSRC = $(LIBSRC)/expat
 
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
 
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
 
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
 
EXPATINCLUDES =
 
EXPATLIB = -lexpat
 
EXPATDEFINES = -DEXPAT
 
XFTDIR = /usr
XFTLIBDIR = /usr/lib
XFTINCDIR = /usr/include
XFTLIB = -L$(XFTLIBDIR) -lXft
 
XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) $(XRENDERINCLUDES)
 
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
 
FONTCONFIGLIB = -lfontconfig
 
FONTCONFIGINCLUDES =
 
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
 
FONTCONFIGDEFINES = -DFONTCONFIG
 
LIBPNGINCDIR = /usr/include
 
LIBPNGINC=
 
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
 
LIBPNGLIB = -lpng
 
XKBFILELIBSRC = $(LIBSRC)/xkbfile
 
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
 
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
 
XKBCOMPCMD = $(XBINDIR)/xkbcomp
 
XKBUILIBSRC = $(LIBSRC)/xkbui
 
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
 
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
 
EXTRAXAWREQS =
 
EXTRAXAWCLIENTDEPLIBS =
 
EXTRAXAWCLIENTLIBS =
 
XTRAPLIBSRC = $(LIBSRC)/XTrap
 
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
 
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
 
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
 
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
 
# -------------------------------------------------------------------------
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
 
CONFIGDIR = $(LIBDIR)/config
 
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
 
CXXPROJECT_DEFINES =
 
# ----------------------------------------------------------------------
# start of Imakefile
 
# Imakefile
@@ -290,21 +1057,16 @@
 
INSTALL = /usr/ucb/install
 
#TOP =
#LDCOMBINEFLAGS =
# TOP =
# LDCOMBINEFLAGS =
 
CDEBUGFLAGS = -g
# CCOPTIONS = -Bstatic -D_NO_PROTO -I/usr/include/X11 -I../viola -I../libXPM -I../libXPA/src -I../libWWW/src
 
#CCOPTIONS = -Wall
CCOPTIONS = -Bstatic -lresolv
# CCOPTIONS = -D_NO_PROTO -I/usr/include/X11 -I../viola -I../libXPM -I../libXPA/src -I../libWWW/src
# CCOPTIONS = -D_NO_PROTO -I/usr/include/X11 /net/moby/moby_c/motif_1.2/common/include/X11 -I../viola -I../libXPM -I../libXPA/src -I../libWWW/src
 
WWW_BIN = ../libWWW/Library/sun4
WWW_BIN = ../libWWW/Library/rs6000
 
#CCOPTIONS = -Bstatic -D_NO_PROTO -I/usr/include/X11 -I../viola -I../libXPM -I../libXPA/src -I../libWWW/src
 
#CCOPTIONS = -D_NO_PROTO -I/usr/include/X11 -I../viola -I../libXPM -I../libXPA/src -I../libWWW/src
#CCOPTIONS = -D_NO_PROTO -I/usr/include/X11 /net/moby/moby_c/motif_1.2/common/include/X11 -I../viola -I../libXPM -I../libXPA/src -I../libWWW/src
 
XPM_BIN = ../libXPM
 
XPA_BIN = ../libXPA/src
@@ -313,103 +1075,13 @@
 
STG_BIN = ../libStyle
 
VWBROWSER_OBJ = box.o \
callbacks.o \
catalog.o \
cursor.o \
dialog.o \
edit.o \
fileIO.o \
fonts.o \
history.o \
hotlist.o \
menu.o \
mail.o \
selection.o \
vw.o
VWBROWSER_OBJ = box.o callbacks.o catalog.o cursor.o dialog.o edit.o fileIO.o fonts.o history.o hotlist.o menu.o mail.o selection.o vw.o
 
OBJS = $(VWBROWSER_OBJ) $(OBJS_VIOLA) $(OBJS_WWW) $(OBJS_XPA) $(OBJS_GIF) $(OBJS_STG)
 
VIOLA_DIR = ../viola
 
OBJS_VIOLA = $(VIOLA_DIR)/DefaultStyles.o \
$(VIOLA_DIR)/HTML_style.o \
$(VIOLA_DIR)/ast.o \
$(VIOLA_DIR)/attr.o \
$(VIOLA_DIR)/biop.o \
$(VIOLA_DIR)/cexec.o \
$(VIOLA_DIR)/cgen.o \
$(VIOLA_DIR)/cl_PS.o \
$(VIOLA_DIR)/cl_AC_SGML_txt.o \
$(VIOLA_DIR)/cl_BCard.o \
$(VIOLA_DIR)/cl_FCard.o \
$(VIOLA_DIR)/cl_GIF.o \
$(VIOLA_DIR)/cl_HTML.o \
$(VIOLA_DIR)/cl_TTY.o \
$(VIOLA_DIR)/cl_XBM.o \
$(VIOLA_DIR)/cl_XBMBG.o \
$(VIOLA_DIR)/cl_XBMButton.o \
$(VIOLA_DIR)/cl_XPM.o \
$(VIOLA_DIR)/cl_XPMBG.o \
$(VIOLA_DIR)/cl_XPMButton.o \
$(VIOLA_DIR)/cl_client.o \
$(VIOLA_DIR)/cl_cosmic.o \
$(VIOLA_DIR)/cl_dial.o \
$(VIOLA_DIR)/cl_field.o \
$(VIOLA_DIR)/cl_generic.o \
$(VIOLA_DIR)/cl_glass.o \
$(VIOLA_DIR)/cl_hpane.o \
$(VIOLA_DIR)/cl_menu.o \
$(VIOLA_DIR)/cl_pane.o \
$(VIOLA_DIR)/cl_project.o \
$(VIOLA_DIR)/cl_radio.o \
$(VIOLA_DIR)/cl_rubber.o \
$(VIOLA_DIR)/cl_slider.o \
$(VIOLA_DIR)/cl_socket.o \
$(VIOLA_DIR)/cl_stack.o \
$(VIOLA_DIR)/cl_toggle.o \
$(VIOLA_DIR)/cl_tray.o \
$(VIOLA_DIR)/cl_txt.o \
$(VIOLA_DIR)/cl_txtButton.o \
$(VIOLA_DIR)/cl_txtDisp.o \
$(VIOLA_DIR)/cl_txtEdit.o \
$(VIOLA_DIR)/cl_txtEditLine.o \
$(VIOLA_DIR)/cl_txtLabel.o \
$(VIOLA_DIR)/cl_vpane.o \
$(VIOLA_DIR)/class.o \
$(VIOLA_DIR)/classlist.o \
$(VIOLA_DIR)/error.o \
$(VIOLA_DIR)/event.o \
$(VIOLA_DIR)/event_x.o \
$(VIOLA_DIR)/file.o \
$(VIOLA_DIR)/fosi.o \
$(VIOLA_DIR)/glib.o \
$(VIOLA_DIR)/glib_x.o \
$(VIOLA_DIR)/gram.o \
$(VIOLA_DIR)/hash.o \
$(VIOLA_DIR)/membership.o \
$(VIOLA_DIR)/html.o \
$(VIOLA_DIR)/html2.o \
$(VIOLA_DIR)/stgcall.o \
$(VIOLA_DIR)/sgml.o \
$(VIOLA_DIR)/ident.o \
$(VIOLA_DIR)/loader.o \
$(VIOLA_DIR)/method.o \
$(VIOLA_DIR)/misc.o \
$(VIOLA_DIR)/mystrings.o \
$(VIOLA_DIR)/obj.o \
$(VIOLA_DIR)/objs.o \
$(VIOLA_DIR)/packet.o \
$(VIOLA_DIR)/violalex.o \
$(VIOLA_DIR)/slib.o \
$(VIOLA_DIR)/sys.o \
$(VIOLA_DIR)/tfed.o \
$(VIOLA_DIR)/tfed2.o \
$(VIOLA_DIR)/vlist.o \
$(VIOLA_DIR)/HTML_share.o \
$(VIOLA_DIR)/htmath.o \
$(VIOLA_DIR)/viola.o \
$(VIOLA_DIR)/msgHandler.o
OBJS_VIOLA = $(VIOLA_DIR)/DefaultStyles.o $(VIOLA_DIR)/HTML_style.o $(VIOLA_DIR)/ast.o $(VIOLA_DIR)/attr.o $(VIOLA_DIR)/biop.o $(VIOLA_DIR)/cexec.o $(VIOLA_DIR)/cgen.o $(VIOLA_DIR)/cl_PS.o $(VIOLA_DIR)/cl_AC_SGML_txt.o $(VIOLA_DIR)/cl_BCard.o $(VIOLA_DIR)/cl_FCard.o $(VIOLA_DIR)/cl_GIF.o $(VIOLA_DIR)/cl_HTML.o $(VIOLA_DIR)/cl_TTY.o $(VIOLA_DIR)/cl_XBM.o $(VIOLA_DIR)/cl_XBMBG.o $(VIOLA_DIR)/cl_XBMButton.o $(VIOLA_DIR)/cl_XPM.o $(VIOLA_DIR)/cl_XPMBG.o $(VIOLA_DIR)/cl_XPMButton.o $(VIOLA_DIR)/cl_client.o $(VIOLA_DIR)/cl_cosmic.o $(VIOLA_DIR)/cl_dial.o $(VIOLA_DIR)/cl_field.o $(VIOLA_DIR)/cl_generic.o $(VIOLA_DIR)/cl_glass.o $(VIOLA_DIR)/cl_hpane.o $(VIOLA_DIR)/cl_menu.o $(VIOLA_DIR)/cl_pane.o $(VIOLA_DIR)/cl_project.o $(VIOLA_DIR)/cl_radio.o $(VIOLA_DIR)/cl_rubber.o $(VIOLA_DIR)/cl_slider.o $(VIOLA_DIR)/cl_socket.o $(VIOLA_DIR)/cl_stack.o $(VIOLA_DIR)/cl_toggle.o $(VIOLA_DIR)/cl_tray.o $(VIOLA_DIR)/cl_txt.o $(VIOLA_DIR)/cl_txtButton.o $(VIOLA_DIR)/cl_txtDisp.o $(VIOLA_DIR)/cl_txtEdit.o $(VIOLA_DIR)/cl_txtEditLine.o $(VIOLA_DIR)/cl_txtLabel.o $(VIOLA_DIR)/cl_vpane.o $(VIOLA_DIR)/class.o $(VIOLA_DIR)/classlist.o $(VIOLA_DIR)/error.o $(VIOLA_DIR)/event.o $(VIOLA_DIR)/event_x.o $(VIOLA_DIR)/file.o $(VIOLA_DIR)/fosi.o $(VIOLA_DIR)/glib.o $(VIOLA_DIR)/glib_x.o $(VIOLA_DIR)/gram.o $(VIOLA_DIR)/hash.o $(VIOLA_DIR)/membership.o $(VIOLA_DIR)/html.o $(VIOLA_DIR)/html2.o $(VIOLA_DIR)/stgcall.o $(VIOLA_DIR)/sgml.o $(VIOLA_DIR)/ident.o $(VIOLA_DIR)/loader.o $(VIOLA_DIR)/method.o $(VIOLA_DIR)/misc.o $(VIOLA_DIR)/mystrings.o $(VIOLA_DIR)/obj.o $(VIOLA_DIR)/objs.o $(VIOLA_DIR)/packet.o $(VIOLA_DIR)/violalex.o $(VIOLA_DIR)/slib.o $(VIOLA_DIR)/sys.o $(VIOLA_DIR)/tfed.o $(VIOLA_DIR)/tfed2.o $(VIOLA_DIR)/vlist.o $(VIOLA_DIR)/HTML_share.o $(VIOLA_DIR)/htmath.o $(VIOLA_DIR)/viola.o $(VIOLA_DIR)/msgHandler.o
 
OBJS_WWW = $(WWW_BIN)/libwww.a
 
@@ -417,53 +1089,94 @@
 
OBJS_XPA = $(XPA_BIN)/libXpa.a
 
#OBJS_GIF = $(GIF_BIN)/xgifload.o
# OBJS_GIF = $(GIF_BIN)/xgifload.o
OBJS_GIF = $(GIF_BIN)/libIMG.a
 
OBJS_STG = $(STG_BIN)/libstg.o
 
PROGRAM = vw
PROGRAM = vw
 
all:: vw
 
vw: $(OBJS) $(DEPLIBS)
$(RM) $@
$(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
 
saber_vw:: $(SRCS)
# load $(ALLDEFINES) $(SRCS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
install:: vw
@if [ -d $(DESTDIR)$(BINDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(BINDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(BINDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) vw $(DESTDIR)$(BINDIR)/vw
 
osaber_vw:: $(OBJS)
# load $(ALLDEFINES) $(OBJS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
all:: vw.$(MANNEWSUFFIX)
 
install:: vw
@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
$(INSTALL) -c $(INSTPGMFLAGS) vw $(DESTDIR)$(BINDIR)
vw.$(MANNEWSUFFIX): vw.$(MANSRCSUFFIX)
$(RM) $@
if test -z "$(PREPROCESSMANPAGES)" ; then \
cd `dirname vw` && \
$(LN) `basename vw.$(MANSRCSUFFIX)` `basename $@`; \
else \
$(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) \
< vw.$(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/\@\@$$/\\/' >$@; \
fi
 
install.man:: vw.man
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
$(INSTALL) -c $(INSTMANFLAGS) vw.man $(DESTDIR)$(MANDIR)/vw.$(MANSUFFIX)
cleandir::
$(RM) vw.$(MANNEWSUFFIX)
 
install.man:: vw.$(MANNEWSUFFIX)
@if [ -d $(DESTDIR)$(MANDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(MANDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(MANDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) vw.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/vw.$(MANSUFFIX)
 
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
$(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
 
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
 
clean::
$(RM) $(PROGRAM)
cleandir::
$(RM) vw
 
# -------------------------------------------------------------------------
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
 
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
 
.SUFFIXES: .ii
 
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
 
.SUFFIXES: .s
 
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
 
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
 
emptyrule::
 
clean::
$(RM_CMD) "#"*
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
 
Makefile::
-@if [ -f Makefile ]; then set -x; \
@@ -475,13 +1188,17 @@
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
 
saber:
# load $(ALLDEFINES) $(SRCS)
man_keywords::
 
osaber:
# load $(ALLDEFINES) $(OBJS)
html_index::
 
# -------------------------------------------------------------------------
clean:: cleandir
 
distclean:: cleandir
 
PREPROCESSMANPAGES = true
 
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
 
install::
@@ -490,10 +1207,18 @@
install.man::
@echo "install.man in $(CURRENT_DIR) done"
 
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
 
Makefiles::
 
includes::
 
# -------------------------------------------------------------------------
depend::
 
distclean::
$(RM) Makefile Makefile.dep
 
# ----------------------------------------------------------------------
# dependencies generated by makedepend