diff options
| author | Mark Eichin <eichin@mit.edu> | 1994-08-09 22:57:29 +0000 |
|---|---|---|
| committer | Mark Eichin <eichin@mit.edu> | 1994-08-09 22:57:29 +0000 |
| commit | eba0f8da0c194962b43d7fa40344cecf06386d58 (patch) | |
| tree | 07f1730176661f38783a1e832e44c27a25933969 /src/config/Imake.tmpl-xcomp | |
| parent | e5fed0994ff3e5c73052fff3a8a9bce41192fd21 (diff) | |
stamp..
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4101 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/Imake.tmpl-xcomp')
| -rw-r--r-- | src/config/Imake.tmpl-xcomp | 625 |
1 files changed, 0 insertions, 625 deletions
diff --git a/src/config/Imake.tmpl-xcomp b/src/config/Imake.tmpl-xcomp deleted file mode 100644 index 807bb1c19..000000000 --- a/src/config/Imake.tmpl-xcomp +++ /dev/null @@ -1,625 +0,0 @@ -/* - * generic imake template - */ - -/**/# $Source$ -/**/# $Author$ -/**/# $Id$ -/**/# - -/**/########################################################################### -/**/# Makefile generated from IMAKE_TEMPLATE and INCLUDE_IMAKEFILE -/**/# $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ -/**/# -/**/# Platform-specific parameters may be set in the appropriate .cf -/**/# configuration files. Site-wide parameters may be set in the file -/**/# site.def. Full rebuilds are recommended if any parameters are changed. -/**/# -/**/# If your C preprocessor doesn't define any unique symbols, you'll need -/**/# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing -/**/# "make Makefile", "make Makefiles", or "make World"). -/**/# -/**/# If you absolutely can't get imake to work, you'll need to set the -/**/# variables at the top of each Makefile as well as the dependencies at the -/**/# bottom (makedepend will do this automatically). -/**/# - - -#define YES 1 -#define NO 0 - - -/* - * To add support for another platform: - * - * 1. Identify a machine-specific cpp symbol. If your preprocessor - * doesn't have any built in, you'll need to add the symbol to the - * cpp_argv table in config/imake.c and rebuild imake with the - * BOOTSTRAPCFLAGS variable set (see the macII for an example). - * - * [ignore this for now...no makedepend with Kerberos V5 (yet...)] - * 2. Add all machine-specific cpp symbols (either defined by you or by - * the preprocessor or compiler) to the predefs table in - * config/makedepend/main.c. - * - * 3. But a new #ifdef block below that defines MacroIncludeFile and - * MacroFile for your new platform and then #undefs the machine- - * specific preprocessor symbols (to avoid problems with file names). - * - * 4. Create a .cf file with the name given by MacroFile. See - * existing .cf files for examples of what to put there. - */ - -#define MacroIncludeFile <vaxbsd.cf> -#define MacroFile vaxbsd.cf -#undef vax -#define VaxArchitecture - - -#ifndef MacroIncludeFile -/**/# WARNING: Imake.tmpl not configured; guessing at definitions!!! -/**/# This might mean that BOOTSTRAPCFLAGS wasn't set when building imake. -#define MacroIncludeFile <generic.cf> -#define MacroFile generic.cf -#endif - -/***************************************************************************** - * * - * DO NOT MODIFY BELOW THIS LINE * - * * - *****************************************************************************/ - - -/**/########################################################################### -/**/# platform-specific configuration parameters - edit MacroFile to change -#include MacroIncludeFile - -/**/########################################################################### -/**/# site-specific configuration parameters - edit site.def to change -#include <site.def> - -/* - * defaults for various generic parameters; set in site.def if needed - */ - -#ifndef SystemV -#ifdef SYSV -#define SystemV YES /* need system 5 style */ -#else -#define SystemV NO /* bsd */ -#endif -#endif -#ifndef OSMajorVersion -#define OSMajorVersion 0 -#endif -#ifndef OSMinorVersion -#define OSMinorVersion 0 -#endif -#ifndef UnalignedReferencesAllowed -#define UnalignedReferencesAllowed NO /* if arbitrary deref is okay */ -#endif -#ifndef ExecableScripts -#ifdef SYSV -#define ExecableScripts NO -#else -#define ExecableScripts YES /* kernel exec() can handle #! */ -#endif -#endif - -#ifndef BourneShell /* to force shell in makefile */ -#define BourneShell /bin/sh -#endif -#ifndef ConstructMFLAGS -#if SystemV -#define ConstructMFLAGS YES /* build MFLAGS from MAKEFLAGS */ -#else -#define ConstructMFLAGS NO /* build MFLAGS from MAKEFLAGS */ -#endif -#endif - -#ifndef HasLargeTmp -#define HasLargeTmp NO /* be paranoid */ -#endif -#ifndef HasSockets -#if SystemV -#define HasSockets NO /* not yet... */ -#else -#define HasSockets YES /* bsd does have them */ -#endif -#endif -#ifndef HasVFork -#if SystemV -#define HasVFork NO /* not yet... */ -#else -#define HasVFork YES -#endif -#endif -#ifndef HasPutenv -#define HasPutenv NO /* assume not */ -#endif -#ifndef HasVoidSignalReturn -#if SystemV -#define HasVoidSignalReturn YES -#else -#define HasVoidSignalReturn NO /* may or may not be true */ -#endif -#endif -#ifndef HasBsearch -#if SystemV -#define HasBsearch YES -#else -#define HasBsearch NO /* stupid systems */ -#endif -#endif -#ifndef HasSaberC -#define HasSaberC NO /* for people unclear on the concept */ -#endif -#ifndef HasFortran -#define HasFortran NO -#endif -#ifndef HasNdbm -#define HasNdbm NO -#endif -#ifndef HasDESLibrary -#define HasDESLibrary NO /* if you have any DES library */ -#endif -#ifndef NeedFunctionPrototypes -#define NeedFunctionPrototypes NO -#endif -#ifndef NeedWidePrototypes -#define NeedWidePrototypes YES /* mix and match ANSI-C, non-ANSI */ -#endif - -#ifndef HasSunOSSharedLibraries -#define HasSunOSSharedLibraries NO -#endif - -#ifndef SharedCodeDef -#if HasSunOSSharedLibraries -#define SharedCodeDef -DSHAREDCODE -#else -#define SharedCodeDef /**/ -#endif -#endif -#ifndef SharedLibraryDef -#if HasSunOSSharedLibraries -#define SharedLibraryDef -DSUNSHLIB /* eventually will be SVR4SHLIB... */ -#ifndef HasSharedLibraries -#define HasSharedLibraries YES -#endif -#else -#define SharedLibraryDef /**/ -#ifndef HasSharedLibraries -#define HasSharedLibraries NO -#endif -#endif -#else -#ifndef HasSharedLibraries -#define HasSharedLibraries NO -#endif -#endif - -#ifndef StripInstalledPrograms -#define StripInstalledPrograms NO /* leave symbol table just in case */ -#endif - -#ifndef DestDir -#define DestDir /* as nothing */ -#endif -#ifndef UsrLibDir /* if changed under SunOS with shared */ -#define UsrLibDir $(DESTDIR)/usr/lib /* libs, then need to run ldconfig */ -#endif /* as root */ -#ifndef IncRoot -#define IncRoot $(DESTDIR)/usr/include -#endif -#ifndef UNCOMPRESSPATH -#define UNCOMPRESSPATH /usr/ucb/uncompress -#endif -#ifndef OptimizedCDebugFlags -#define OptimizedCDebugFlags -O -#endif -#ifndef DebuggableCDebugFlags -#define DebuggableCDebugFlags -g -#endif -#ifndef NoOpCDebugFlags -#define NoOpCDebugFlags /* as nothing */ -#endif -#ifndef DefaultCDebugFlags -#define DefaultCDebugFlags OptimizedCDebugFlags -#endif -#ifndef LibraryCDebugFlags -#define LibraryCDebugFlags OptimizedCDebugFlags -#endif -#ifndef DefaultCCOptions -#define DefaultCCOptions /* as nothing: this is for floating point, etc. */ -#endif -#ifndef LibraryCCOptions -#define LibraryCCOptions DefaultCCOptions -#endif -#ifndef ServerCCOptions -#define ServerCCOptions DefaultCCOptions -#endif -#ifndef PexCDebugFlags -#define PexCDebugFlags -g -#endif -#ifndef InstPgmFlags -#define InstPgmFlags -#endif -#ifndef InstScrFlags -#define InstScrFlags -#endif -#ifndef InstBinFlags -#define InstBinFlags -m 0755 -#endif -#ifndef InstUidFlags -#define InstUidFlags -m 4755 -#endif -#ifndef InstLibFlags -#define InstLibFlags -m 0664 -#endif -#ifndef InstIncFlags -#define InstIncFlags -m 0444 -#endif -#ifndef InstManFlags -#define InstManFlags -m 0444 -#endif -#ifndef InstDatFlags -#define InstDatFlags -m 0444 -#endif -#ifndef InstKmemFlags -#define InstKmemFlags InstUidFlags /* put -g kmem -m 2755 in site.def... */ -#endif -#ifndef ArCmd -#if HasLargeTmp -#define ArCmd ar cq /* use /tmp for temp files */ -#else -#define ArCmd ar clq /* use local dir for temp files */ -#endif -#endif -#ifndef BootstrapCFlags -#define BootstrapCFlags /**/ -#endif -#ifndef CcCmd -#define CcCmd cc -#endif -#ifndef HasGcc -#define HasGcc NO -#endif -#ifndef ServerCcCmd -#define ServerCcCmd CcCmd -#endif -#ifndef LibraryCcCmd -#define LibraryCcCmd CcCmd -#endif -#if HasFortran -#ifndef FortranCmd /* for xgks */ -#define FortranCmd f77 -#endif -#ifndef FortranFlags -#define FortranFlags /**/ -#endif -#ifndef FortranDebugFlags -#define FortranDebugFlags /**/ /* for -O or -g */ -#endif -#endif -#ifndef AsCmd -#define AsCmd as -#endif -#ifndef CompressCmd -#define CompressCmd compress -#endif -#ifndef CppCmd -#define CppCmd /lib/cpp -#endif -#ifndef PreProcessCmd -#define PreProcessCmd CcCmd -E -#endif -#ifndef InstallCmd -#if SystemV -#define InstallCmd $(SCRIPTSRC)/bsdinst.sh /* hack should be in project */ -#else -#define InstallCmd install -#endif -#endif -#ifndef LdCmd -#define LdCmd ld -#endif -#ifndef LintCmd -#define LintCmd lint -#endif -#ifndef LintLibFlag -#if SystemV -#define LintLibFlag -o -#else -#define LintLibFlag -C -#endif -#endif -#ifndef LintOpts -#if SystemV -#define LintOpts -ax -#else -#define LintOpts -axz -#endif -#endif -#ifndef CpCmd -#define CpCmd cp -p -#endif -#ifndef LnCmd -#if SystemV -#define LnCmd ln /* or even cp */ -#else -#define LnCmd ln -s -#endif -#endif -#ifndef MakeCmd -#define MakeCmd make -#endif -#ifndef MvCmd -#define MvCmd mv -#endif -#if !defined(RanlibCmd) && !SystemV -#define RanlibCmd ranlib -#endif -#ifndef RanlibInstFlags -#define RanlibInstFlags /**/ -#endif -#ifndef RmCmd -#define RmCmd rm -f -#endif -#ifndef StandardCppDefines -#if SystemV -#define StandardCppDefines -DSYSV -#else -#define StandardCppDefines /**/ -#endif -#endif -#ifndef StandardIncludes -#define StandardIncludes /**/ /* for platform-specifics */ -#endif -#ifndef StandardDefines -#if SystemV -#define StandardDefines -DSYSV -#else -#define StandardDefines /**/ -#endif -#endif -#ifndef SaberDefines -#define SaberDefines /**/ -#endif -#ifndef NdbmDefines -#if HasNdbm -#define NdbmDefines -DNDBM -#else -#define NdbmDefines /**/ -#endif -#endif -#ifndef ExtraLibraries -#define ExtraLibraries /**/ -#endif -#ifndef ExtraLoadFlags -#define ExtraLoadFlags /**/ -#endif -#ifndef LdCombineFlags -#define LdCombineFlags -X -r -#endif -#ifndef LdLibLocations -#define LdLibLocations /**/ -#endif -#ifndef CompatibilityFlags -#define CompatibilityFlags /**/ -#endif -#ifndef TagsCmd -#define TagsCmd ctags -#endif -#ifndef EtagsCmd -#define EtagsCmd etags -#endif -#ifndef LoaderLibPrefix -#define LoaderLibPrefix /**/ /* cray does -l libX11.a */ -#endif -#ifndef TOPDIR -#define TOPDIR . -#endif -#ifndef CURDIR -#define CURDIR . -#endif -#ifndef FilesToClean -#define FilesToClean *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut -#endif -#ifndef STDCTopIncludes -#define STDCTopIncludes /**/ -#endif -#ifndef MakeDependFlags -#define MakeDependFlags /**/ -#endif - -#ifdef SourceTop - SRCDIR = SourceTop/CURDIR/ - VPATH = SourceTop/CURDIR - SRCTOP = SourceTop - SRCINCLUDE = -I/**/SourceTop/CURDIR -#endif - SHELL = BourneShell - - TOP = TOPDIR - CURRENT_DIR = CURDIR - - AR = ArCmd - BOOTSTRAPCFLAGS = BootstrapCFlags /* set if cpp doesn't have uniq sym */ - CC = CcCmd -#if HasFortran - FC = FortranCmd - FDEBUGFLAGS = FortranDebugFlags - FCFLAGS = FortranFlags $(FDEBUGFLAGS) -#endif - COMPRESS = CompressCmd - CPP = CppCmd $(STD_CPP_DEFINES) /* simple filters */ - PREPROCESSCMD = PreProcessCmd $(STD_CPP_DEFINES) /* prefered; mdep */ - INSTALL = InstallCmd - LD = LdCmd - LDLOCATIONS = LdLibLocations - LINT = LintCmd - LINTLIBFLAG = LintLibFlag - LINTOPTS = LintOpts - LN = LnCmd - MAKE = MakeCmd - MV = MvCmd - CP = CpCmd -#ifdef RanlibCmd - RANLIB = RanlibCmd -#else - RANLIB = \: -#endif - RANLIBINSTFLAGS = RanlibInstFlags - RM = RmCmd - STD_INCLUDES = StandardIncludes - STD_CPP_DEFINES = StandardCppDefines - STD_DEFINES = StandardDefines - SABER_DEFINES = SaberDefines - EXTRA_LOAD_FLAGS = ExtraLoadFlags - EXTRA_LIBRARIES = ExtraLibraries - TAGS = TagsCmd - ETAGS = EtagsCmd -STDC_TOP_INCLUDES = STDCTopIncludes - -#if ConstructMFLAGS - MFLAGS = -$(MAKEFLAGS) -#endif -#if HasSharedLibraries - SHAREDCODEDEF = SharedCodeDef - SHLIBDEF = SharedLibraryDef -#endif -#if !HasVoidSignalReturn - SIGNAL_DEFINES = -DSIGNALRETURNSINT -#endif -#if StripInstalledPrograms - INSTPGMFLAGS = InstPgmFlags -s /* install flags for stripping */ -#else - INSTPGMFLAGS = InstPgmFlags /* install flags without stripping */ -#endif - INSTSCRFLAGS = InstScrFlags /* install flags without stripping */ - INSTBINFLAGS = InstBinFlags /* install flags for programs */ - INSTUIDFLAGS = InstUidFlags /* install flags for setuid programs */ - INSTLIBFLAGS = InstLibFlags /* install flags for libraries */ - INSTINCFLAGS = InstIncFlags /* install flags for headers */ - INSTMANFLAGS = InstManFlags /* install flags for man pages */ - INSTDATFLAGS = InstDatFlags /* install flags for data files */ - INSTKMEMFLAGS = InstKmemFlags /* install flags for /dev/kmem progs */ - - DESTDIR = DestDir /* root of install */ -#ifdef UseInstalled - TOP_INCLUDES = -I$(INCROOT) /* def: for alternative /usr/include */ -#else - TOP_INCLUDES = -I$(TOP) /* def: for builds within tree */ -#endif - CDEBUGFLAGS = DefaultCDebugFlags - CCOPTIONS = DefaultCCOptions /* to distinguish from param flags */ - COMPATFLAGS = CompatibilityFlags -/* - * STD_INCLUDES contains system-specific includes - * TOP_INCLUDES specifies how to get to /usr/include or its build substitute - * EXTRA_INCLUDES contains project-specific includes set in project incfiles - * INCLUDES contains client-specific includes set in Imakefile - */ - ALLINCLUDES = $(INCLUDES) $(STD_INCLUDES) $(TOP_INCLUDES) $(EXTRA_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) - LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LDLOCATIONS) - LDCOMBINEFLAGS = LdCombineFlags - MDFLAGS = MakeDependFlags - - MACROFILE = MacroFile - RM_CMD = $(RM) FilesToClean - - IMAKE_DEFINES = /* leave blank, for command line use only */ -#ifdef UseInstalled - IRULESRC = $(CONFIGDIR) /* used in rules file */ - IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) -#else - IRULESRC = $(CONFIGSRC) -#ifdef UseImakeInstalled - IMAKE_CMD = $(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) -#else - IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) -#endif -#endif - ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ - $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ - $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) - - -/* - * get project-specific configuration and rules - */ - -#include <Project.tmpl> - - - -#include <Imake.rules> - -/**/########################################################################### -/**/# start of Imakefile -#include INCLUDE_IMAKEFILE - -/**/########################################################################### -/**/# common rules for all Makefiles - do not edit -/* - * These need to be here so that rules in Imakefile occur first; the blank - * all is to make sure that an empty Imakefile doesn't default to make clean. - */ -emptyrule:: - -CleanTarget() - -#ifndef IHaveSpecialMakefileTarget -MakefileTarget() -#endif - -TagsTarget() -#ifdef MakefileAdditions -MakefileAdditions() -#endif - -#if HasSaberC -saber: - /**/#load $(ALLDEFINES) $(SABER_DEFINES) $(SRCS) - /**/#setopt load_flags $(ALLDEFINES) $(SABER_DEFINES) - -osaber: - /**/#load $(ALLDEFINES) $(OBJS) -#endif - - -#ifdef IHaveSubdirs -/**/########################################################################### -/**/# rules for building in SUBDIRS - do not edit - -InstallSubdirs($(SUBDIRS)) -InstallManSubdirs($(SUBDIRS)) -CleanSubdirs($(SUBDIRS)) -TagSubdirs($(SUBDIRS)) -MakefileSubdirs($(SUBDIRS)) -IncludesSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - -#else -/**/########################################################################### -/**/# empty rules for directories that do not have SUBDIRS - do not edit - -install:: - @echo "install in $(CURRENT_DIR) done" - -install.man:: - @echo "install.man in $(CURRENT_DIR) done" - -Makefiles:: - -includes:: - -#endif /* if subdirectory rules are needed */ - -/**/########################################################################### -/**/# dependencies generated by makedepend |
