diff options
| author | Jim Blandy | 1992-12-06 22:12:37 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-12-06 22:12:37 +0000 |
| commit | 0c22fbcab46917e98189e0f4ab8907b3f236ee6c (patch) | |
| tree | eee5224670171eae6154062d0c8a5a3fdc608b38 /src | |
| parent | d95ba5f0be083cc47cde96ccae900e41e430144a (diff) | |
| download | emacs-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.in | 15 |
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 @@ | |||
| 5 | MAKE = make | 5 | MAKE = make |
| 6 | # BSD doesn't have it as a default. | 6 | # BSD doesn't have it as a default. |
| 7 | 7 | ||
| 8 | CC =gcc | 8 | # These values are edited by configure. |
| 9 | CC=cc | ||
| 10 | CFLAGS=-g | ||
| 11 | |||
| 9 | CPP = $(CC) -E -Is -Im | 12 | CPP = $(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 | |||
| 40 | xmakefile: ymakefile config.h | 43 | xmakefile: 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 | ||
| 53 | tags TAGS: | 62 | tags 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 \ |