]>
Commit | Line | Data |
---|---|---|
7e4279ca | 1 | # |
62efc910 | 2 | # WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
3 | # | |
4 | # This is NOT an automatically generated Makefile! It is hand-crafted as a | |
5 | # bootstrap, may need editing for your system. The BOOTSTRAPCFLAGS variable | |
6 | # may be given at the top of the build tree for systems that do not define | |
7 | # any machine-specific preprocessor symbols. | |
8 | # | |
7e4279ca | 9 | |
62efc910 | 10 | BOOTSTRAPCFLAGS = |
11 | CDEBUGFLAGS = -O | |
12 | CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) | |
7e4279ca | 13 | SHELL = /bin/sh |
14 | RM = rm -f | |
15 | MAKE = make | |
16 | RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \ | |
17 | tags TAGS make.log | |
d1b2a10e | 18 | LN = cp |
62efc910 | 19 | NPROC = 1 |
d1b2a10e | 20 | DESTDIR = . |
21 | SRCDIR = /mit/moiradev/src | |
22 | SOURCES = ${SRCDIR}/util/imake/imake.c ${SRCDIR}/util/imake/ccimake.c \ | |
23 | ${SRCDIR}/util/imake/Makefile ${SRCDIR}/util/imake/imakemdep.h | |
24 | ||
25 | all: imake | |
7e4279ca | 26 | |
62efc910 | 27 | imake:: |
28 | @echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)" | |
7e4279ca | 29 | |
62efc910 | 30 | imake:: ccimake imake.c |
31 | $(CC) -o imake $(CFLAGS) imake.c `./ccimake` | |
7e4279ca | 32 | |
62efc910 | 33 | ccimake: ccimake.c |
34 | $(CC) -o ccimake $(CFLAGS) ccimake.c | |
7e4279ca | 35 | |
36 | relink: | |
37 | $(RM) imake | |
38 | $(MAKE) $(MFLAGS) imake | |
39 | ||
40 | clean: | |
62efc910 | 41 | $(RM) ccimake imake |
7e4279ca | 42 | $(RM_CMD) \#* |
43 | ||
44 | depend: | |
45 | ||
d1b2a10e | 46 | config: $(SOURCES) |
47 | -mkdir $(DESTDIR)/util/imake | |
48 | for i in $(SOURCES); do \ | |
49 | $(RM) ${DESTDIR}/util/imake/`basename $$i`; \ | |
50 | $(LN) $$i ${DESTDIR}/util/imake/`basename $$i`; done | |
62efc910 | 51 | |
52 | # for manual use | |
53 | ||
54 | Makefile: imake | |
55 | imake -DNEWTOP=../ | |
7e4279ca | 56 | |
57 | tags: | |
58 | ||
59 | install: | |
60 | ||
62efc910 | 61 | install.man: |
f45755cf | 62 | |
62efc910 | 63 | Makefiles: |