xref: /original-bsd/local/X11R5/mit/Makefile.ini (revision 4092c5cc)
1       SHELL = /bin/sh
2          RM = rm -f
3          MV = mv
4        MAKE = make
5         TOP = .
6 CURRENT_DIR = .
7   CONFIGSRC = $(TOP)/config
8    IMAKESRC = $(CONFIGSRC)
9    IRULESRC = $(CONFIGSRC)
10       IMAKE = $(IMAKESRC)/imake
11   IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
12       FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
13
14all:
15	@echo "Please use make World, and set BOOTSTRAPCFLAGS if necessary."
16	@echo "Do not name your log file make.log or it will be deleted."
17	@echo "Check the configuration parameters in the config directory,
18	@echo "and read the release notes carefully before proceeding."
19	@echo "If the top-level Makefile gets corrupted, copy Makefile.ini
20	@echo "to Makefile and try again."
21
22World:
23	@echo ""
24	@echo "Building Release 5 of the X Window System"
25	@echo ""
26	@echo "##############################################################"
27	@echo "# Did you remember to check the configuration parameters in  #"
28	@echo "# the directory ./config and set BOOTSTRAPCFLAGS if needed?  #"
29	@echo "##############################################################"
30	@echo ""
31	@date
32	@echo ""
33	cd $(IMAKESRC); $(MAKE) $(FLAGS) clean; $(MAKE) $(FLAGS)
34	-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
35	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
36	$(MAKE) $(MFLAGS) Makefiles
37	$(MAKE) $(MFLAGS) clean
38	$(MAKE) $(MFLAGS) includes
39	$(MAKE) $(MFLAGS) depend
40	$(MAKE) $(MFLAGS) $(WORLDOPTS)
41	@echo ""
42	@date
43	@echo ""
44	@echo "Full build of Release 5 of the X Window System complete."
45	@echo ""
46
47Makefile:
48	cd $(IMAKESRC); $(MAKE) $(FLAGS)
49	-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
50	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
51