aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoseph Arceneaux1989-08-23 21:34:15 +0000
committerJoseph Arceneaux1989-08-23 21:34:15 +0000
commitc8ff0e1b9459c3ce8e8ecbb27a6b0a7d38a18dd2 (patch)
treece768793d557f481567381b79d76fda95b65574b /src
parent8af2c99139906d76e7f696e8ede3427c3c0be7d9 (diff)
downloademacs-c8ff0e1b9459c3ce8e8ecbb27a6b0a7d38a18dd2.tar.gz
emacs-c8ff0e1b9459c3ce8e8ecbb27a6b0a7d38a18dd2.zip
Initial revision
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in38
1 files changed, 38 insertions, 0 deletions
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 @@
1CPP = $(CC) -E
2MAKE = make # BSD doesn't have it as a default.
3#Note: an alternative is CPP = /lib/cpp
4
5all: xmakefile doall
6
7doall:
8 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
9
10#This is used in making a distribution.
11#Do not use it on development directories!
12distclean:
13 -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *~ \#* *.o
14
15clean:
16 -rm -f temacs xemacs xmakefile core \#* *.o
17
18xemacs: xmakefile doxemacs
19
20doxemacs:
21 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs
22
23temacs: xmakefile dotemacs
24
25dotemacs:
26 $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
27
28# If you have a problem with cc -E here, changing
29# the definition of CPP above may fix it.
30xmakefile: ymakefile config.h
31 rm -f xmakefile
32 cp ymakefile junk.c
33 $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \
34 sed -n -e '/^..*$$/p' > xmakefile
35 rm -f junk.c
36
37tags TAGS:
38 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el