📄 project.tmpl
字号:
XCOMM -------------------------------------------------------------------------
XCOMM X Window System Build Parameters
XCOMM $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
/*****************************************************************************
* *
* DEFAULT DEFINITONS *
* *
* The following section contains defaults for things that can be overridden *
* in the various *.cf and site.def files. DO NOT EDIT! *
* *
****************************************************************************/
#define ProjectX 5 /* do *not* change this line */
/*
* X-specific things
*/
#ifndef BuildServer
#define BuildServer YES
#endif
#ifndef BuildFonts
#define BuildFonts BuildServer
#endif
#ifndef BuildFontServer
#define BuildFontServer BuildServer
#endif
#ifndef BuildPex
#define BuildPex YES
#endif
#ifndef BuildPexClients
#define BuildPexClients BuildPex
#endif
#ifndef BuildPexExt
#if BuildServer
#define BuildPexExt BuildPex
#else
#define BuildPexExt NO
#endif
#endif
#ifndef BuildXInputExt
#define BuildXInputExt NO
#endif
#ifndef BuildXInputLib
#define BuildXInputLib YES
#endif
#ifndef InstallLibManPages
#define InstallLibManPages YES
#endif
#ifndef InstallXtermSetUID
#define InstallXtermSetUID YES /* xterm needs to be set uid */
#endif
#ifndef InstallXinitConfig
#define InstallXinitConfig NO /* install sample xinit config */
#endif
#ifndef InstallXdmConfig
#define InstallXdmConfig NO /* install sample xdm config */
#endif
#ifndef XdmServersType /* what Xservers files to use */
#if BuildServer
#define XdmServersType ws
#else
#define XdmServersType fs
#endif
#endif
#ifndef InstallFSConfig
#define InstallFSConfig NO /* install sample fs config */
#endif
#ifndef InstallAppDefFiles
#define InstallAppDefFiles YES /* install application defaults */
#endif
#ifndef DebugLibX
#define DebugLibX NO /* debugged X library */
#endif
#ifndef DebugLibXArchive
#define DebugLibXArchive NO /* archive file of above */
#endif
#ifndef ProfileLibX
#define ProfileLibX NO /* profiled X library */
#endif
#ifndef ProfileLibXArchive
#define ProfileLibXArchive NO /* archive file of above */
#endif
#ifndef DebugOldLibX
#define DebugOldLibX NO /* debugged old X library */
#endif
#ifndef ProfileOldLibX
#define ProfileOldLibX NO /* profiled old X library */
#endif
#ifndef DebugLibXt
#define DebugLibXt NO /* debugged toolkit library */
#endif
#ifndef ProfileLibXt
#define ProfileLibXt NO /* profiled toolkit library */
#endif
#ifndef DebugLibXaw
#define DebugLibXaw NO /* debugged widget library */
#endif
#ifndef ProfileLibXaw
#define ProfileLibXaw NO /* profiled widget library */
#endif
#ifndef DebugLibXext
#define DebugLibXext NO /* debugged Xext library */
#endif
#ifndef ProfileLibXext
#define ProfileLibXext NO /* profiled Xext library */
#endif
#ifndef DebugLibXmu
#define DebugLibXmu NO /* debugged Xmu library */
#endif
#ifndef ProfileLibXmu
#define ProfileLibXmu NO /* profiled Xmu library */
#endif
#ifndef DebugLibXau
#define DebugLibXau NO /* debugged auth library */
#endif
#ifndef ProfileLibXau
#define ProfileLibXau NO /* profiled auth library */
#endif
#ifndef DebugLibXdmcp
#define DebugLibXdmcp NO /* debugged XDMCP library */
#endif
#ifndef ProfileLibXdmcp
#define ProfileLibXdmcp NO /* profiled XDMCP library */
#endif
#ifndef DebugLibPex
#define DebugLibPex NO /* debugged PEX5 library */
#endif
#ifndef ProfileLibPex
#define ProfileLibPex NO /* profiled PEX5 library */
#endif
#ifndef ManDirectoryRoot
#ifdef ProjectRoot
#define ManDirectoryRoot Concat(ProjectRoot,/man)
#ifndef XmanLocalSearchPath
#define XmanLocalSearchPath ManDirectoryRoot
#endif
#else
#if SystemV4
#define ManDirectoryRoot /usr/share/man
#else
#define ManDirectoryRoot /usr/man
#endif
#endif
#endif
#ifndef ManSuffix
#define ManSuffix n /* use just one tab or cpp will die */
#endif
#ifndef LibManSuffix
#define LibManSuffix 3 /* use just one tab or cpp will die */
#endif
#ifndef HasXdmAuth
#define HasXdmAuth NO /* if you can not use XDM-AUTH* */
#endif
#ifndef FontFilters
#define FontFilters BDFTOSNFFILT SHELLPATH ZBDFTOSNFFILT
#endif
#ifndef PrimaryScreenResolution
#define PrimaryScreenResolution 72 /* a common resolution */
#endif
#ifndef DefaultFontPath
#if PrimaryScreenResolution < 88 /* (75 + 100) / 2 */
#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/
#else
#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/100dpi/,$(FONTDIR)/75dpi/
#endif
#endif
#ifndef DefaultRGBDatabase
#define DefaultRGBDatabase $(LIBDIR)/rgb
#endif
#ifndef FontCompilerFlags
#define FontCompilerFlags -t
#endif
#ifndef ConnectionFlags
#if (SystemV || SystemV4) && !HasSockets
#define ConnectionFlags -DSTREAMSCONN
#else
#define ConnectionFlags -DTCPCONN -DUNIXCONN
#endif
#endif
#ifndef FontOSDefines
#define FontOSDefines /**/
#endif
#ifndef FontDefines
#define FontDefines -DFONT_SNF -DFONT_BDF -DFONT_PCF -DCOMPRESSED_FONTS FontOSDefines
#endif
#ifndef ExtensionOSDefines
#define ExtensionOSDefines /**/
#endif
#ifndef ExtensionDefines
#ifndef PexDefines
#if BuildPexExt
#define PexDefines -DPEXEXT
#else
#define PexDefines /**/
#endif
#endif
#ifndef ShmDefines
#if HasShm
#define ShmDefines -DMITSHM
#else
#define ShmDefines /**/
#endif
#endif
#ifndef XInputDefines
#if BuildXInputExt
#define XInputDefines -DXINPUT
#else
#define XInputDefines /**/
#endif
#endif
#ifndef BaseExtensionDefines
#define BaseExtensionDefines -DSHAPE -DMULTIBUFFER -DMITMISC PexDefines ShmDefines XInputDefines
#endif
#define ExtensionDefines BaseExtensionDefines ExtensionOSDefines
#endif
#ifndef ServerExtraDefines
#define ServerExtraDefines -DXDMCP
#endif
#ifndef ServerOSDefines
#define ServerOSDefines /**/
#endif
#ifndef ServerDefines
#define ServerDefines StandardDefines ServerExtraDefines ExtensionDefines ServerOSDefines
#endif
#ifndef PexDipexDefines
#define PexDipexDefines /**/
#endif
#ifndef PexDdpexDefines
#define PexDdpexDefines /**/
#endif
#ifndef PexPhigsDefines
#ifndef PexShmIPC
#define PexShmIPC HasShm
#endif
#if PexShmIPC
#define PexPhigsDefines /**/
#else
#define PexPhigsDefines -DPEX_API_SOCKET_IPC
#endif
#endif
#ifndef PexClientDefines
#define PexClientDefines -DPEX_SI_PHIGS
#endif
#ifndef PhigsInclude
#ifdef UseInstalled
#define PhigsInclude -I$(INCDIR)
#else
#define PhigsInclude -I$(BUILDINCDIR)
#endif
#endif
#ifndef PexCDebugFlags
#define PexCDebugFlags DebuggableCDebugFlags
#endif
#ifndef PexCCOptions
#ifdef LibraryCCOptions
#define PexCCOptions LibraryCCOptions
#else
#define PexCCOptions DefaultCCOptions
#endif
#endif
#ifndef DefaultFSConfigFile
#define DefaultFSConfigFile $(LIBDIR)/fs/config
#endif
#ifndef BinDir
#ifdef ProjectRoot
#define BinDir Concat(ProjectRoot,/bin/X11)
#else
#define BinDir /usr/bin/X11
#endif
#endif
#ifndef BuildIncRoot
#define BuildIncRoot $(TOP)
#endif
#ifndef BuildIncTop
#define BuildIncTop .. /* relative to $(TOP)/X11 */
#endif
#ifndef LibDir
#define LibDir $(USRLIBDIR)/X11
#endif
#ifndef ConfigDir
#define ConfigDir $(LIBDIR)/config
#endif
#ifndef LintlibDir
#define LintlibDir $(USRLIBDIR)/lint
#endif
#ifndef FontDir
#define FontDir $(LIBDIR)/fonts
#endif
#ifndef AdmDir
#define AdmDir /usr/adm
#endif
#ifndef XinitDir
#define XinitDir $(LIBDIR)/xinit
#endif
#ifndef XdmDir
#define XdmDir $(LIBDIR)/xdm
#endif
#ifndef XdmConfigurationSubdirectory /* under xdm sources */
#define XdmConfigurationSubdirectory config
#endif
#ifndef TwmDir
#define TwmDir $(LIBDIR)/twm
#endif
#ifndef ManPath
#define ManPath ManDirectoryRoot
#endif
#ifndef ManSourcePath
#define ManSourcePath $(MANPATH)/man
#endif
#ifndef ManDir
#define ManDir $(MANSOURCEPATH)$(MANSUFFIX)
#endif
#ifndef LibmanDir
#define LibmanDir $(MANSOURCEPATH)$(LIBMANSUFFIX)
#endif
#ifndef NlsDir
#define NlsDir $(LIBDIR)/nls
#endif
#ifndef PexApiDir
#define PexApiDir $(LIBDIR)/PEX
#endif
#ifndef XFileSearchPathBase
#define XFileSearchPathBase $(LIBDIR)/%L/%T/%N%C%S:$(LIBDIR)/%l/%T/%N%C%S:$(LIBDIR)/%T/%N%C%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S
#endif
#ifndef XFileSearchPathDefault
#ifdef XAppLoadDir
#define XFileSearchPathDefault XAppLoadDir/%N%C%S:XAppLoadDir/%N%S:XFileSearchPathBase
#else
#define XFileSearchPathDefault XFileSearchPathBase
#endif
#endif
#ifndef XAppLoadDir
#define XAppLoadDir $(LIBDIR)/app-defaults
#endif
#ifndef XtErrorPrefix
#define XtErrorPrefix /* as empty string */
#endif
#ifndef XtWarningPrefix
#define XtWarningPrefix /* as empty string */
#endif
#ifndef OsNameDefines
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -