|
|
1.1 root 1: /* $Header: Imakefile,v 1.2 87/09/12 16:35:34 newman Exp $ */
2: CPP = cc -E
3: #Note: an alternative is CPP = /lib/cpp
4:
5: all: xmakefile doall
6:
7: doall:
8: make INCLUDES=$(INCLUDES) XLIB=$(XLIB) OLDXMENULIB=$(OLDXMENULIB) \
9: -f xmakefile ${MFLAGS} all
10: .RECURSIVE: doall
11:
12: #This is used in making a distribution.
13: #Do not use it on development directories!
14: spotless:
15: -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o
16:
17: clean::
18: -rm -f temacs xemacs xmakefile code *~ \#* *.o
19:
20: xemacs: xmakefile doxemacs
21:
22: doxemacs:
23: make -f xmakefile ${MFLAGS} xemacs
24: .RECURSIVE: doxemacs
25:
26: temacs: xmakefile dotemacs
27:
28: dotemacs:
29: make -f xmakefile ${MFLAGS} temacs
30: .RECURSIVE: dotemacs
31:
32: # If you have a problem with cc -E here, changing
33: # the definition of CPP above may fix it.
34: xmakefile: ymakefile config.h
35: rm -f xmakefile
36: cp ymakefile junk.c
37: $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f ]$$//' | \
38: sed -n -e '/^..*$$/p' > xmakefile
39: rm -f junk.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.