⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 project.tmpl

📁 genesis 2000 v9.1软件下载
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#define OsNameDefines /* as nothing */
#endif
#ifndef DefaultUserPath			/* for xdm */
#define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb
#endif
#ifndef DefaultSystemPath		/* for xdm */
#define DefaultSystemPath /etc:/bin:/usr/bin:$(BINDIR):/usr/ucb
#endif
#ifndef DefaultSystemShell		/* for xdm to set in SHELL */
#define DefaultSystemShell BourneShell
#endif
#ifndef UseCCMakeDepend			/* use slow cc -E script */
#define UseCCMakeDepend NO
#endif
#ifndef DependDir
#if UseCCMakeDepend
#define DependDir $(SCRIPTSRC)
#else
#define DependDir $(UTILSRC)/makedepend
#endif
#endif
#ifndef ContribDir
#define ContribDir $(TOP)/../contrib	/* contrib is outside core tree */
#endif
#ifndef DependCmd
#define DependCmd $(DEPENDSRC)/makedepend
#endif
#ifndef RemoveTargetProgramByMoving
#define RemoveTargetProgramByMoving NO
#endif
#ifndef AllocateLocalDefines
#define AllocateLocalDefines /**/
#endif

#ifndef ForceNormalLib
#define ForceNormalLib (HasSaberC | HasGcc)
#endif
#ifndef SharedLibX
#define SharedLibX HasSharedLibraries
#endif
#ifndef NormalLibX
#define NormalLibX (!SharedLibX | ForceNormalLib)
#endif
#ifndef SharedOldLibX
#define SharedOldLibX HasSharedLibraries
#endif
#ifndef NormalOldLibX
#define NormalOldLibX (!SharedOldLibX | ForceNormalLib)
#endif
#ifndef SharedLibXt
#define SharedLibXt HasSharedLibraries
#endif
#ifndef NormalLibXt
#define NormalLibXt (!SharedLibXt | ForceNormalLib)
#endif
#ifndef SharedLibXaw
#define SharedLibXaw HasSharedLibraries
#endif
#ifndef NormalLibXaw
#define NormalLibXaw (!SharedLibXaw | ForceNormalLib)
#endif
#ifndef SharedLibXmu
#define SharedLibXmu HasSharedLibraries
#endif
#ifndef NormalLibXmu
#define NormalLibXmu (!SharedLibXmu | ForceNormalLib)
#endif
#ifndef SharedLibXau
#define SharedLibXau NO		/* don't need shared form */
#endif
#ifndef NormalLibXau
#define NormalLibXau (!SharedLibXau | ForceNormalLib)
#endif
#ifndef SharedLibXdmcp
#define SharedLibXdmcp NO	/* don't need shared form */
#endif
#ifndef NormalLibXdmcp
#define NormalLibXdmcp (!SharedLibXdmcp | ForceNormalLib)
#endif
#ifndef SharedLibXext
#define SharedLibXext HasSharedLibraries
#endif
#ifndef NormalLibXext
#define NormalLibXext (!SharedLibXext | ForceNormalLib)
#endif
#ifndef SharedLibXinput
#define SharedLibXinput HasSharedLibraries
#endif
#ifndef NormalLibXinput
#define NormalLibXinput (!SharedLibXinput | ForceNormalLib)
#endif
#ifndef SharedLibPex
#define SharedLibPex HasSharedLibraries
#endif
#ifndef NormalLibPex
#define NormalLibPex (!SharedLibPex | ForceNormalLib)
#endif
#ifndef SharedLibPhigs
#define SharedLibPhigs NO	/* XXX - haven't made it sharable yet */
#endif
#ifndef NormalLibPhigs
#define NormalLibPhigs (!SharedLibPhigs | ForceNormalLib)
#endif


#ifndef DoInstallExtensionsIntoXlib
#define DoInstallExtensionsIntoXlib NO	/* merge Xext.lib into X11.lib */
#endif

XCOMM -------------------------------------------------------------------------
XCOMM X Window System make variables; this need to be coordinated with rules

