From: Tom Yu Date: Thu, 26 May 1994 21:24:15 +0000 (+0000) Subject: bootstrapping stuff X-Git-Tag: krb5-1.0-beta4~197 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b15222e4411854a6090592ca58c6566e79902270;p=krb5.git bootstrapping stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3650 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)