From b15222e4411854a6090592ca58c6566e79902270 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 26 May 1994 21:24:15 +0000 Subject: [PATCH] bootstrapping stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3650 dc483132-0cff-0310-8789-dd5450dbe970 --- src/Makefile | 15 +++++++++++++++ src/Makefile.ini | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 src/Makefile create mode 100644 src/Makefile.ini diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 000000000..38ae6425c --- /dev/null +++ b/src/Makefile @@ -0,0 +1,15 @@ +SHELL = /bin/sh +MAKE = make +FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)" + +all: + @echo Please use make World. + @echo Check the configuration parameters in the ./config/cf directory, + @echo and pass BOOTSTRAPCFLAGS if necessary. + @echo Read the release notes carefully before proceeding. + @echo Do not name your log file make.log or it will be deleted. + @echo If the top-level Makefile gets corrupted, copy Makefile.ini + @echo to Makefile and try again. + +world: + $(MAKE) $(FLAGS) world diff --git a/src/Makefile.ini b/src/Makefile.ini new file mode 100644 index 000000000..df0904bc4 --- /dev/null +++ b/src/Makefile.ini @@ -0,0 +1,45 @@ +SHELL = /bin/sh +RM = rm -f +MV = mv +MAKE = make +WORLDOPTS = -k +TOP = . +CURRENT_DIR = . +CONFIGSRC = $(TOP)/config +IMAKESRC = $(CONFIGSRC) +IRULESRC = $(CONFIGSRC) +IMAKE = $(IMAKESRC)/imake +IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES) +FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)" + +all: + @echo Please use make world. + @echo Check the configuration parameters in the $(IRULESRC) directory, + @echo and pass BOOTSTRAPCFLAGS if necessary. + @echo Read the release notes carefully before proceeding. + @echo Do not name your log file make.log or it will be deleted. + @echo If the top-level Makefile gets corrupted, copy Makefile.ini + @echo to Makefile and try again. + +world: + @case "x$(BOOTSTRAPCFLAGS)" in x) \ + echo I hope you checked the configuration parameters in $(IRULESRC) ; \ + echo to see if you need to pass BOOTSTRAPCFLAGS. ; \ + echo "" ; \ + ;; esac; + @date + @echo "" + cd $(IMAKESRC); $(MAKE) $(FLAGS) clean; $(MAKE) $(FLAGS) + -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak + $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) + $(MAKE) $(MFLAGS) mastermakefiles + $(MAKE) $(MFLAGS) includes + $(MAKE) $(MFLAGS) depend + $(MAKE) $(MFLAGS) $(WORLDOPTS) + @echo "" + @date + +Makefile: + cd $(IMAKESRC); $(MAKE) $(FLAGS) + -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak + $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -- 2.26.2