From c8ff0e1b9459c3ce8e8ecbb27a6b0a7d38a18dd2 Mon Sep 17 00:00:00 2001 From: Joseph Arceneaux Date: Wed, 23 Aug 1989 21:34:15 +0000 Subject: [PATCH] Initial revision --- src/Makefile.in | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/Makefile.in diff --git a/src/Makefile.in b/src/Makefile.in new file mode 100644 index 00000000000..350753fb77a --- /dev/null +++ b/src/Makefile.in @@ -0,0 +1,38 @@ +CPP = $(CC) -E +MAKE = make # BSD doesn't have it as a default. +#Note: an alternative is CPP = /lib/cpp + +all: xmakefile doall + +doall: + $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all + +#This is used in making a distribution. +#Do not use it on development directories! +distclean: + -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o + +clean: + -rm -f temacs xemacs xmakefile core \#* *.o + +xemacs: xmakefile doxemacs + +doxemacs: + $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs + +temacs: xmakefile dotemacs + +dotemacs: + $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs + +# If you have a problem with cc -E here, changing +# the definition of CPP above may fix it. +xmakefile: ymakefile config.h + rm -f xmakefile + cp ymakefile junk.c + $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \ + sed -n -e '/^..*$$/p' > xmakefile + rm -f junk.c + +tags TAGS: + etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el -- 2.39.2