# Makefile generated by imake - do not edit! # $TOG: imake.c /main/97 1997/06/20 20:23:51 kaleb $ # ---------------------------------------------------------------------- # Makefile generated from "Imake.tmpl" and # $TOG: Imake.tmpl /main/245 1997/05/20 10:05:47 kaleb $ # # # # # $XFree86: xc/config/cf/Imake.tmpl,v 3.32.2.12 1999/01/09 14:18:57 dawes Exp $ # ---------------------------------------------------------------------- all:: .SUFFIXES: .i # $TOG: Imake.cf /main/28 1997/06/25 08:31:36 barstow $ # $XFree86: xc/config/cf/Imake.cf,v 3.34.2.14 1999/07/29 09:22:23 hohndel Exp $ # ----------------------------------------------------------------------- # site-specific configuration parameters that need to come before # the platform-specific parameters - edit site.def to change # site: $XConsortium: site.def /main/revisionist/4 1996/12/31 08:02:07 kaleb $ # site: $XFree86: xc/config/cf/site.def,v 3.17.2.1 1997/06/22 10:32:21 dawes Exp $ # $XFree86: xc/config/cf/xf86site.def,v 3.101.2.36 1999/12/28 12:13:34 hohndel Exp $ # ---------------------------------------------------------------------- # platform-specific configuration parameters - edit linux.cf to change # platform: $TOG: linux.cf /main/36 1997/06/16 22:21:03 kaleb $ # platform: $XFree86: xc/config/cf/linux.cf,v 3.57.2.19 1999/09/04 09:12:27 dawes Exp $ # operating system: Linux 2.2.17 i686 [ELF] (2.2.17) # libc: (6.1.3) # binutils: (29) # $XConsortium: lnxLib.rules /main/13 1996/09/28 16:11:01 rws $ # $XFree86: xc/config/cf/lnxLib.rules,v 3.28.2.4 1998/12/18 11:56:08 dawes Exp $ # $XFree86: xc/config/cf/xfree86.cf,v 3.129.2.53 1999/12/10 12:38:13 hohndel Exp $ # $XConsortium: xfree86.cf /main/34 1996/12/06 11:45:18 rws $ LINKKITDIR = $(USRLIBDIR)/Server XF98LINKKITDIR = $(USRLIBDIR)/Server XF86SRC = $(SERVERSRC)/hw/xfree86 XF86ACCELSRC = $(XF86SRC)/accel XF86COMSRC = $(XF86SRC)/common XF86CONFIGSRC = $(XF86COMSRC) XF86HWSRC = $(XF86SRC)/common_hw XF86OSSRC = $(XF86SRC)/os-support VGADRIVERSRC = $(XF86SRC)/vga256/drivers VGA16DRIVERSRC = $(XF86SRC)/vga16/drivers VGA2DRIVERSRC = $(XF86SRC)/vga2/drivers MONODRIVERSRC = $(XF86SRC)/mono/drivers S3DRIVERSRC = $(XF86SRC)/accel/s3/drivers S3VDRIVERSRC = $(XF86SRC)/accel/s3_virge/drivers XF68SRC = $(SERVERSRC)/hw/xfree68 XF68COMSRC = $(XF68SRC)/common XF68CONFIGSRC = $(XF68COMSRC) XF68OSSRC = $(XF68SRC)/os-support XF98SRC = $(SERVERSRC)/hw/xfree98 XF98ACCELSRC = $(XF98SRC)/accel XF98COMSRC = $(XF98SRC)/common XF98CONFIGSRC = $(XF98COMSRC) XF98HWSRC = $(XF98SRC)/common_hw/generic XF98HWNECSRC = $(XF98SRC)/common_hw/nec XF98HWPWSKBSRC = $(XF98SRC)/common_hw/pwskb XF98HWPWLBSRC = $(XF98SRC)/common_hw/pwlb XF98HWGA968SRC = $(XF98SRC)/common_hw/ga968 XF98OSSRC = $(XF98SRC)/os-support XF98VGADRIVERSRC = $(XF98SRC)/vga256/drivers XF98VGA16DRIVERSRC = $(XF98SRC)/vga16/drivers XF98VGA2DRIVERSRC = $(XF98SRC)/vga2/drivers XF98MONODRIVERSRC = $(XF98SRC)/mono/drivers XF98NECS3DRIVERSRC = $(XF98SRC)/accel/s3nec/drivers XF98PWSKBDRIVERSRC = $(XF98SRC)/accel/s3pwskb/drivers XF98PWLBDRIVERSRC = $(XF98SRC)/accel/s3pwlb/drivers XF98GA968DRIVERSRC = $(XF98SRC)/accel/s3ga968/drivers XFREE86DOCDIR = $(DOCDIR) XFREE86PSDOCDIR = $(DOCPSDIR) XFREE86HTMLDOCDIR = $(DOCHTMLDIR) XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese # $XConsortium: xf86.rules /main/9 1996/10/31 14:54:26 kaleb $ # $XFree86: xc/config/cf/xf86.rules,v 3.16.2.3 1999/09/04 07:08:46 dawes Exp $ # ---------------------------------------------------------------------- # site-specific configuration parameters that go after # the platform-specific parameters - edit site.def to change # site: $XConsortium: site.def /main/revisionist/4 1996/12/31 08:02:07 kaleb $ # site: $XFree86: xc/config/cf/site.def,v 3.17.2.1 1997/06/22 10:32:21 dawes Exp $ # --------------------------------------------------------------------- # Imake rules for building libraries, programs, scripts, and data files # rules: $TOG: Imake.rules /main/222 1997/07/17 20:04:40 kaleb $ # rules: $XFree86: xc/config/cf/Imake.rules,v 3.33.2.10 1998/11/04 10:53:01 dawes Exp $ _NULLCMD_ = @ echo -n TKLIBNAME = tk8.2 TKLIBDIR = /usr/lib TCLLIBNAME = tcl8.2 TCLIBDIR = /usr/lib JPTKLIBNAME = JPTKLIBDIR = JPTCLLIBNAME = JPTCLIBDIR = PATHSEP = / SHELL = /bin/sh TOP = . CURRENT_DIR = . IMAKE = imake DEPEND = gccmakedep MKDIRHIER = mkdir -p EXPORTLISTGEN = CONFIGSRC = $(TOP)/config IMAKESRC = $(CONFIGSRC)/imake DEPENDSRC = $(CONFIGSRC)/util INCROOT = /usr/X11R6/include USRLIBDIR = /usr/X11R6/lib VARLIBDIR = /var/lib SHLIBDIR = /usr/X11R6/lib LINTLIBDIR = $(USRLIBDIR)/lint MANPATH = /usr/X11R6/man MANSOURCEPATH = $(MANPATH)/man MANDIR = $(MANSOURCEPATH)1 LIBMANDIR = $(MANSOURCEPATH)3 FILEMANDIR = $(MANSOURCEPATH)5 AR = ar clq BOOTSTRAPCFLAGS = CC = gcc AS = as .SUFFIXES: .cc CXX = c++ CXXFILT = c++filt CXXLIB = CXXDEBUGFLAGS = -O2 -g -Wall CXXDEPENDINCLUDES = CXXEXTRA_DEFINES = CXXEXTRA_INCLUDES = CXXSTD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE $(CXXPROJECT_DEFINES) CXXOPTIONS = CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES) $(DEFINES) CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES) COMPRESS = compress GZIPCMD = gzip CPP = /lib/cpp $(STD_CPP_DEFINES) PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES) INSTALL = install INSTALLFLAGS = -c LD = ld LEX = flex -l 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 MANSUFFIX = 1x LIBMANSUFFIX = 3x FILEMANSUFFIX = 5x TROFF = groff -Tps NROFF = nroff MSMACROS = -ms MANMACROS = -man TBL = tbl EQN = eqn NEQN = neqn COL = col COLFLAGS = -b DVIPS = dvips LATEX = latex STD_INCLUDES = STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE $(PROJECT_DEFINES) STD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE $(PROJECT_DEFINES) EXTRA_LOAD_FLAGS = EXTRA_LDOPTIONS = EXTRA_LIBRARIES = TAGS = ctags PARALLELMFLAGS = SHAREDCODEDEF = SHLIBDEF = SHLIBLDFLAGS = -shared PICFLAGS = -fPIC CXXPICFLAGS = -fPIC PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO INSTPGMFLAGS = -s INSTBINFLAGS = -m 0755 INSTUIDFLAGS = -m 4711 INSTLIBFLAGS = -m 0644 INSTINCFLAGS = -m 0644 INSTMANFLAGS = -m 0644 INSTDATFLAGS = -m 0644 INSTKMEMFLAGS = -m 4711 PROJECTROOT = /usr/X11R6 CDEBUGFLAGS = -O2 -g -Wall CCOPTIONS = ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES) LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) LDPRELIB = -L$(USRLIBDIR) 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 = # Not sure this belongs here TKLIBDIR = /usr/lib TKINCDIR = /usr/include TKLIBNAME = tk8.2 TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME) TCLLIBDIR = /usr/lib TCLINCDIR = /usr/include TCLLIBNAME = tcl8.2 TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME) JPTKLIBDIR = JPTKINCDIR = JPTKLIBNAME = JPTKLIBRARY = -L$(JPTKLIBDIR) -l$(JPTKLIBNAME) JPTCLLIBDIR = JPTCLINCDIR = JPTCLLIBNAME = JPTCLLIBRARY = -L$(JPTCLLIBDIR) -l$(JPTCLLIBNAME) MACROFILE = linux.cf RM_CMD = $(RM) IMAKE_DEFINES = IRULESRC = $(CONFIGDIR) IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) 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) # $TOG: X11.rules /main/4 1997/04/30 15:23:24 kaleb $ # # # # $XFree86: xc/config/cf/X11.rules,v 1.1.1.1.2.4 1999/04/21 07:20:58 hohndel Exp $ # ---------------------------------------------------------------------- # X Window System Build Parameters and Rules # $TOG: X11.tmpl /main/292 1997/05/20 10:05:59 kaleb $ # # # # # $XFree86: xc/config/cf/X11.tmpl,v 1.8.2.9 1998/12/30 10:04:09 dawes Exp $ CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT # ----------------------------------------------------------------------- # 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 = ../.. XBUILDINCROOT = $(XTOP)/exports XBUILDINCDIR = $(XBUILDINCROOT)/include/X11 XBUILDINCTOP = ../../.. XBUILDBINDIR = $(XBUILDINCROOT)/bin INCDIR = $(INCROOT) ADMDIR = /usr/adm LIBDIR = $(USRLIBDIR)/X11 TOP_X_INCLUDES = VARDIR = /var/X11 DOCDIR = $(LIBDIR)/doc DOCHTMLDIR = $(DOCDIR)/html DOCPSDIR = $(DOCDIR)/PostScript FONTDIR = $(LIBDIR)/fonts XINITDIR = $(LIBDIR)/xinit XDMDIR = $(LIBDIR)/xdm XDMVARDIR = $(VARLIBDIR)/xdm TWMDIR = $(LIBDIR)/twm XSMDIR = $(LIBDIR)/xsm NLSDIR = $(LIBDIR)/nls XLOCALEDIR = $(LIBDIR)/locale PEXAPIDIR = $(LIBDIR)/PEX LBXPROXYDIR = $(LIBDIR)/lbxproxy PROXYMANAGERDIR = $(LIBDIR)/proxymngr XPRINTDIR = $(LIBDIR) XAPPLOADDIR = $(LIBDIR)/app-defaults FONTCFLAGS = -t INSTAPPFLAGS = $(INSTDATFLAGS) RGB = rgb FONTC = bdftopcf MKFONTDIR = mkfontdir 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 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 TRANSCOMMSRC = $(LIBSRC)/xtrans TRANS_INCLUDES = -I$(TRANSCOMMSRC) XENVLIBDIR = $(USRLIBDIR) CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) # $XConsortium: lnxLib.tmpl,v 1.5 95/01/11 21:44:44 kaleb Exp $ # $XFree86: xc/config/cf/lnxLib.tmpl,v 3.9 1996/02/24 04:32:52 dawes Exp $ XLIBSRC = $(LIBSRC)/X11 SOXLIBREV = 6.1 DEPXONLYLIB = XONLYLIB = -lX11 LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln XLIBONLY = $(XONLYLIB) XEXTLIBSRC = $(LIBSRC)/Xext SOXEXTREV = 6.3 DEPEXTENSIONLIB = EXTENSIONLIB = -lXext LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln LINTEXTENSIONLIB = $(LINTEXTENSION) DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB) XLIB = $(EXTENSIONLIB) $(XONLYLIB) LINTXLIB = $(LINTXONLYLIB) XSSLIBSRC = $(LIBSRC)/Xss DEPXSSLIB = $(USRLIBDIR)/libXss.a XSSLIB = -lXss LINTXSS = $(LINTLIBDIR)/llib-lXss.ln XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc DEPXXF86MISCLIB = $(USRLIBDIR)/libXxf86misc.a XXF86MISCLIB = -lXxf86misc LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm DEPXXF86VMLIB = $(USRLIBDIR)/libXxf86vm.a XXF86VMLIB = -lXxf86vm LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga DEPXXF86DGALIB = $(USRLIBDIR)/libXxf86dga.a XXF86DGALIB = -lXxf86dga LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln XDPMSLIBSRC = $(LIBSRC)/Xdpms DEPXDPMSLIB = $(USRLIBDIR)/libXdpms.a XDPMSLIB = -lXdpms LINTXDPMS = $(LINTLIBDIR)/llib-lXdpms.ln XAUTHSRC = $(LIBSRC)/Xau DEPXAUTHLIB = $(USRLIBDIR)/libXau.a XAUTHLIB = -lXau LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln XDMCPLIBSRC = $(LIBSRC)/Xdmcp DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a XDMCPLIB = -lXdmcp LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln XMUSRC = $(LIBSRC)/Xmu SOXMUREV = 6.0 DEPXMULIB = XMULIB = -lXmu LINTXMU = $(LINTLIBDIR)/llib-lXmu.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 SOXAWREV = 6.1 DEPXAWLIB = XAWLIB = -lXaw LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln XILIBSRC = $(LIBSRC)/Xi SOXINPUTREV = 6.0 DEPXILIB = XILIB = -lXi LINTXI = $(LINTLIBDIR)/llib-lXi.ln XTESTLIBSRC = $(LIBSRC)/Xtst SOXTESTREV = 6.1 DEPXTESTLIB = XTESTLIB = -lXtst LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln PEXLIBSRC = $(LIBSRC)/PEX5 SOPEXREV = 6.0 DEPPEXLIB = PEXLIB = -lPEX5 LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln XIELIBSRC = $(LIBSRC)/XIE SOXIEREV = 6.0 DEPXIELIB = XIELIB = -lXIE LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln PHIGSLIBSRC = $(LIBSRC)/PHIGS DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a PHIGSLIB = -lphigs LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a XBSDLIB = -lXbsd LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln ICESRC = $(LIBSRC)/ICE SOICEREV = 6.3 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 DEPFSLIB = $(USRLIBDIR)/libFS.a FSLIB = -lFS LINTFS = $(LINTLIBDIR)/llib-lFS.ln FONTLIBSRC = $(LIBSRC)/font DEPFONTLIB = $(USRLIBDIR)/libfont.a FONTLIB = -lfont LINTFONT = $(LINTLIBDIR)/llib-lfont.ln XPMLIBSRC = $(LIBSRC)/Xpm DEPXPMLIB = $(USRLIBDIR)/libXpm.a XPMLIB = -lXpm LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln XKBFILELIBSRC = $(LIBSRC)/xkbfile DEPXKBFILELIB = $(USRLIBDIR)/libxkbfile.a XKBFILELIB = -lxkbfile LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln XKBCOMPCMD = xkbcomp XKBUILIBSRC = $(LIBSRC)/xkbui DEPXKBUILIB = $(USRLIBDIR)/libxkbui.a XKBUILIB = -lxkbui LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.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) XMULIBONLY = -lXmu XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB) CONFIGDIR = $(LIBDIR)/config USRLIBDIRPATH = $(USRLIBDIR) LDPRELIBS = -L$(USRLIBDIR) LDPOSTLIBS = TOP_INCLUDES = -I$(INCROOT) $(TOP_X_INCLUDES) PROJECT_DEFINES = CXXPROJECT_DEFINES = # ---------------------------------------------------------------------- # start of Imakefile # # Top-Level Imakefile - part of the UMDENG X-Tank distribution # # $Id: Imakefile,v 1.7 1992/02/13 06:19:58 lidl Exp $ # # # Imakefile.Config by Kurt Lidl (lidl@pix.com) # # This file (Imakefile.Config) is included in all the other Imakefiles # in the UMDENG X-Tank distribution. Unless you are porting X-Tank to # a new (unsupported) platform, or adding new features to the game, # this should be the only file you need to edit to install the game. # # Things that still need work in the Imakefile system # 1) Testing on more platforms (Very important!) # 2) Addition of Motorola SYSV based config stuff # # If you have any problems *AT ALL* with the Imakefiles themselves, # please be sure to tell the folks who read the USENET newsgroup # rec.games.xtank.programmer. If you can't get or send news, then # you can mail your problems to xtank@eng.umd.edu -- make sure # that you include the information requested in the README file. # Also, make sure that say you can't get news, so people will know to # respond via E-Mail. # Thanks. We'd also love to hear of new robots and tank designs. # This is needed to defeat the people who have systems # that will define 1 to be one, which later turns 1.c into 1.c # Things that might need to be defined, for your installation of xtank. # Put the path to the main xtank directory in quotes in the -DXTANK_DIR # below. This is used as backup in case the environment variable # XTANK_DIR is not set at runtime. The environment variable XTANK_DIR # is set in the shell script called xtank in the Bin directory. # You should change its value there also (to the same value). # # Graphics system: X10 or X11 or AMIGA # The program will not work if X10 or AMIGA is set here. # # Operating system: UNIX or AMIGA # Currently, xtank will not work if AMIGA is set here. # # Screen size: S1024x864 or S640x400 # The program will not work if S640x400 is set here. # If your screen is smaller than 1024x864, then some things will not # be visible # Options inside the game. Read carefully. # -DSTINGY_REDRAW # Doesn't refresh objects that haven't moved. # Might break some some exposure handlers! # Much more robust and better localized than the original STINGY_REDRAW. # Could use some macro-izing or local variables to replace the VS_moved # and VS_rotated ideas. # Files affected: display.c # # -DBATCH_LINES # Caches draw_lines requests into one big Xdrawsegments() call. # Files affected: display.c x11.c x11.h # # -DBATCH_POINTS # Caches draw_point requests into one big Xdrawpoints() call. # Files affected: display.c x11.c x11.h # # -DCODE_SIZE=0xNNNNNN # Default amount of space to allocate for dynamically loaded program # code segments. One CODE_SIZE of space is allocated each time a # program is dynamically loaded. The program that has been dynamically # loaded gets to use CODE_SIZE bytes of memory, minus possibly one # pagesize of memory, depending on whether or not malloc() returns memory # on a page boundary. # # -DSTACK_SIZE=0xNNNNNN # Default amount of space to allocate for each thread (Robot Program) # in the game. Increasing this number can drastically change the # VM usage of Xtank! # # -DFAST_EXPLOS # Makes faster, terser explosions by limiting the number of bitmaps # displayed. # Files affected: circle.obj double.obj exhaust.obj fiery.obj # soft.obj tink.obj # # -DKEYPAD_DETECT # Enables the keypad routines. Currently cause weapon "n" to one shot # each key press on the numeric keypad. Weapon state (on/off) is restored # after firing. # Files affected: input.c x11.c graphics.h # # -DLOCK_GAME_CONTROLS # Locks out some luser controls (speed, sync...) # Strictly a local hack. # Files affected: animate.c input.c # # -DNO_TEXT_CLIP # Disables fix that prevents off-window text from being drawn. # This is a big win as nametags were getting drawn constantly even # when they weren't visible, thus generating needless net trafic. # Most sites should leave it undefined. # Files affected: x11.c # # -DBATCH_COLOR_LINES # Rather memory hungry extensions to cope with colored walls. # Most sites should define it. # Files affected: x11.c x11.h # # -DNO_NEW_RADAR # Don't set this flag, because XTank will not compile with it set! # # About the new radar system: # # The new radar system is similar to a radar system of the 1990's instead # of the 1960's. Big fat vehicles show up better on the radar screen. # RCS can be set by other modules to enable stealthy-type action. # # IFF (Identify Friend or Foe) subsystem. Allows you to distinguish # friends and enemys (and allies) on the new radar. Works with # public-key cryptography, you must have the IFF key of your ally # and he must have your key for it to work. You share IFF keys # with your team-mates automatically. # # Tactical link, shares info with team mates. Currently only shares radar # info, might eventually share mapper info. # # HARM's, high speed anti-radiation missles. Seeking code is still buggy! # You do a L-click in the map (!) window to select the firing coordinates. # NB: The weight/cost/ammo stuff is a rough guess for playing, and most # likely will switch in the next release. # # -DTEST_TURRETS # Experimental. Should be left undefined (ie, disabled) for normal sites. # Argh! This should never be enabled as it stands. Was trying to speed up # turret code. Works by computing actual turret vector. Turret lengths set # for debugging, not playing. # # -DSLOWER # Experimental. Should be defined (ie, disabled) for normal sites. # Various attempts at speeding up the code, probably very dependant # on your CPU. Stay tuned to this channel. # Files affected: collision.c # # -DNO_BROKEN_BLIP_FIX # A fix to a fix. Seems that my last uninformed patch made is possible # to leave a soilitary little dot on the radar if you turned it off # in the last life phase. I'm sorry. # Most sites should leave it undefined. # Files affected: radar.c # # -DNO_FORCE_SPECIALS # Disables a patch that lets you turn off everyones radar. # Most sites should leave it undefined. # # -DNO_GAME_BALANCE # Enables some features that horribly unbalance the game, but can # be fun to play around with. Currently, the only feature enabled # are tactical nukes. # Sites should probably leave this undefined. # # -DSCROLL_INTO_WALL_BUG # Disables a fix that causes vehicles to stick into walls if they # are directed into them by a scroll square. This is an old fix, # but please leave the ifdef in so people can figgure out why the # code appears so funny at that point (and so disbelievers can # recreate the bug!) # Most sites should leave it undefined. # # Everybody needs to know the following global things about xtank DEFINES2 = -DX11 -DUNIX -DS1024x864 -DKEYPAD_DETECT -DSTINGY_REDRAW -DBATCH_LINES -DBATCH_POINTS -DBATCH_COLOR_LINES -DCODE_SIZE=0x20000 -DSTACK_SIZE=0x8000 $(ARCH_DEFINES) # Edited for Debian GNU/Linux. DESTDIR = DEFINES = -DXTANK_DIR=\"$(DESTDIR)/tmp/x\" $(DEFINES2) -DALLDEFINES="\"$(DEFINES2)\"" # Things that might need to be defined, for your particular machine # architecture, and installation of xtank. The best place to add # any flags needed for your particular platform is the # EXTRA_DEFINES line. # # Thread package: THREAD_MP or THREAD_SUNLWP or THREAD_SVR4 # or nothing # # The "standard" threads package is THREAD_MP, which runs on the # machines listed in thread.h. To use it, add -DTHREAD_MP to the # architecture specfic options. # # There is an alternate threads package available on Suns which uses # the LWP library. To use it, add -DTHREAD_SUNLWP to the architecture # specfic options. # # There is another alternate threads package available on System V # Release 4 machines which uses the builtin lightweight context # switching system calls. To use it, add -DTHREAD_SVR4 to the # architecture specfic options. # # If you cannot get threads working using any of these methods, you # will not be able to have computer controlled vehicles. Remove # the any thread flags from the architecture specfic options. # Other weird interactions may happen if no thread package is defined. # # X11R2 fonts: # If your machine is using X11R2 fontnames, instead of X11R3 fontnames, # add a -DX11R2FONTS to the appropriate compile line. # # # If you cannot get XMultiSync.c to compile, remove the -DMULTI_SYNC. # This will make multi-player games noticeably slower, though. # # If you want to restrict multi-player games to have all machines # on the same subnet of your network, add a -DCHECKNET. Some sites # (and local InterNet NOC's) consider running xtank off the local subnet, # or over a campus or long-haul network a *bad thing*. Xtank makes # a *lot* of network traffic, so be considerate of others. # # -DDYNALOAD # If you are not able to get compile_module() to work in unix.c, # remove the -DDYNALOAD flag. You will then not be able to add new # robot programs without recompiling Xtank. # # -DDEBUG # If you want to see some debugging information in unix.c, # add this flag to the appropriate compile line. # # -DHAS_SINCOS # You system has a sincos() math library call. # # If you need to use the auxiliary font add a -DNEED_AUX_FONT to the # correct compile line. # Start of System Dependent Things # (e.g. special options for your particular hardware and installation) ARCH_DEFINES = -DMULTI_SYNC -DDYNALOAD -Dconst="" # ARCH_DEFINES = -DMULTI_SYNC -DTHREAD_MP -DDYNALOAD -Dconst="" XTANK_TARGET = xtank.linux CDEBUGFLAGS = -O3 # CC = gcc-2.95 CC = cc # End of System Dependent Things SUBDIRS = Src all:: @for flag in ${MAKEFLAGS} ''; do \ case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ for i in $(SUBDIRS) ;\ do \ echo "making" all "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) all; \ done TARFILE = /tmp/xtank.tar EXCLUDE = /tmp/excluded release: cp /dev/null ${EXCLUDE} (cd Src ; flex -t setups.l > setups.flexed ) (cd Src ; flex -t vload.l | sed 's/yy/zz/g' > vload.flexed ) find . \( -name \*,v -o -name RCS -o -name Makefile -o -name Makefile.bak -o -name Patches -o -name HeartBurn\* -o -name tags -o -name TAGS -o -name .version \) -print | sed 's/^.\///' >> ${EXCLUDE} gtar +create +verbose +exclude-from ${EXCLUDE} +file ${TARFILE} . (cd Src ; rm -f setups.flexed vload.flexed) compress -v ${TARFILE} rm -f ${EXCLUDE} # ---------------------------------------------------------------------- # common rules for all Makefiles - do not edit .c.i: $(RM) $@ $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@ emptyrule:: clean:: $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"* 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) tags:: $(TAGS) -w *.[ch] $(TAGS) -xw *.[ch] > TAGS man_keywords:: # ---------------------------------------------------------------------- # 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.linkkit:: @for flag in ${MAKEFLAGS} ''; do \ case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ for i in $(SUBDIRS) ;\ do \ echo "installing link kit" "in $(CURRENT_DIR)/$$i..."; \ $(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR='$(DESTDIR)' install.linkkit; \ 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 \ $(IMAKE_CMD) -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 # ---------------------------------------------------------------------- # dependencies generated by makedepend