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