📄 x11.tmpl
字号:
#endif#ifndef DefaultFSConfigFile#define DefaultFSConfigFile $(LIBDIR)/fs/config#endif#ifndef BinDir#ifdef ProjectRoot#define BinDir Concat(ProjectRoot,/bin)#else#define BinDir /usr/bin/X11#endif#endif#ifndef BuildIncRoot#define BuildIncRoot $(TOP)/exports#endif#ifndef BuildIncDir#define BuildIncDir $(BUILDINCROOT)/include#endif#ifndef BuildIncTop#define BuildIncTop ../.. /* relative to BuildIncDir */#endif#ifndef XTop# if ImportX11# define XTop $(TOP)/imports/x11# else# define XTop $(TOP)# endif#endif#ifndef XBuildIncRoot# if ImportX11# define XBuildIncRoot $(XTOP)# else# define XBuildIncRoot $(XTOP)/exports# endif#endif#ifndef XBuildIncDir# define XBuildIncDir $(XBUILDINCROOT)/include/X11#endif#ifndef XBuildIncTop# define XBuildIncTop ../../..#endif#ifndef XBuildBinDir# define XBuildBinDir $(XBUILDINCROOT)/bin#endif#ifndef BuildBinDir#define BuildBinDir $(TOP)/exports/bin#endif#ifndef BuildBinTop#define BuildBinTop ../.. /* relative to BuildBinDir */#endif#ifndef BuildLibDir#define BuildLibDir $(TOP)/exports/lib#endif#ifndef BuildLibTop#define BuildLibTop ../.. /* relative to BuildLibDir */#endif#ifndef LibDir#define LibDir $(USRLIBDIR)/X11#endif#ifndef ConfigDir#define ConfigDir $(LIBDIR)/config#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 XdmVarDir#define XdmVarDir $(VARLIBDIR)/xdm#endif#ifndef XdmAuthDir#define XdmAuthDir $(LIBDIR)/xdm#endif#ifndef XdmConfigurationSubdirectory /* under xdm sources */#define XdmConfigurationSubdirectory config#endif#ifndef TwmDir#define TwmDir $(LIBDIR)/twm#endif#ifndef XsmDir#define XsmDir $(LIBDIR)/xsm#endif#ifndef NlsDir#define NlsDir $(LIBDIR)/nls#endif#ifndef XLocaleDir#define XLocaleDir $(LIBDIR)/locale#endif#ifndef PexApiDir#define PexApiDir $(LIBDIR)/PEX#endif#ifndef LbxproxyDir#define LbxproxyDir $(LIBDIR)/lbxproxy#endif#ifndef LbxproxyConfigSubdir /* under lbxproxy sources */#define LbxproxyConfigSubdir config#endif#ifndef ProxyManagerDir#define ProxyManagerDir $(LIBDIR)/proxymngr#endif#ifndef XPrintDir#define XPrintDir $(LIBDIR)#endif#ifndef ServerConfigDir#define ServerConfigDir $(LIBDIR)/xserver#endif#ifndef VarDirectory#define VarDirectory /var/X11#endif#ifndef InstallSecurityConfig#define InstallSecurityConfig YES /* Install sample security policy */#endif#ifndef XFileSearchPathBase/* avoid SCCS keyword */#define XFileSearchPathBase Concat4($(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/* avoid SCCS keyword */#define XFileSearchPathDefault XAppLoadDir/Concat(%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 XtExtraDefines#define XtExtraDefines /* as empty string */#endif#ifndef XtWarningPrefix#define XtWarningPrefix /* as empty string */#endif#ifndef OsNameDefines#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 ContribDir#define ContribDir $(XTOP)/../contrib /* contrib is outside core tree */#endif#ifndef UnsupportedDir#define UnsupportedDir $(XTOP)/unsupported#endif#ifndef AllocateLocalDefines#define AllocateLocalDefines /**/#endif#ifndef ForceNormalLib#define ForceNormalLib (HasGcc && !HasGcc2)#endif#ifndef XkbComp#define XkbComp xkbcomp#endifXCOMM -----------------------------------------------------------------------XCOMM X Window System make variables; these need to be coordinated with rules/* * This list must be reflected in the DIRS_TO_BUILD list in the top-level * Makefile. */ XTOP = XTop BINDIR = BinDir /* programs */ BUILDINCROOT = BuildIncRoot /* base of build loc */ BUILDINCDIR = BuildIncDir /* built headers */ BUILDINCTOP = BuildIncTop /* top relative to BUILDINCDIR */ BUILDLIBDIR = BuildLibDir /* built libraries */ BUILDLIBTOP = BuildLibTop /* top relative to BUILDLIBDIR */ BUILDBINDIR = BuildBinDir /* built binaries */ BUILDBINTOP = BuildBinTop /* top relative to BUILDBINDIR */ XBUILDINCROOT = XBuildIncRoot /* base of X build loc */ XBUILDINCDIR = XBuildIncDir XBUILDINCTOP = XBuildIncTop XBUILDBINDIR = XBuildBinDir INCDIR = $(INCROOT) /* header files */ ADMDIR = AdmDir /* server log files */ LIBDIR = LibDir /* rgb, XErrorDB, etc. */ TOP_X_INCLUDES = TopXInclude#ifdef VarDirectory VARDIR = VarDirectory#endif FONTDIR = FontDir /* font directories */ XINITDIR = XinitDir /* xinit config files */ XDMDIR = XdmDir /* xdm config files */ XDMVARDIR = XdmVarDir /* xdm config files */ TWMDIR = TwmDir /* twm config files */ XSMDIR = XsmDir /* xsm config files */ NLSDIR = NlsDir /* nls files */ XLOCALEDIR = XLocaleDir /* locale files */ PEXAPIDIR = PexApiDir /* PEX support files */ LBXPROXYDIR = LbxproxyDir /* lbxproxy files */ PROXYMANAGERDIR = ProxyManagerDir /* proxy manager config files */ XPRINTDIR = XPrintDir /* print config file root */ XAPPLOADDIR = XAppLoadDir /* application default resource dir */ FONTCFLAGS = FontCompilerFlags INSTAPPFLAGS = $(INSTDATFLAGS) /* XXX - this should go away - XXX */#if UseInstalledX11 RGB = rgb /* assume BINDIR in path */ FONTC = bdftopcf /* assume BINDIR in path */ MKFONTDIR = mkfontdir /* assume BINDIR in path */#else RGB = $(CLIENTENVSETUP) $(XBUILDBINDIR)/rgb FONTC = $(CLIENTENVSETUP) $(XBUILDBINDIR)/bdftopcf MKFONTDIR = $(CLIENTENVSETUP) $(XBUILDBINDIR)/mkfontdir#endif 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 = BuildIncDir XINCLUDESRC = $(INCLUDESRC)/X11 SERVERSRC = $(XTOP)/programs/Xserver CONTRIBSRC = ContribDir UNSUPPORTEDSRC = UnsupportedDir 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)#ifdef X11ProjectRoot XPROJECTROOT = X11ProjectRoot#endif#if HasSharedLibraries#ifndef DontUseLibPathVar#ifndef BuildLibPathVar#define BuildLibPathVar LD_LIBRARY_PATH#endif#endif#endif#ifdef BuildLibPathVar# ifdef SystemBuildLibPath SYSTEMENVLIBDIR = SystemBuildLibPath# endif XENVLIBDIR = X11BuildLibPath CLIENTENVSETUP = BuildLibPathVar=BuildLibPath#else CLIENTENVSETUP = #endif#ifndef ShLibIncludeFile/* need this to make ANSI-style preprocessors happy */#define ShLibIncludeFile <noop.rules>#endif#include ShLibIncludeFile#ifndef XBuildLibDir# define XBuildLibDir BuildLibDir#endif#ifndef SharedLibX11#define SharedLibX11 HasSharedLibraries#endif#ifndef NormalLibX11#define NormalLibX11 (!SharedLibX11 | ForceNormalLib)#endif#ifndef DebugLibX11#define DebugLibX11 NO /* debugged X library */#endif#ifndef ProfileLibX11#define ProfileLibX11 NO /* profiled X library */#endif XLIBSRC = $(LIBSRC)/X11#if SharedLibX11#ifndef SharedX11Rev#define SharedX11Rev 6.1#endifSharedLibReferences(XONLY,X11,$(XLIBSRC),SOXLIBREV,SharedX11Rev)#elseProjectUnsharedLibReferences(XONLY,X11,$(XLIBSRC),XBuildLibDir)#endif XLIBONLY = $(XONLYLIB)#if BuildThreadStubLibrary#ifndef SharedLibXThrStub#define SharedLibXThrStub YES#endif#ifndef NormalLibXThrStub#define NormalLibXThrStub NO#endif#ifndef DebugLibXThrStub#define DebugLibXThrStub NO#endif#ifndef ProfileLibXThrStub#define ProfileLibXThrStub NO#endif XTHRSTUBLIBSRC = $(LIBSRC)/XThrStub#if SharedLibXThrStub#ifndef SharedXThrStubRev#define SharedXThrStubRev 6.0#endifSharedLibReferences(XTHRSTUB,XThrStub,$(XTHRSTUBLIBSRC),SOXTHRSTUBREV,SharedXThrStubRev)#elseProjectUnsharedLibReferences(XTHRSTUB,XThrStub,$(XTHRSTUBSRC),XBuildLibDir)#endif#endif#if BuildScreenSaverLibrary#ifndef SharedLibXss#define SharedLibXss NO#endif#ifndef NormalLibXss#define NormalLibXss YES#endif#ifndef DebugLibXss#define DebugLibXss NO#endif#ifndef ProfileLibXss#define ProfileLibXss NO#endif#endif#if BuildXF86MiscLibrary#ifndef SharedLibXxf86misc#define SharedLibXxf86misc NO#endif#ifndef NormalLibXxf86misc#define NormalLibXxf86misc YES#endif#ifndef DebugLibXxf86misc#define DebugLibXxf86misc NO#endif#ifndef ProfileLibXxf86misc#define ProfileLibXxf86misc NO#endif#endif#if BuildXF86VidModeLibrary#ifndef SharedLibXxf86vm#define SharedLibXxf86vm NO#endif#ifndef NormalLibXxf86vm#define NormalLibXxf86vm YES#endif#ifndef DebugLibXxf86vm#define DebugLibXxf86vm NO#endif#ifndef ProfileLibXxf86vm#define ProfileLibXxf86vm NO#endif#endif#if BuildXF86DGALibrary#ifndef SharedLibXxf86dga#define SharedLibXxf86dga NO#endif#ifndef NormalLibXxf86dga#define NormalLibXxf86dga YES#endif#ifndef DebugLibXxf86dga#define DebugLibXxf86dga NO#endif#ifndef ProfileLibXxf86dga#define ProfileLibXxf86dga NO#endif#endif#if BuildDPMSLibrary#ifndef SharedLibXdpms#define SharedLibXdpms NO#endif#ifndef NormalLibXdpms#define NormalLibXdpms YES#endif#ifndef DebugLibXdpms#define DebugLibXdpms NO#endif#ifndef ProfileLibXdpms#define ProfileLibXdpms NO#endif#endif#ifndef SharedLibXext#define SharedLibXext HasSharedLibraries#endif#ifndef NormalLibXext#define NormalLibXext (!SharedLibXext | ForceNormalLib)#endif#ifndef DebugLibXext#define DebugLibXext NO /* debugged Xext library */#endif#ifndef ProfileLibXext#define ProfileLibXext NO /* profiled Xext library */#endif XEXTLIBSRC = $(LIBSRC)/Xext#if SharedLibXext#ifndef SharedXextRev#define SharedXextRev 6.3#endifSharedLibReferences(EXTENSION,Xext,$(XEXTLIBSRC),SOXEXTREV,SharedXextRev)#elseProjectUnsharedLibReferences(EXTENSION,Xext,$(XEXTLIBSRC),XBuildLibDir)#endifLINTEXTENSIONLIB = $(LINTEXTENSION) DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB) XLIB = $(EXTENSIONLIB) $(XONLYLIB) LINTXLIB = $(LINTXONLYLIB)#if BuildScreenSaverLibrary XSSLIBSRC = $(LIBSRC)/Xss#if SharedLibXss#ifndef SharedXssRev#define SharedXssRev 1.0#endifSharedLibReferences(XSS,Xss,$(XSSLIBSRC),SOXSSREV,SharedXssRev)#elseProjectUnsharedLibReferences(XSS,Xss,$(XSSLIBSRC),XBuildLibDir)#endif#endif#if BuildXF86MiscLibrary XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc#if SharedLibXxf86misc#ifndef SharedXxf86miscRev#define SharedXxf86miscRev 1.0#endifSharedLibReferences(XXF86MISC,Xxf86misc,$(XXF86MISCLIBSRC),SOXXF86MISCREV,SharedXxf86miscRev)#elseProjectUnsharedLibReferences(XXF86MISC,Xxf86misc,$(XXF86MISCLIBSRC),XBuildLibDir)#endif#endif#if BuildXF86VidModeLibrary XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm#if SharedLibXxf86vm#ifndef SharedXxf86vmRev#define SharedXxf86vmRev 1.0#endifSharedLibReferences(XXF86VM,Xxf86vm,$(XXF86VMLIBSRC),SOXXF86VMREV,SharedXxf86vmRev)#elseProjectUnsharedLibReferences(XXF86VM,Xxf86vm,$(XXF86VMLIBSRC),XBuildLibDir)#endif#endif#if BuildXF86DGALibrary XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga#if SharedLibXxf86dga#ifndef SharedXxf86dgaRev#define SharedXxf86dgaRev 1.0#endifSharedLibReferences(XXF86DGA,Xxf86dga,$(XXF86DGALIBSRC),SOXXF86DGAREV,SharedXxf86dgaRev)#elseProjectUnsharedLibReferences(XXF86DGA,Xxf86dga,$(XXF86DGALIBSRC),XBuildLibDir)#endif#endif#if BuildDPMSLibrary XDPMSLIBSRC = $(LIBSRC)/Xdpms#if SharedLibXdpms#ifndef SharedXdpmsRev#define SharedXdpmsRev 1.0#endifSharedLibReferences(XDPMS,Xdpms,$(XDPMSLIBSRC),SOXDPMSREV,SharedXdpmsRev)#elseProjectUnsharedLibReferences(XDPMS,Xdpms,$(XDPMSLIBSRC),XBuildLibDir)#endif#endif#ifndef SharedLibXau#define SharedLibXau NO /* don't need shared form */#endif#ifndef NormalLibXau#define NormalLibXau (!SharedLibXau | ForceNormalLib)#endif#ifndef DebugLibXau#define DebugLibXau NO /* debugged auth library */#endif#ifndef ProfileLibXau#define ProfileLibXau NO /* profiled auth library */#endif XAUTHSRC = $(LIBSRC)/Xau#if SharedLibXau#ifndef SharedXauRev#define SharedXauRev 6.0#endifSharedLibReferences(XAUTH,Xau,$(XAUTHSRC),SOXAUTHREV,SharedXauRev)#elseProjectUnsharedLibReferences(XAUTH,Xau,$(XAUTHSRC),XBuildLibDir)#endif#ifndef SharedLibXdmcp#define SharedLibXdmcp NO /* don't need shared form */#endif#ifndef NormalLibXdmcp#define NormalLibXdmcp (!SharedLibXdmcp | ForceNormalLib)#endif#ifndef DebugLibXdmcp#define DebugLibXdmcp NO /* debugged XDMCP library */#endif#ifndef ProfileLibXdmcp#define ProfileLibXdmcp NO /* profiled XDMCP library */#endif XDMCPLIBSRC = $(LIBSRC)/Xdmcp#if SharedLibXdmcp#ifndef SharedXdmcpRev#define SharedXdmcpRev 6.0#endifSharedLibReferences(XDMCP,Xdmcp,$(XDMCPLIBSRC),SOXDMCPREV,SharedXdmcpRev)#elseProjectUnsharedLibReferences(XDMCP,Xdmcp,$(XDMCPLIBSRC),XBuildLibDir)#endif#ifndef SharedLibXmu#define SharedLibXmu HasSharedLibraries#endif#ifndef NormalLibXmu#define NormalLibXmu (!SharedLibXmu | ForceNormalLib)#endif#ifndef DebugLibXmu#define DebugLibXmu NO /* debugged Xmu library */#endif#ifndef ProfileLibXmu#define ProfileLibXmu NO /* profiled Xmu library */#endif XMUSRC = $(LIBSRC)/Xmu#if SharedLibXmu#ifndef SharedXmuRev#define SharedXmuRev 6.0#endifSharedDSLibReferences(XMU,Xmu,$(XMUSRC),SOXMUREV,SharedXmuRev)#elseProjectUnsharedLibReferences(XMU,Xmu,$(XMUSRC),XBuildLibDir)#endif#ifndef SharedOldX#define SharedOldX HasSharedLibraries#endif#ifndef NormalOldX#define NormalOldX (!SharedOldX | ForceNormalLib)#endif#ifndef DebugOldX#define DebugOldX NO /* debugged old X library */#endif#ifndef ProfileOldX#define ProfileOldX NO /* profiled old X library */#endif OLDXLIBSRC = $(LIBSRC)/oldX#if SharedOldX#ifndef SharedOldXRev#define SharedOldXRev 6.0#endifSharedLibReferences(OLDX,oldX,$(OLDXLIBSRC),SOOLDXREV,SharedOldXRev)#elseProjectUnsharedLibReferences(OLDX,oldX,$(OLDXLIBSRC),XBuildLibDir)#endif#ifndef SharedLibXp#define SharedLibXp HasSharedLibraries#endif#ifndef NormalLibXp#define NormalLibXp (!SharedLibXp | ForceNormalLib)#endif#ifndef DebugLibXp#define DebugLibXp NO /* debugged Xp library */#endif#ifndef ProfileLibXp#define ProfileLibXp NO /* profiled Xp library */#endif XPLIBSRC = $(LIBSRC)/Xp#if SharedLibXp#ifndef SharedXpRev#define SharedXpRev 6.2#endifSharedLibReferences(XP,Xp,$(XPLIBSRC),SOXPREV,SharedXpRev)#elseProjectUnsharedLibReferences(XP,Xp,$(XPLIBSRC),XBuildLibDir)#endif#ifndef SharedLibXt#define SharedLibXt HasSharedLibraries#endif#ifndef NormalLibXt#define NormalLibXt (!SharedLibXt | ForceNormalLib)#endif#ifndef DebugLibXt
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -