aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-12-06 22:12:37 +0000
committerJim Blandy1992-12-06 22:12:37 +0000
commit0c22fbcab46917e98189e0f4ab8907b3f236ee6c (patch)
treeeee5224670171eae6154062d0c8a5a3fdc608b38 /src
parentd95ba5f0be083cc47cde96ccae900e41e430144a (diff)
downloademacs-0c22fbcab46917e98189e0f4ab8907b3f236ee6c.tar.gz
emacs-0c22fbcab46917e98189e0f4ab8907b3f236ee6c.zip
Now partially conforms with GNU coding standards. I'm only checking
it in to RCS so I can check my changes in with FSF Cambridge.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 04a083123b0..79994082791 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -5,7 +5,10 @@
5MAKE = make 5MAKE = make
6# BSD doesn't have it as a default. 6# BSD doesn't have it as a default.
7 7
8CC =gcc 8# These values are edited by configure.
9CC=cc
10CFLAGS=-g
11
9CPP = $(CC) -E -Is -Im 12CPP = $(CC) -E -Is -Im
10#Note: an alternative is CPP = /lib/cpp 13#Note: an alternative is CPP = /lib/cpp
11 14
@@ -40,7 +43,13 @@ dotemacs: xmakefile
40xmakefile: ymakefile config.h 43xmakefile: ymakefile config.h
41 -rm -f xmakefile xmakefile.new junk.c junk.cpp 44 -rm -f xmakefile xmakefile.new junk.c junk.cpp
42 cp ymakefile junk.c 45 cp ymakefile junk.c
43 $(CPP) junk.c > junk.cpp 46 ## The flags for optimization and debugging depend on the
47 ## system, so take an ordinary CFLAGS value and choose the
48 ## appropriate CPP symbols to use in ymakefile.
49 $(CPP) junk.c > junk.cpp \
50 -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \
51 | sed -e 's/-g /C_DEBUG_SWITCH /' \
52 -e 's/-O /C_OPTIMIZE_SWITCH /`"
44 < junk.cpp \ 53 < junk.cpp \
45 sed -e 's/^#.*//' \ 54 sed -e 's/^#.*//' \
46 -e 's/^[ \f\t][ \f\t]*$$//' \ 55 -e 's/^[ \f\t][ \f\t]*$$//' \
@@ -48,7 +57,7 @@ xmakefile: ymakefile config.h
48 | sed -n -e '/^..*$$/p' \ 57 | sed -n -e '/^..*$$/p' \
49 > xmakefile.new 58 > xmakefile.new
50 mv -f xmakefile.new xmakefile 59 mv -f xmakefile.new xmakefile
51 rm -f junk.c 60 rm -f junk.c junk.cpp
52 61
53tags TAGS: 62tags TAGS:
54 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \ 63 etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \