diff options
author | Tom Yu <tlyu@mit.edu> | 1994-05-26 21:24:15 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1994-05-26 21:24:15 +0000 |
commit | b15222e4411854a6090592ca58c6566e79902270 (patch) | |
tree | 1644b03ba4e2f2544cba84ecb63307ef18c6268b | |
parent | 7f7ac6b0222cf0e16fcf50f2de754839b70c03b3 (diff) | |
download | krb5-b15222e4411854a6090592ca58c6566e79902270.tar.gz krb5-b15222e4411854a6090592ca58c6566e79902270.tar.xz krb5-b15222e4411854a6090592ca58c6566e79902270.zip |
bootstrapping stuff
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3650 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/Makefile | 15 | ||||
-rw-r--r-- | src/Makefile.ini | 45 |
2 files changed, 60 insertions, 0 deletions
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) |