diff options
Diffstat (limited to 'xc/config/cf/Imake.tmpl')
-rw-r--r-- | xc/config/cf/Imake.tmpl | 99 |
1 files changed, 98 insertions, 1 deletions
diff --git a/xc/config/cf/Imake.tmpl b/xc/config/cf/Imake.tmpl index d4bf580c8..cf62c8596 100644 --- a/xc/config/cf/Imake.tmpl +++ b/xc/config/cf/Imake.tmpl @@ -5,7 +5,7 @@ XCOMM XCOMM XCOMM XCOMM -XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.70 2000/03/07 14:31:34 dawes Exp $ +XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.81 2000/06/25 20:17:28 dawes Exp $ XCOMM ---------------------------------------------------------------------- /* @@ -102,15 +102,27 @@ XCOMM the platform-specific parameters - edit site.def to change /* the following are needed before we can include Imake.rules */ +#ifndef NothingOutsideProjectRoot +#define NothingOutsideProjectRoot NO +#endif + #ifndef HasVarDirectory #define HasVarDirectory YES #endif #ifndef UseEtcX11 #define UseEtcX11 YES #endif +#if NothingOutsideProjectRoot +#undef UseEtcX11 +#define UseEtcX11 NO +#endif #ifndef UseSeparateConfDir #define UseSeparateConfDir (UseEtcX11 || HasVarDirectory) #endif +#if NothingOutsideProjectRoot +#undef UseSeparateConfDir +#define UseSeparateConfDir NO +#endif #ifndef SystemV #define SystemV NO /* SYSV (R3) */ #endif @@ -174,6 +186,39 @@ XCOMM the platform-specific parameters - edit site.def to change #define HasSymLinks YES #endif +#ifndef BuildRman +#define BuildRman YES +#endif + +#ifndef RmanCmd +#if BuildRman +#ifdef UseInstalled /* assume BINDIR in path */ +#define RmanCmd rman +#else +#define RmanCmd $(TOP)/config/util/rman +#endif +#endif +#endif + +#ifndef RmanOptions +#if BuildRman +#define RmanOptions -f HTML +#endif +#endif + +#ifndef BuildHtmlManPages +#ifdef RmanCmd +#define BuildHtmlManPages YES +#else +#define BuildHtmlManPages NO +#endif +#endif +/* Can't do this while bootstrapping imake */ +#ifdef BootStrap +#undef BuildHtmlManPages +#define BuildHtmlManPages NO +#endif + #include <Imake.rules> #ifndef HasSharedLibraries @@ -335,6 +380,9 @@ XCOMM the platform-specific parameters - edit site.def to change #ifndef HasSecureRPC #define HasSecureRPC NO /* if you have Secure RPC */ #endif +#ifndef HasKrbIV +#define HasKrbIV NO /* if you have Kerberos IV */ +#endif #ifndef HasKrb5 #define HasKrb5 NO /* if you have Kerberos V5 */ #endif @@ -363,6 +411,14 @@ XCOMM the platform-specific parameters - edit site.def to change #ifndef GzipLibrary /* if OS config didn't define it, assume it's -lz */ #define GzipLibrary -lz #endif +#if HasKrbIV +#ifndef KrbIVIncludes +#define KrbIVIncludes /**/ +#endif +#ifndef KrbIVLibraries +#define KrbIVLibraries -lkafs -lkrb -ldes +#endif +#endif #if HasKrb5 #ifndef Krb5Includes #define Krb5Includes -I/krb5/include @@ -561,6 +617,18 @@ TCLIBDIR = TclLibDir #endif #endif +/* + * SystemUsrLibDir is independent of ProjectRoot. It is used primarily + * to allow links for shared libraries in /usr/lib for compliance to + * various standards (e.g., Linux/OpenGL). + */ +#ifndef SystemUsrLibDir +#define SystemUsrLibDir /usr/lib +#endif +#ifndef SystemUsrIncDir +#define SystemUsrIncDir /usr/include +#endif + #ifndef ShLibDir #define ShLibDir UsrLibDir #endif @@ -632,6 +700,12 @@ TCLIBDIR = TclLibDir #define ExtraManDefs -D__projectroot__=$(PROJECTROOT) #endif +#ifndef HtmlIndexCmd +#if BuildHtmlManPages +#define HtmlIndexCmd $(MKHTMLINDEX) +#endif +#endif + #ifndef LogDirectory #if HasVarDirectory #define LogDirectory /var/log @@ -873,6 +947,12 @@ TCLIBDIR = TclLibDir #ifndef LdCmd #define LdCmd ld #endif +#ifndef M4Cmd +#define M4Cmd m4 +#endif +#ifndef M4Flags +#define M4Flags /**/ +#endif #ifndef LexCmd #define LexCmd lex #endif @@ -1253,6 +1333,8 @@ TCLIBDIR = TclLibDir MKDIRHIER = MkdirHierCmd REVPATH = RevPathCmd EXPORTLISTGEN = ExportListCmd + RMAN = RmanCmd + RMANOPTIONS = RmanOptions CONFIGSRC = ConfigSrc IMAKESRC = $(CONFIGSRC)/imake DEPENDSRC = DependDir @@ -1260,6 +1342,8 @@ TCLIBDIR = TclLibDir INCROOT = IncRoot /* base of where to put header files */ USRLIBDIR = UsrLibDir /* nonshared libraries */ VARLIBDIR = VarLibDir /* xdm runtime files */ + SYSTEMUSRLIBDIR = SystemUsrLibDir /* system's "/usr/lib" */ + SYSTEMUSRINCDIR = SystemUsrIncDir /* system's "/usr/include" */ SHLIBDIR = ShLibDir /* shared libraries */ LINTLIBDIR = LintlibDir /* lint libraries */ MANPATH = ManPath /* top of manual page tree */ @@ -1312,6 +1396,8 @@ CXXEXTRA_INCLUDES = CplusplusExtraIncludes INSTALLFLAGS = InstallFlags LD = LdCmd LEX = LexCmd + M4 = M4Cmd + M4FLAGS = M4Flags LEXLIB = LexLib YACC = YaccCmd CCYACC = CplusplusYaccCmd @@ -1619,6 +1705,10 @@ CleanTarget() MakefileTarget() #endif +#if BuildHtmlManPages +RmanDependency() +#endif + TagsTarget() #ifdef MakefileAdditions MakefileAdditions() @@ -1630,6 +1720,8 @@ CenterLoadTarget(debug_obj,$(OBJS),NullParameter,$(ALLDEFINES)) ManKeywordsTarget($(MANPATH)) +HtmlManIndex + #ifdef IHaveSubdirs XCOMM ---------------------------------------------------------------------- XCOMM rules for building in SUBDIRS - do not edit @@ -1649,6 +1741,11 @@ IncludesSubdirs($(SUBDIRS)) install.man:: man_keywords #endif +/* must be after all install.man rules that install anything */ +#if MakeHtmlManIndex /* typically only at top level */ +install.man:: html_index +#endif + #ifndef IHaveSubdirs XCOMM ---------------------------------------------------------------------- XCOMM empty rules for directories that do not have SUBDIRS - do not edit |