/*
 * This list must be reflected in the DIRS_TO_BUILD list in the top-level
 * Makefile.
 */
          PATHSEP = /			/* for building filenames */
        USRLIBDIR = UsrLibDir		/* libraries */
           BINDIR = BinDir		/* programs */
          INCROOT = IncRoot		/* base of where to put header files */
     BUILDINCROOT = BuildIncRoot	/* base of build loc */
      BUILDINCDIR = $(BUILDINCROOT)/X11
      BUILDINCTOP = BuildIncTop		/* top relative to BUILDINCDIR */
           INCDIR = $(INCROOT)/X11	/* header files, must end in X11 */
           ADMDIR = AdmDir		/* server log files */
           LIBDIR = LibDir		/* rgb, XErrorDB, etc. */
        CONFIGDIR = ConfigDir		/* build configuration information */
       LINTLIBDIR = LintlibDir		/* lint libraries */

          FONTDIR = FontDir		/* font directories */
         XINITDIR = XinitDir		/* xinit config files */
           XDMDIR = XdmDir		/* xdm config files */
           TWMDIR = TwmDir		/* twm config files */
          MANPATH = ManPath		/* top of manual page tree */
    MANSOURCEPATH = ManSourcePath	/* prefix for man page sources */
        MANSUFFIX = ManSuffix		/* suffix for man pages */
     LIBMANSUFFIX = LibManSuffix	/* suffix for library man pages */
           MANDIR = ManDir		/* man pages for commands */
        LIBMANDIR = LibmanDir		/* man pages for library routines */
           NLSDIR = NlsDir		/* nls files */
        PEXAPIDIR = PexApiDir		/* PEX support files */
      XAPPLOADDIR = XAppLoadDir		/* application default resource dir */
       FONTCFLAGS = FontCompilerFlags

     INSTAPPFLAGS = $(INSTDATFLAGS)	/* XXX - this should go away - XXX */

#ifdef UseInstalled
            IMAKE = imake		/* assume BINDIR in path */
           DEPEND = makedepend		/* assume BINDIR in path */
              RGB = rgb			/* assume BINDIR in path */
#ifdef SnfFonts
            FONTC = bdftosnf		/* assume BINDIR in path */
#else
            FONTC = bdftopcf		/* assume BINDIR in path */
#endif
        MKFONTDIR = mkfontdir		/* assume BINDIR in path */
        MKDIRHIER = BourneShell $(BINDIR)/mkdirhier.sh
#else
            IMAKE = $(IMAKESRC)/imake
           DEPEND = DependCmd
              RGB = $(RGBSRC)/rgb
#ifdef SnfFonts
            FONTC = $(BDFTOSNFSRC)/bdftosnf
#else
            FONTC = $(BDFTOPCFSRC)/bdftopcf
#endif
        MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
        MKDIRHIER = BourneShell $(SCRIPTSRC)/mkdirhier.sh
#endif

        CONFIGSRC = $(TOP)/config
       DOCUTILSRC = $(TOP)/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 = ContribDir
           DOCSRC = $(TOP)/doc
           RGBSRC = $(TOP)/rgb
        DEPENDSRC = DependDir
         IMAKESRC = $(CONFIGSRC)
         XAUTHSRC = $(LIBSRC)/Xau
          XLIBSRC = $(LIBSRC)/X
           XMUSRC = $(LIBSRC)/Xmu
       TOOLKITSRC = $(LIBSRC)/Xt
       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

/*
 * _Use - makes a choice based on UseInstalled.
 */
#ifndef _Use
#ifdef UseInstalled
#define _Use(a,b) a
#else
#define _Use(a,b) b
#endif
#endif

/*
 * _UseCat - combination of _Use and Concat.
 *           exists to avoid problems with some preprocessors
 */
#ifndef _UseCat
#if __STDC__ && !defined(UnixCpp)
#ifdef UseInstalled
#define _UseCat(a,b,c) a##c
#else
#define _UseCat(a,b,c) b##c
#endif
#else
#ifdef UseInstalled
#define _UseCat(a,b,c) a/**/c
#else
#define _UseCat(a,b,c) b/**/c
#endif
#endif
#endif

#ifndef ShLibIncludeFile
/* need this to make ANSI-style proprocessors happy */
#define ShLibIncludeFile <noop.rules>
#endif

#include ShLibIncludeFile

#if HasSharedLibraries
        SOXLIBREV = SharedXlibRev
          SOXTREV = SharedXtRev
         SOXAWREV = SharedXawRev
        SOOLDXREV = SharedOldXRev
         SOXMUREV = SharedXmuRev
        SOXEXTREV = SharedXextRev
      SOXINPUTREV = SharedXinputRev
         SOPEXREV = SharedPexRev
#endif

#if !SharedLibXext
#ifdef	XEXTLIB
  DEPEXTENSIONLIB = _UseCat($(USRLIBDIR),$(EXTENSIONSRC)/lib,/Xext.lib)
     EXTENSIONLIB = LoaderLibPrefix _Use(-lXext, $(DEPEXTENSIONLIB))
#else
  DEPEXTENSIONLIB =
     EXTENSIONLIB =
#endif
#endif
#if !SharedLibX
#ifdef	XEXTLIB
          DEPXLIB = $(DEPEXTENSIONLIB) _UseCat($(USRLIBDIR),$(XLIBSRC),/X11.lib)
             XLIB = $(EXTENSIONLIB) LoaderLibPrefix _Use(-lX11,$(XLIBSRC)/X11.lib)
