Mercurial > emacs
comparison src/=Makefile.in @ 732:a8d94735277e
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 30 Jun 1992 13:54:21 +0000 |
parents | cde1f15848c6 |
children | cc52c6087403 |
comparison
equal
deleted
inserted
replaced
731:5c6db33a9ef6 | 732:a8d94735277e |
---|---|
1 MAKE = make | 1 MAKE = make |
2 # BSD doesn't have it as a default. | 2 # BSD doesn't have it as a default. |
3 | 3 |
4 CC =gcc | 4 CC =gcc |
5 CPP = $(CC) -E | 5 CPP = $(CC) -E -Is -Im |
6 #Note: an alternative is CPP = /lib/cpp | 6 #Note: an alternative is CPP = /lib/cpp |
7 | 7 |
8 # Just to avoid uncertainty. | 8 # Just to avoid uncertainty. |
9 SHELL = /bin/sh | 9 SHELL = /bin/sh |
10 | 10 |
17 #Do not use it on development directories! | 17 #Do not use it on development directories! |
18 distclean: | 18 distclean: |
19 -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ \#* *.o | 19 -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ \#* *.o |
20 | 20 |
21 clean: | 21 clean: |
22 -rm -f temacs xemacs xmakefile core \#* *.o | 22 -rm -f temacs xemacs xmakefile* core \#* *.o |
23 | 23 |
24 xemacs: xmakefile doxemacs | 24 xemacs: xmakefile doxemacs |
25 | 25 |
26 doxemacs: | 26 doxemacs: |
27 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs | 27 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs |
32 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs | 32 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs |
33 | 33 |
34 # If you have a problem with cc -E here, changing | 34 # If you have a problem with cc -E here, changing |
35 # the definition of CPP above may fix it. | 35 # the definition of CPP above may fix it. |
36 xmakefile: ymakefile config.h | 36 xmakefile: ymakefile config.h |
37 -rm -f xmakefile junk.c | 37 -rm -f xmakefile xmakefile.new junk.c junk.cpp |
38 cp ymakefile junk.c | 38 cp ymakefile junk.c |
39 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \ | 39 $(CPP) junk.c > junk.cpp |
40 sed -n -e '/^..*$$/p' > xmakefile | 40 < junk.cpp \ |
41 sed -e 's/^#.*//' \ | |
42 -e 's/^[ \f\t][ \f\t]*$$//' \ | |
43 -e 's/^ / /' \ | |
44 | sed -n -e '/^..*$$/p' \ | |
45 > xmakefile.new | |
46 mv -f xmakefile.new xmakefile | |
41 rm -f junk.c | 47 rm -f junk.c |
42 | 48 |
43 tags TAGS: | 49 tags TAGS: |
44 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el | 50 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el |