You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xrdp-proprietary/Xserver/makefile_rdp

1497 lines
40 KiB

19 years ago
# Makefile generated by imake - do not edit!
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.154 2003/11/04 01:59:31 dawes Exp $
# ----------------------------------------------------------------------
all::
.SUFFIXES: .i
# $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: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
# site: $XFree86: xc/config/cf/site.def,v 3.25 2002/02/27 00:51:12 dawes Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.187 2003/09/06 23:38:04 dawes Exp $
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit linux.cf to change
# platform: $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# platform: $XFree86: xc/config/cf/linux.cf,v 3.219 2003/12/19 01:47:26 dawes Exp $
# operating system: Linux 2.6.13-15.8-default i686 [ELF] (2.6.13)
# libc: (6.3.5)
# binutils: (216)
# $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 $
# $XFree86: xc/config/cf/xfree86.cf,v 3.465 2003/11/07 23:57:43 dawes Exp $
# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
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.35 2003/09/01 21:20:01 tsi Exp $
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
# site: $XFree86: xc/config/cf/site.def,v 3.25 2002/02/27 00:51:12 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: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
_NULLCMD_ = @ echo -n
X_BYTE_ORDER = X_LITTLE_ENDIAN
GLIDE2INCDIR =
GLIDE3INCDIR =
GLIDE3LIBNAME =
TKLIBNAME =
TKLIBDIR =
TCLLIBNAME =
TCLIBDIR =
PATHSEP = /
SHELL = /bin/sh -e
TOP = ../..
CURRENT_DIR = programs/Xserver
IMAKE = $(IMAKESRC)/imake
DEPEND = $(DEPENDSRC)/makedepend
MKDIRHIER = mkdir -p
REVPATH = $(CONFIGSRC)/util/revpath
EXPORTLISTGEN =
RMAN = $(TOP)/config/util/rman
RMANBASENAME = rman
RMANOPTIONS = -f HTML
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/makedepend
INCROOT = /usr/X11R6/include
USRLIBDIR = /usr/X11R6/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/X11R6/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/X11R6/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)1
LIBMANDIR = $(MANSOURCEPATH)3
FILEMANDIR = $(MANSOURCEPATH)5
MISCMANDIR = $(MANSOURCEPATH)$(MISCMANSUFFIX)
DRIVERMANDIR = $(MANSOURCEPATH)$(DRIVERMANSUFFIX)
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 -m32
AS = gcc -m32 -c -x assembler
.SUFFIXES: .cc
CXX = c++ -m32
CXXFILT = c++filt
CXXLIB = -lstdc++
CXXDEBUGFLAGS = -O2 -fno-strength-reduce
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_GNU_SOURCE $(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
GZIPCMD = gzip
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES)
INSTALL = install
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 -f
CP = cp
RANLIB = ranlib
RANLIBINSTFLAGS =
RM = rm -f
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
MANSUFFIX = 1x
LIBMANSUFFIX = 3x
FILEMANSUFFIX = 5x
MISCMANSUFFIX = 7
DRIVERMANSUFFIX = 4
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
MANDEFS = -D__apploaddir__=$(XAPPLOADDIR) -D__filemansuffix__=$(FILEMANSUFFIX) -D__libmansuffix__=$(LIBMANSUFFIX) -D__miscmansuffix__=$(MISCMANSUFFIX) -D__drivermansuffix__=$(DRIVERMANSUFFIX) -D__projectroot__=$(PROJECTROOT) $(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
STD_INCLUDES =
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_GNU_SOURCE $(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_GNU_SOURCE $(PROJECT_DEFINES)
EXTRA_LOAD_FLAGS = -Wl,-rpath-link,$(BUILDLIBDIR)
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
PARALLELMFLAGS =
SHAREDCODEDEF =
SHLIBDEF =
SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
PICFLAGS = -fPIC
CXXPICFLAGS = -fPIC
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
INSTPGMFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4711
PROJECTROOT = /usr/X11R6
CDEBUGFLAGS = -O2 -fno-strength-reduce
CCOPTIONS = -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef
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 = -L$(BUILDLIBDIR) $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
CCLINK = $(CC)
CXXLINK = $(CXX)
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES = -DUSE_MAKEDEPEND
# Not sure this belongs here
TKLIBDIR =
TKINCDIR =
TKLIBNAME =
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR =
TCLINCDIR =
TCLLIBNAME =
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
MACROFILE = linux.cf
RM_CMD = $(RM)
IMAKE_DEFINES =
IMAKE_WARNINGS = -Wundef
IRULESRC = $(CONFIGSRC)/cf
IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xf86site.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XFree86: xc/config/cf/X11.rules,v 1.7 2003/11/05 18:15:51 dawes Exp $
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.239 2003/12/12 03:20:32 dawes Exp $
XORGRELSTRING = Release 6.6
XORGMANNAME = X Version 11
VENDORMANNAME = XFree86
VENDORMANVERSION = `echo 4 3 99 902 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
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/X11R6/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = /usr/X11R6/lib/X11
LIBEXECDIR = /usr/X11R6/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES = -I$(TOP)/exports/include
INSTSRCDIR = /usr/X11R6/src
ETCX11DIR = /etc/X11
CONFDIR = $(ETCX11DIR)
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = $(LIBDIR)/fonts
ENCODINGSDIR = $(FONTDIR)/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
RGB = $(CLIENTENVSETUP) $(XBUILDBINDIR)/rgb
FONTC = $(CLIENTENVSETUP) $(PRELOADFONTSETUP) $(XBUILDBINDIR)/bdftopcf
MKFONTSCALE_DIR = $(PRELOADFREETYPESETUP) $(XBUILDBINDIR)/mkfontscale -b -s -l
MKFONTDIR = $(CLIENTENVSETUP) $(MKFONTSCALE_DIR)
XCURSORGEN = $(CLIENTENVSETUP) $(PRELOADSETUP) $(XBUILDBINDIR)/xcursorgen
MKHTMLINDEX = $(PERLENVSETUP) $(PERL) $(PERLOPTS) $(CONFIGSRC)/util/mkhtmlindex.pl
UCS2ANY = $(XBUILDBINDIR)/ucs2any
BDFTRUNCATE = $(FONTSRC)/util/bdftruncate.pl
UCSMAPPREFIX = $(FONTSRC)/util/map-
HTMLINDEXCMD = $(MKHTMLINDEX)
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
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 = $(TOP)/extras/FreeType
XTTSOURCEDIR = $(TOP)/extras/X-TrueType
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
XORGMANDEFS = -D__xorgversion__='"$(XORGRELSTRING)" "$(XORGMANNAME)"'
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
XENVLIBDIR = $(TOP)/exports/lib
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR)
# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.20 2003/11/04 01:59:31 dawes Exp $
XLIBSRC = $(LIBSRC)/X11
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
LINTXONLY = $(XLIBSRC)/llib-X11.ln
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
RDPEXTLIBSRC = $(LIBSRC)/RdpExt
SORDPEXTREV = 2.0
DEPRDPEXTLIB =
RDPEXTLIB = -lRdpExt
LINTRDPEXT = $(RDPEXTLIBSRC)/llib-RdpExt.ln
XEXTLIBSRC = $(LIBSRC)/Xext
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
LINTEXTENSION = $(XEXTLIBSRC)/llib-Xext.ln
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
XSSLIBSRC = $(LIBSRC)/Xss
DEPXSSLIB = $(TOP)/exports/lib/libXss.a
XSSLIB = -lXss
LINTXSS = $(XSSLIBSRC)/llib-Xss.ln
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
DEPXXF86MISCLIB = $(TOP)/exports/lib/libXxf86misc.a
XXF86MISCLIB = -lXxf86misc
LINTXXF86MISC = $(XXF86MISCLIBSRC)/llib-Xxf86misc.ln
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
DEPXXF86VMLIB = $(TOP)/exports/lib/libXxf86vm.a
XXF86VMLIB = -lXxf86vm
LINTXXF86VM = $(XXF86VMLIBSRC)/llib-Xxf86vm.ln
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
DEPXXF86DGALIB = $(TOP)/exports/lib/libXxf86dga.a
XXF86DGALIB = -lXxf86dga
LINTXXF86DGA = $(XXF86DGALIBSRC)/llib-Xxf86dga.ln
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
DEPXXF86RUSHLIB = $(TOP)/exports/lib/libXxf86rush.a
XXF86RUSHLIB = -lXxf86rush
LINTXXF86RUSH = $(XXF86RUSHLIBSRC)/llib-Xxf86rush.ln
XVLIBSRC = $(LIBSRC)/Xv
DEPXVLIB = $(TOP)/exports/lib/libXv.a
XVLIB = -lXv
LINTXV = $(XVLIBSRC)/llib-Xv.ln
XVMCLIBSRC = $(LIBSRC)/XvMC
DEPXVMCLIB = $(TOP)/exports/lib/libXvMC.a
XVMCLIB = -lXvMC
LINTXVMC = $(XVMCLIBSRC)/llib-XvMC.ln
XINERAMALIBSRC = $(LIBSRC)/Xinerama
DEPXINERAMALIB = $(TOP)/exports/lib/libXinerama.a
XINERAMALIB = -lXinerama
LINTXINERAMA = $(XINERAMALIBSRC)/llib-Xinerama.ln
XRESLIBSRC = $(LIBSRC)/XRes
DEPXRESLIB = $(TOP)/exports/lib/libXRes.a
XRESLIB = -lXRes
LINTXRES = $(XRESLIBSRC)/llib-XRes.ln
DPSLIBSRC = $(LIBSRC)/dps
DEPDPSLIB = $(TOP)/exports/lib/libdps.a
DPSLIB = -ldps
LINTDPS = $(DPSLIBSRC)/llib-dps.ln
DPSTKLIBSRC = $(LIBSRC)/dpstk
DEPDPSTKLIB = $(TOP)/exports/lib/libdpstk.a
DPSTKLIB = -ldpstk
LINTDPSTK = $(DPSTKLIBSRC)/llib-dpstk.ln
PSRESLIBSRC = $(LIBSRC)/psres
DEPPSRESLIB = $(TOP)/exports/lib/libpsres.a
PSRESLIB = -lpsres
LINTPSRES = $(PSRESLIBSRC)/llib-psres.ln
GLULIBSRC = $(LIBSRC)/GLU
DEPGLULIB = $(TOP)/exports/lib/libGLU.a
GLULIB = -lGLU
LINTGLU = $(GLULIBSRC)/llib-GLU.ln
GLXLIBSRC = $(LIBSRC)/GL
DEPGLXLIB = $(TOP)/exports/lib/libGL.a
GLXLIB = -lGL
LINTGLX = $(GLXLIBSRC)/llib-GL.ln
GLWIDGETSRC = $(LIBSRC)/GLw
DEPGLWLIB = $(TOP)/exports/lib/libGLw.a
GLWLIB = -lGLw
LINTGLW = $(GLWIDGETSRC)/llib-GLw.ln
XRENDERLIBSRC = $(LIBSRC)/Xrender
DEPXRENDERLIB = $(TOP)/exports/lib/libXrender.a
XRENDERLIB = -lXrender
LINTXRENDER = $(XRENDERLIBSRC)/llib-Xrender.ln
XRANDRRLIBSRC = $(LIBSRC)/Xrandr
DEPXRANDRLIB = $(TOP)/exports/lib/libXrandr.a
XRANDRLIB = -lXrandr
LINTXRANDR = $(XRANDRLIBSRC)/llib-Xrandr.ln
XCURSORRLIBSRC = $(LIBSRC)/Xcursor
DEPXCURSORLIB = $(TOP)/exports/lib/libXcursor.a
XCURSORLIB = -lXcursor
LINTXCURSOR = $(XCURSORLIBSRC)/llib-Xcursor.ln
APPLEWMLIBSRC = $(LIBSRC)/apple
DEPAPPLEWMLIB = $(TOP)/exports/lib/libAppleWM.a
APPLEWMLIB = -lAppleWM
LINTAPPLEWM = $(APPLEWMLIBSRC)/llib-AppleWM.ln
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
SOXFONTCACHEREV = 1.2
DEPXFONTCACHELIB =
XFONTCACHELIB = -lXfontcache
LINTXFONTCACHE = $(XFONTCACHELIBSRC)/llib-Xfontcache.ln
XAUTHSRC = $(LIBSRC)/Xau
DEPXAUTHLIB = $(TOP)/exports/lib/libXau.a
XAUTHLIB = -lXau
LINTXAUTH = $(XAUTHSRC)/llib-Xau.ln
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
DEPXDMCPLIB = $(TOP)/exports/lib/libXdmcp.a
XDMCPLIB = -lXdmcp
LINTXDMCP = $(XDMCPLIBSRC)/llib-Xdmcp.ln
XMUSRC = $(LIBSRC)/Xmu
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
LINTXMU = $(XMUSRC)/llib-Xmu.ln
XMUUSRC = $(LIBSRC)/Xmuu
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
LINTXMUU = $(XMUUSRC)/llib-Xmuu.ln
OLDXLIBSRC = $(LIBSRC)/oldX
DEPOLDXLIB = $(TOP)/exports/lib/liboldX.a
OLDXLIB = -loldX
LINTOLDX = $(OLDXLIBSRC)/llib-oldX.ln
XPLIBSRC = $(LIBSRC)/Xp
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
LINTXP = $(XPLIBSRC)/llib-Xp.ln
TOOLKITSRC = $(LIBSRC)/Xt
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
LINTXTOOLONLY = $(TOOLKITSRC)/llib-Xt.ln
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
XALIBSRC = $(LIBSRC)/Xa
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
LINTXA = $(XALIBSRC)/llib-Xa.ln
AWIDGETSRC = $(LIBSRC)/Xaw
SOXAWREV = 7.0
DEPXAWLIB =
XAWLIB = -lXaw
LINTXAW = $(AWIDGETSRC)/llib-Xaw.ln
AWIDGET6SRC = $(LIBSRC)/Xaw6
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
LINTXAW6 = $(AWIDGET6SRC)/llib-Xaw.ln
XILIBSRC = $(LIBSRC)/Xi
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
LINTXI = $(XILIBSRC)/llib-Xi.ln
XTESTLIBSRC = $(LIBSRC)/Xtst
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
LINTXTEST = $(XTESTLIBSRC)/llib-Xtst.ln
DEPXBSDLIB = $(TOP)/exports/lib/libXbsd.a
XBSDLIB = -lXbsd
LINTXBSD = $(LIBSRC)/Xbsd/llib-Xbsd.ln
ICESRC = $(LIBSRC)/ICE
SOICEREV = 6.3
DEPICELIB =
ICELIB = -lICE
LINTICE = $(ICESRC)/llib-ICE.ln
SMSRC = $(LIBSRC)/SM
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
LINTSM = $(SMSRC)/llib-SM.ln
XKEYSRC = $(LIBSRC)/Xkey
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
LINTXKEY = $(XKEYSRC)/llib-Xkey.ln
FSLIBSRC = $(LIBSRC)/FS
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
LINTFS = $(FSLIBSRC)/llib-FS.ln
FONTLIBSRC = $(LIBSRC)/font
SOFONTREV = 1.5
DEPFONTLIB =
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
LINTXFONT = $(FONTLIBSRC)/llib-Xfont.ln
#
SOFONTREV = 1.5
DEPXFONTLIB =
XFONTLIB = -lXfont
LINTXFONT = $(FONTLIBSRC)/llib-Xfont.ln
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
DEPFONTSTUBLIB = $(TOP)/exports/lib/libfntstubs.a
FONTSTUBLIB = -lfntstubs
LINTFONTSTUB = $(FONTSUBLIBSRC)/llib-fntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
FONTENCLIBSRC = $(LIBSRC)/fontenc
SOFONTENCREV = 1.0
DEPXFONTENCLIB =
XFONTENCLIB = -lfontenc
LINTXFONTENC = $(FONTENCLIBSRC)/llib-fontenc.ln
XPMLIBSRC = $(LIBSRC)/Xpm
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
LINTXPM = $(XPMLIBSRC)/llib-Xpm.ln
FREETYPE2LIBSRC = $(LIBSRC)/freetype2
SOFREETYPE2REV = 6.3
DEPFREETYPE2LIB =
FREETYPE2LIB = -lfreetype
LINTFREETYPE2 = $(FREETYPE2LIBSRC)/llib-freetype.ln
FREETYPE2INCDIR=$(BUILDINCDIR)
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR) -I$(FREETYPE2INCDIR)/freetype2
FREETYPE2DEFINES = -DFREETYPE2
EXPATLIBSRC = $(LIBSRC)/expat
SOEXPATREV = 0.4
DEPEXPATLIB =
EXPATLIB = -lexpat
LINTEXPAT = $(EXPATLIBSRC)/llib-expat.ln
XFT1LIBSRC = $(LIBSRC)/Xft1
SOXFT1REV = 1.1
DEPXFT1LIB =
XFT1LIB = -lXft
LINTXFT1 = $(XFT1LIBSRC)/llib-Xft.ln
XFTLIBSRC = $(LIBSRC)/Xft
SOXFTREV = 2.1
DEPXFTLIB =
XFTLIB = -lXft
LINTXFT = $(XFTLIBSRC)/llib-Xft.ln
XFTINCLUDES=$(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES)
LIBPNGINCDIR = /usr/include
LIBPNGINC=
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
LIBPNGLIB = -lpng
XKBFILELIBSRC = $(LIBSRC)/xkbfile
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
LINTXKBFILE = $(XKBFILESRC)/llib-xkbfile.ln
XKBCOMPSRC = $(PROGRAMSRC)/xkbcomp
XKBCOMPCMD = $(CLIENTENVSETUP) $(PRELOADSETUP) $(XBUILDBINDIR)/xkbcomp
XKBUILIBSRC = $(LIBSRC)/xkbui
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
LINTXKBUI = $(XKBUISRC)/llib-xkbui.ln
XTRAPLIBSRC = $(LIBSRC)/XTrap
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
LINTXTRAP = $(XTRAPLIBSRC)/llib-XTrap.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)
FT2PRELOADPATTERN = libfreetype.so.?
FCPRELOADPATTERN = libfontconfig.so.?
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
INSTALLED_INCLUDES = -I$(INCROOT)
INSTALLED_LIBS = -L$(USRLIBDIR)
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
CONFIGDIR = $(LIBDIR)/config
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = -L$(BUILDLIBDIR) $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = -I$(TOP) $(TOP_X_INCLUDES)
PROJECT_DEFINES =
CXXPROJECT_DEFINES =
# ----------------------------------------------------------------------
# start of Imakefile
# $Xorg: Imakefile,v 1.4 2001/03/14 18:42:02 pookie Exp $
# $XFree86: xc/programs/Xserver/Imakefile,v 3.296 2003/11/23 06:47:00 torrey Exp $
# $XFree86: xc/config/cf/Server.tmpl,v 3.21 2003/04/15 03:59:03 dawes Exp $
# $Xorg: Server.tmpl,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
CC = gcc -m32
CCOPTIONS = -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef
STD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=$(X_BYTE_ORDER) -DNDEBUG $(SERVER_THREAD_DEFINES)
CDEBUGFLAGS = -O2 -fno-strength-reduce
EXT_DEFINES = -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -DFONTCACHE -DRES
OS_DEFINES = -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR -DDDXOSVERRORF -DDDXTIME -DPART_NET
GLX_DEFINES = -DGLXEXT -DGLX_USE_MESA
# $Xorg: xf86.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
# $XFree86: xc/config/cf/xf86.tmpl,v 3.33 2002/12/16 23:01:43 herrb Exp $
BUILDERADDR = "xfree86@xfree86.org"
BUGMSG = -DBUILDERADDR='$(BUILDERADDR)'
MODULE_GCC_FLAGS2 = -fno-merge-constants
MODULE_GCC_FLAGS = $(MODULE_GCC_FLAGS1) $(MODULE_GCC_FLAGS2)
MODULE_CFLAGS = $(MODULE_PIC_FLAGS) $(MODULE_GCC_FLAGS)
INSTPGMFLAGS =
DRILIB =
GLXLIB = GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a
GLXDIR = GL
GLXEXT = $(GLXLIB)
XINPUTEXT = Xi/libxinput.a
XIDIR = Xi
XKBEXT = xkb/libxkb.a
XKBDIR = xkb
XF86XKBOBJS = xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86Private.o
LBXEXT = lbx/liblbx.a $(TOP)/lib/lbxutil/liblbxutil.a
LBXDIRS = lbx
DBEEXT = dbe/libdbe.a
DBEDIR = dbe
RECORDEXT = record/librecord.a
RECORDDIR = record
XTRAPEXT = XTrap/libxtrap.a
XTRAPDIR = XTrap
LIBDL = -rdynamic -ldl
LIBREGEX =
LIBCWRAPPER = os/libcwrapper.o
XPFBLIBS = dix/libxpstubs.a
RENDERDIR = render
RENDERLIB = $(RENDERDIR)/librender.a
RANDRDIR = randr
RANDRLIB = $(RANDRDIR)/librandr.a
EXTENSIONS = $(OTHEREXTS) $(RANDRLIB) $(RENDERLIB)
LOADABLEEXTS = $(MISCEXT) $(DBEEXT) $(RECORDEXT) $(GLXEXT) $(XTRAPEXT)
MISCEXT = Xext/libext.a
OTHEREXTS = Xext/libexts.a $(XKBEXT) $(XINPUTEXT) $(LBXEXT) $(SITEEXTS)
EXTDIRS = Xext $(XKBDIR) $(XIDIR) $(GLXDIR) $(LBXDIRS) $(DBEDIR) $(RECORDDIR) $(SITEEXTDIRS) $(RANDRDIR) $(RENDERDIR) $(XTRAPDIR)
ZLIB = -lz
OS = os/libos.a
BSDEMUL = $(DEPXBSDLIB)
MFB = mfb/libmfb.a
FB = fb/libfb.a
CFB = cfb/libcfb.a cfb16/libcfb16.a cfb24/libcfb24.a cfb32/libcfb32.a
CFB8 = cfb/libcfb.a
CFB4 = cfb/libcfb.a cfb4/libcfb4.a
CFB16 = cfb/libcfb.a cfb16/libcfb16.a
CFB24 = cfb/libcfb.a cfb24/libcfb24.a
CFB32 = cfb/libcfb.a cfb32/libcfb32.a
SHADOW = miext/shadow/libshadow.a
LAYER = miext/layer/liblayer.a
MI = mi/libmi.a
MIINITEXTOBJ = mi/miinitext.o
DIX = dix/libdix.a
FONTBASE = $(FONTLIBSRC)/fontbase.o $(FONTLIBSRC)/libfontbase.a
FONT = $(FONTLIBSRC)/libXfont.a $(FREETYPE2LIB)
FONTLIBS = $(FONT) $(XPFBLIBS)
EXTRASYSLIBS =
SYSLIBS = $(ZLIB) -lm $(DBMLIBS) $(USB) $(PAMLIBS) $(XAUTHLIB) $(XDMCPLIB) $(EXTRASYSLIBS)
STDDIRS = include dix os mi $(XPDDXDIR) $(EXTDIRS)
FBDIR = fb
MFBDIR = mfb
CFB4DIR = cfb4
CFB8DIR = cfb
CFB16DIR = cfb16
CFB24DIR = cfb24
CFB32DIR = cfb32
AFBDIR = afb
#
# This turns off the default rule for compiling .c files because
# this makefile does not really know how to build it. This is really
# just a hack because of the Sun version of make and nfs.
#
.c.o:
.s.o:
#
# XFree86 Server
#
FBSUBDIR = fb
MFBSUBDIR = mfb
CFB8SUBDIR = cfb
CFB16SUBDIR = cfb16
CFB24SUBDIR = cfb24
CFB32SUBDIR = cfb32
SHADOWDIR = miext/shadow
LAYERDIR = miext/layer
AFBSUBDIR = afb
XFREE86DDXDIR = hw/xfree86
XF86SERVERSUBDIRS = $(STDDIRS) $(MFBDIR) $(FBDIR) $(AFBDIR) $(CFB8DIR) $(CFB16DIR) $(CFB24DIR) $(CFB32DIR) $(SHADOWDIR) $(LAYERDIR) $(XFREE86DDXDIR) $(DEPDIRS)
XF86INIT = $(XF86COMSRC)/xf86Init.o $(XF86COMSRC)/xf86IniExt.o
XF86COMLIB = $(XF86COMSRC)/libxf86.a
XF86PARSLIB= $(XF86PARSERSRC)/libxf86config.a
XF86OSLIB = $(XF86OSSRC)/libxf86_os.a
XF86XAALIB = $(XF86SRC)/xaa/libxaa.a
XF86VGAHWLIB = $(XF86SRC)/vgahw/libvgahw.a
XF86FBDEVHWLIB = $(XF86SRC)/fbdevhw/libfbdevhw.a
XF1BPPLIB = $(XF86SRC)/xf1bpp/libxf1bpp.a
XF4BPPLIB = $(XF86SRC)/xf4bpp/libxf4bpp.a
XF8_32BPPLIB = $(XF86SRC)/xf8_32bpp/libxf8_32bpp.a
XF8_16BPPLIB = $(XF86SRC)/xf8_16bpp/libxf8_16bpp.a
XF24_32BPPLIB = $(XF86SRC)/xf24_32bpp/libxf24_32bpp.a
XFSHADOWFBLIB = $(XF86SRC)/shadowfb/libshadowfb.a
AFBLIB = afb/libafb.a
XF86DRIVERLIB = $(XF86SRC)/drivers/libdriver.a
XF86RAMDACLIB = $(XF86SRC)/ramdac/libramdac.a
XF86I2CLIB = $(XF86SRC)/i2c/libi2c.a
XF86DDCLIB = $(XF86SRC)/ddc/libddc.a
XF86VBELIB = $(XF86SRC)/vbe/libvbe.a
XF86RACLIB = $(XF86SRC)/rac/librac.a
XF86INT10LIB = $(XF86OSSRC)/libint10.a
XF86RDPLIBS=$(XF86SRC)/rdp/librdp.a -L/usr/local/lib
XF86IDRIVERLIB = $(XF86SRC)/input/libidriver.a
XF86LIBS = $(MEMDEBUGLIB) $(XF86INIT) $(XF86COMLIB) $(XF86PARSLIB) $(XF86OSLIB)
XF86LOADERLIB = $(XF86SRC)/loader/libloader.a
XF86MAINLIBS = $(DIX) $(OS) $(FONTBASE) $(OTHEREXTS) $(XF86COMLIB) $(EXTENSIONS) $(XPFBLIBS) $(MI) $(EXTENSIONS)
XF86SERVERSYSLIBS = $(SYSLIBS) $(LIBDL) $(LIBREGEX)
XF86SERVERLIBS = $(XF86DRVLIBS) $(XF86IDRVLIBS) $(XF86LIBS) $(XF86LOADERLIB) $(XF86COMLIB) $(XF86MAINLIBS) $(XF86SCANLIB) $(XF86OSLIB)
XF86SERVEROBJS = $(XF86XKBOBJS) $(XF86DRVOBJS) $(XF86IDRVOBJS)
$(XF86SERVERLIBS) $(XF86SERVERSYSLIBS):: $(XF86SERVERSUBDIRS)
@if [ -f $@ ]; then touch $@ >/dev/null 2>&1 || exit 0; fi
all:: XFree86
XFree86: $(XF86SERVERSUBDIRS) $(XF86SERVEROBJS) $(SERVERDEFFILE) $(XF86SERVERLIBS)
-@if [ -f $@ ]; then set -x; \
$(MV) $@ $@.bak; else exit 0; fi
$(CCLINK) -o $@ $(LDOPTIONS) $(XF86SERVEROBJS) $(SERVERDEFFILE) $(XF86SERVERLIBS) $(LDLIBS) $(XF86SERVERSYSLIBS) $(EXTRA_LOAD_FLAGS)
loadXFree86:
-@if [ -f XFree86 ]; then set -x; \
$(MV) XFree86 XFree86.bak; else exit 0; fi
$(CCLINK) -o XFree86 $(LDOPTIONS) $(XF86SERVEROBJS) $(SERVERDEFFILE) $(XF86SERVERLIBS) $(LDLIBS) $(XF86SERVERSYSLIBS) $(EXTRA_LOAD_FLAGS)
loadX:: loadXFree86
install:: XFree86
@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) $(INSTUIDFLAGS) XFree86 $(DESTDIR)$(BINDIR)/XFree86
cleandir::
$(RM) XFree86
install.sdk:: XFree86
@if [ -d $(DESTDIR)$(DRIVERSDKDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(DRIVERSDKDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(DRIVERSDKDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(DRIVERSDKDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(_NOOP_) XFree86 $(DESTDIR)$(DRIVERSDKDIR)/XFree86
#
# RDP X server
#
MFBSUBDIR = mfb
FBSUBDIR = fb
RDPDDXDIR = hw/rdp
XRDPDIRS = $(STDDIRS) $(MFBDIR) $(FBDIR) $(RDPDDXDIR) $(DEPDIRS)
XRDPOBJS =
RDPLIBS =
XRDP = $(OTHEREXTS) hw/rdp/librdp.a $(RDPLIBS) $(OTHEREXTS)
#XRDPLIBS = $(LIBCWRAPPER) $(DIX) $(OS) $(XPDDX) $(XRDP) $(MFB) $(FB) $(MFB) $(XPFBLIBS) $(MI) $(EXTENSIONS)
XRDPLIBS = $(DIX) $(OS) $(XPDDX) $(XRDP) $(MFB) $(FB) $(MFB) $(XPFBLIBS) $(MI) $(EXTENSIONS)
XRDPSYSLIBS = $(FONTLIBS) $(SYSLIBS) $(RDPSYSLIBS) $(LOADABLEEXTS)
all:: Xrdp
Xrdp: $(XRDPDIRS) $(XRDPOBJS) $(XRDPLIBS)
-@if [ -f $@ ]; then set -x; \
$(MV) $@ $@.bak; else exit 0; fi
$(CCLINK) -o $@ $(LDOPTIONS) $(XRDPOBJS) $(XRDPLIBS) $(LDLIBS) $(XRDPSYSLIBS) $(FONTLIBS) -L/usr/local/lib $(EXTRA_LOAD_FLAGS)
loadXrdp:
-@if [ -f Xrdp ]; then set -x; \
$(MV) Xrdp Xrdp.bak; else exit 0; fi
$(CCLINK) -o Xrdp $(LDOPTIONS) $(XRDPOBJS) $(XRDPLIBS) $(LDLIBS) $(XRDPSYSLIBS) $(FONTLIBS) -L/usr/local/lib $(EXTRA_LOAD_FLAGS)
loadX:: loadXrdp
install:: Xrdp
@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) $(_NOOP_) Xrdp $(DESTDIR)$(BINDIR)/Xrdp
cleandir::
$(RM) Xrdp
CFBSUBDIRS = $(CFB8SUBDIR) $(CFB16SUBDIR) $(CFB24SUBDIR) $(CFB32SUBDIR)
MIEXTDIRS = $(SHADOWDIR) $(LAYERDIR) $(ROOTLESSDIR)
IPLANDIRS = $(IPLAN2P2DIR) $(IPLAN2P4DIR) $(IPLAN2P8DIR)
DDXDIRS = $(DECWSDDXDIR) $(SUNDDXDIR) $(LYNXDDXDIR) $(HPDDXDIR) $(XFREE86DDXDIR) $(XWINDDXDIR) $(DARWINDDXDIR) $(XVFBDDXDIR) $(XNESTDDXDIR) $(RDPDDXDIR)
SUBDIRS = $(STDDIRS) $(MFBSUBDIR) $(CFBSUBDIRS) $(IPLANDIRS) $(ILBMDIR) $(AFBSUBDIR) $(LMFCFBDIR) $(DDXDIRS) $(FBSUBDIR) $(KDRIVEDIRS) $(MIEXTDIRS) $(XWINPARSERDIR)
install::
-(cd $(DESTDIR)$(BINDIR); $(RM) X; $(LN) XFree86 X)
depend::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "depending" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) depend; \
done
lintlib::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "linting" for lintlib and lintlib "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR=$(DESTDIR) LINTOPTS='$(LINTOPTS)' lintlib; \
done
lint::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "linting" for lint and lint "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR=$(DESTDIR) LINTOPTS='$(LINTOPTS)' lint; \
done
$(DEPDIRS) $(SUBDIRS): FRC
@echo "making all in $(CURRENT_DIR)/$@..."
@$(MAKE) -C $@ $(MFLAGS) $(PARALLELMFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" LDSTRIPFLAGS="$(LDSTRIPFLAGS)" all
FRC:
all:: Xserver.$(MANSUFFIX).html
Xserver.$(MANSUFFIX).html: Xserver.$(MANNEWSUFFIX) $(RMAN)
$(RM) Xserver.$(MANSUFFIX).html Xserver.$(MANSUFFIX)-html
$(RMAN) $(RMANOPTIONS) < Xserver.$(MANNEWSUFFIX) \
> Xserver.$(MANSUFFIX)-html && $(MV) Xserver.$(MANSUFFIX)-html $@
install.man:: Xserver.$(MANSUFFIX).html
@if [ -d $(DESTDIR)$(DOCHTMLDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(DOCHTMLDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(DOCHTMLDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(DOCHTMLDIR)); \
fi
@(SUF=`expr $(MANSUFFIX) \: '\(.\)'`; \
set -x; \
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) Xserver.$(MANSUFFIX).html $(DESTDIR)$(DOCHTMLDIR)/Xserver.$$SUF.html)
cleandir::
$(RM) Xserver.$(MANSUFFIX).html Xserver.$(MANSUFFIX)-html
all:: Xserver.$(MANNEWSUFFIX)
Xserver.$(MANNEWSUFFIX):: Xserver.$(MANSRCSUFFIX)
$(RM) $@
$(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) <Xserver.$(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/\@\@$$/\\/' >$@
cleandir::
$(RM) Xserver.$(MANNEWSUFFIX)
install.man:: Xserver.$(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) Xserver.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/Xserver.$(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::
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
Makefile:: $(IMAKE)
$(IMAKE) $(IMAKE).o:
-@(cd $(IMAKESRC) && if [ -f Makefile ]; then \
echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) imakeonly; else \
echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
$(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; fi; \
echo "okay, continuing in $(CURRENT_DIR)")
Makefile::
-@if [ -f Makefile ]; then set -x; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
else exit 0; fi
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
$(RMAN):
@echo "checking $(RMANBASENAME) over in $(TOP)/config/util first..."; \
cd $(TOP)/config/util && $(MAKE) rmanonly; \
echo "okay, continuing in $(CURRENT_DIR)"
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
man_keywords::
html_index::
$(HTMLINDEXCMD) $(DESTDIR)$(DOCHTMLDIR)
clean:: cleandir
distclean:: cleandir
# ----------------------------------------------------------------------
# rules for building in SUBDIRS - do not edit
install::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "installing" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR=$(DESTDIR) install; \
done
install.man::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR=$(DESTDIR) install.man; \
done
install.sdk::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "installing driver SDK" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR='$(DESTDIR)' install.sdk; \
done
clean::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) clean; \
done
tags::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "tagging" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) TAGS='$(TAGS)' tags; \
done
$(ONESUBDIR)/Makefile:
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[n]*) executeit="no";; esac; done; \
cd $(ONESUBDIR) && \
if [ "$$executeit" != "no" ]; then \
$(IMAKEPREFIX)$(IMAKE) -I$(IMAKEPREFIX)$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS) -DTOPDIR=$(IMAKETOP) -DCURDIR=$(ONECURDIR)$(ONESUBDIR); \
fi;
Makefiles::
-@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[n]*) executeit="no";; esac; done; \
for i in $(SUBDIRS) ;\
do \
case "$(CURRENT_DIR)" in \
.) curdir= ;; \
*) curdir=$(CURRENT_DIR)/ ;; \
esac; \
echo "making Makefiles in $$curdir$$i..."; \
itmp=`echo $$i | sed -e 's;^\./;;g' -e 's;/\./;/;g'`; \
curtmp="$(CURRENT_DIR)" \
toptmp=""; \
case "$$itmp" in \
../?*) \
while echo "$$itmp" | grep '^\.\./' > /dev/null;\
do \
toptmp="/`basename $$curtmp`$$toptmp"; \
curtmp="`dirname $$curtmp`"; \
itmp="`echo $$itmp | sed 's;\.\./;;'`"; \
done \
;; \
esac; \
case "$$itmp" in \
*/?*/?*/?*/?*) newtop=../../../../..;; \
*/?*/?*/?*) newtop=../../../..;; \
*/?*/?*) newtop=../../..;; \
*/?*) newtop=../..;; \
*) newtop=..;; \
esac; \
newtop="$$newtop$$toptmp"; \
case "$(TOP)" in \
/?*) imaketop=$(TOP) \
imakeprefix= ;; \
.) imaketop=$$newtop \
imakeprefix=$$newtop/ ;; \
*) imaketop=$$newtop/$(TOP) \
imakeprefix=$$newtop/ ;; \
esac; \
$(RM) $$i/Makefile.bak; \
if [ -f $$i/Makefile ]; then \
echo " $(MV) Makefile Makefile.bak"; \
if [ "$$executeit" != "no" ]; then \
$(MV) $$i/Makefile $$i/Makefile.bak; \
fi; \
fi; \
$(MAKE) $(MFLAGS) $(MAKE_OPTS) ONESUBDIR=$$i ONECURDIR=$$curdir IMAKETOP=$$imaketop IMAKEPREFIX=$$imakeprefix $$i/Makefile; \
if [ -d $$i ] ; then \
cd $$i; \
$(MAKE) $(MFLAGS) Makefiles; \
cd $$newtop; \
else \
exit 1; \
fi; \
done
includes::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo including "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) includes; \
done
distclean::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac; done; \
for i in $(SUBDIRS) ;\
do \
echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) distclean; \
done
distclean::
$(RM) Makefile Makefile.dep
# ----------------------------------------------------------------------
# dependencies generated by makedepend