#else
          DEPXLIB = _UseCat($(USRLIBDIR),$(XLIBSRC),/X11.lib)
             XLIB = LoaderLibPrefix _Use(-lX11,$(XLIBSRC)/X11.lib)
#endif
#endif
      DEPXAUTHLIB = _UseCat($(USRLIBDIR),$(XAUTHSRC),/Xau.lib)
         XAUTHLIB = LoaderLibPrefix _Use(-lXau,$(DEPXAUTHLIB))
      DEPXDMCPLIB = _UseCat($(USRLIBDIR),$(XDMCPLIBSRC),/Xdmcp.lib)
         XDMCPLIB = LoaderLibPrefix _Use(-lXdmcp,$(DEPXDMCPLIB))
#if !SharedLibXmu
        DEPXMULIB = _UseCat($(USRLIBDIR),$(XMUSRC),/Xmu.lib)
           XMULIB = LoaderLibPrefix _Use(-lXmu,$(DEPXMULIB))
#endif
#if !SharedOldLibX
       DEPOLDXLIB = _UseCat($(USRLIBDIR),$(OLDXLIBSRC),/oldX.lib)
          OLDXLIB = LoaderLibPrefix _Use(-loldX,$(DEPOLDXLIB))
#endif
#if !SharedLibXt
      DEPXTOOLLIB = _UseCat($(USRLIBDIR),$(TOOLKITSRC),/Xt.lib)
         XTOOLLIB = LoaderLibPrefix _Use(-lXt,$(DEPXTOOLLIB))
#endif
#if !SharedLibXaw
        DEPXAWLIB = _UseCat($(USRLIBDIR),$(AWIDGETSRC),/Xaw.lib)
           XAWLIB = LoaderLibPrefix _Use(-lXaw,$(DEPXAWLIB))
#endif
#if !SharedLibXinput
        DEPXILIB = _UseCat($(USRLIBDIR),$(XILIBSRC),/Xi.lib)
           XILIB = LoaderLibPrefix _Use(-lXi,$(DEPXILIB))
#endif
#if !SharedLibPex
       DEPPEXLIB = _UseCat($(USRLIBDIR),$(PEXLIBSRC),/PEX5.lib)
          PEXLIB = LoaderLibPrefix _Use(-lPEX5,$(DEPPEXLIB))
#endif
#if !SharedLibPhigs
        DEPPHIGSLIB = _UseCat($(USRLIBDIR),$(PHIGSLIBSRC),/phigs.lib)
           PHIGSLIB = LoaderLibPrefix _Use(-lphigs,$(DEPPHIGSLIB))
#endif
       DEPXBSDLIB = _UseCat($(USRLIBDIR),$(LIBSRC)/Berk,/Xbsd.lib)
          XBSDLIB = LoaderLibPrefix _Use(-lXbsd,$(DEPXBSDLIB))

 LINTEXTENSIONLIB = _UseCat($(LINTLIBDIR),$(EXTENSIONSRC)/lib,/llib-lXext.ln)
         LINTXLIB = _UseCat($(LINTLIBDIR),$(XLIBSRC),/llib-lX11.ln)
          LINTXMU = _UseCat($(LINTLIBDIR),$(XMUSRC),/llib-lXmu.ln)
        LINTXTOOL = _UseCat($(LINTLIBDIR),$(TOOLKITSRC),/llib-lXt.ln)
          LINTXAW = _UseCat($(LINTLIBDIR),$(AWIDGETSRC),/llib-lXaw.ln)
           LINTXI = _UseCat($(LINTLIBDIR),$(XILIBSRC),/llib-lXi.ln)
          LINTPEX = _UseCat($(LINTLIBDIR),$(PEXLIBSRC),/llib-lPEX5.ln)
        LINTPHIGS = _UseCat($(LINTLIBDIR),$(PHIGSLIBSRC),/llib-lphigs.ln)

#ifndef XawClientDepLibs
#define XawClientDepLibs $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
#endif
#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#endif

#ifndef NeedDefaultDepLibs
#define NeedDefaultDepLibs YES
#endif

#if NeedDefaultDepLibs
/*
 * Individual libraries should override this
 */
#if HasSharedLibraries || UseInstalled
          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
#else
          DEPLIBS = $(LOCAL_LIBRARIES)
#endif
         DEPLIBS1 = $(DEPLIBS)
         DEPLIBS2 = $(DEPLIBS)
         DEPLIBS3 = $(DEPLIBS)
#endif /* NeedDefaultDepLibs */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -