From 61a43a7123d5ea602ebe57a8222b4f08d76c7c4f Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 26 May 1994 03:12:56 +0000 Subject: [PATCH] preparing to get bootstrapping to work git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3646 dc483132-0cff-0310-8789-dd5450dbe970 --- src/Imakefile | 13 ++++++++----- src/config/Project.tmpl | 10 ++++++++++ src/config/site.def | 4 ++-- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/Imakefile b/src/Imakefile index 43ab4b1c7..b14fe335a 100644 --- a/src/Imakefile +++ b/src/Imakefile @@ -29,11 +29,14 @@ all:: world:: - date - make ${MFLAGS} mastermakefiles - make ${MFLAGS} depend - make ${MFLAGS} all - date + @date + cd $(IMAKESRC); $(MAKE) $(MFLAGS) -f Makefile.ini clean; $(MAKE) $(MFLAGS) -f Makefile.ini BOOSTRAPCFLAGS="$(BOOTSTAPCFLAGS)" + -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak + $(MAKE) $(MFLAGS) -f Makefile.bak Makefile + $(MAKE) ${MFLAGS} mastermakefiles + $(MAKE) ${MFLAGS} depend + $(MAKE) ${MFLAGS} all + @date SUBDIRS = util include lib kdc admin kadmin slave clients appl tests \ config-files diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index f9e4888a2..39daf3dcb 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -19,10 +19,18 @@ #define MkCmdsCmd $(TOP)/util/ss/mk_cmds #endif #ifndef DependCmd +#ifdef UseMakedependInstalled #define DependCmd makedepend /* assume BINDIR in path */ +#else +#define DependCmd $(DEPENDSRC)/makedepend +#endif #endif #ifndef ImakeCmd +#ifdef UseImakeInstalled #define ImakeCmd imake +#else +#define ImakeCmd $(IMAKESRC)/imake +#endif #endif #ifndef SSLib #define SSLib $(TOPLIBD)/libss.a @@ -563,6 +571,8 @@ P_KRB4_COMPAT=-UKrb4Compat TOP_INCLUDES = -I$(TOP)/include $(STDC_TOP_INCLUDES) EXTRA_INCLUDES = ExtraIncludes CONFIGSRC = $(TOP)/config + IMAKESRC = $(CONFIGSRC) + DEPENDSRC = $(TOP)/util/makedepend PSYFLAGS = PepsyFlags PEPSY = PepsyCmd TOUCH = TouchCmd diff --git a/src/config/site.def b/src/config/site.def index 788bff13f..100b152aa 100644 --- a/src/config/site.def +++ b/src/config/site.def @@ -188,8 +188,8 @@ #define PepsyCmd IsodeDir/@sys/bin/pepsy #endif -#define UseImakeInstalled /* -- turn on if you have imake installed */ -#define UseMakedependInstalled /* -- turn on if you have makedepend installed */ +/* #define UseImakeInstalled -- turn on if you have imake installed */ +/* #define UseMakedependInstalled -- turn on if you have makedepend installed */ #define Krb4ApplCompat /* turn this on if you want selected applications to work with both v4 & v5 code */ #define Krb4KDCCompat /* turn this on if you want the KDC to provide v4 -- 2.26.2