159811ShiblerCPP = $(CC) -E 259811ShiblerMAKE = make # BSD doesn't have it as a default. 359811Shibler#Note: an alternative is CPP = /lib/cpp 459811Shibler 559811Shiblerall: xmakefile doall 659811Shibler 759811Shiblerdoall: 859811Shibler $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all 959811Shibler 1059811Shibler#This is used in making a distribution. 1159811Shibler#Do not use it on development directories! 1259811Shiblerdistclean: 1359811Shibler -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core \ 1459811Shibler *~ \#* *.o libXMenu11.a log* 1559811Shibler 1659811Shiblerclean: 1759811Shibler -rm -f temacs xemacs xmakefile core \#* *.o libXMenu11.a 1859811Shibler 1959811Shiblerxemacs: xmakefile doxemacs 2059811Shibler 2159811Shiblerdoxemacs: 2259811Shibler $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs 2359811Shibler 2459811Shiblertemacs: xmakefile dotemacs 2559811Shibler 2659811Shiblerdotemacs: 2759811Shibler $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs 2859811Shibler 2959811Shibler# If you have a problem with cc -E here, changing 3059811Shibler# the definition of CPP above may fix it. 3159811Shiblerxmakefile: ymakefile config.h 3259811Shibler -rm -f xmakefile junk.c 3359811Shibler cp ymakefile junk.c 34*60297Shibler $(CPP) -DYMAKEFILE junk.c | \ 35*60297Shibler sed -e 's/^#.*//' -e 's/^[ ][ ]*$$//' -e 's/^ / /' | \ 3659811Shibler sed -n -e '/^..*$$/p' > xmakefile 3759811Shibler rm -f junk.c 3859811Shibler 3959811Shiblertags: 4059811Shibler etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el 41