# $XConsortium: Makefile.ini,v 1.21 94/02/04 23:06:09 rws Exp $ RELEASE = "Release 6" SHELL = /bin/sh RM = rm -f MV = mv MAKE = make NMAKE = nmake WORLDOPTS = -k WIN32WORLDOPTS = -i TOP = . CURRENT_DIR = . CONFIGSRC = $(TOP)/config IMAKESRC = $(CONFIGSRC)/imake IRULESRC = $(CONFIGSRC)/cf IMAKE = $(IMAKESRC)/imake IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES) FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)" all: @echo Please use make World, or on NT use make World.Win32. @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: @echo "" @echo Building $(RELEASE) of the X Window System. @echo "" @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) VerifyOS $(MAKE) $(MFLAGS) Makefiles $(MAKE) $(MFLAGS) clean $(MAKE) $(MFLAGS) includes $(MAKE) $(MFLAGS) depend $(MAKE) $(MFLAGS) $(WORLDOPTS) @echo "" @date @echo "" @echo Full build of $(RELEASE) of the X Window System complete. @echo "" Makefile: cd $(IMAKESRC); $(MAKE) $(FLAGS) -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) World.Win32: @echo : @echo Building $(RELEASE) of the X Window System. @echo : @echo : cd $(IMAKESRC) $(NMAKE) -f Makefile.ini clean.Win32 $(NMAKE) -f Makefile.ini imake.exe cd ..\.. -if exist Makefile.bak del Makefile.bak -if exist Makefile ren Makefile Makefile.bak $(IMAKE:/=\) -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) $(NMAKE) $(MFLAGS) VerifyOS $(NMAKE) $(MFLAGS) Makefiles $(NMAKE) $(MFLAGS) clean $(NMAKE) $(MFLAGS) includes $(NMAKE) $(MFLAGS) depend $(NMAKE) $(MFLAGS) $(WIN32WORLDOPTS) @echo : @echo : @echo Full build of $(RELEASE) of the X Window System complete. @echo :