diff options
| author | Jim Blandy | 1993-05-10 00:13:32 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-10 00:13:32 +0000 |
| commit | d70fd7d6ee50f1c0e9d7df7c430fa3d1efa71876 (patch) | |
| tree | 1bdb8c6c44e1585fcc15498bc08e210fe29edac8 /src | |
| parent | 663258f2ffbd0f5c7fc6f774e20445b7e76112f0 (diff) | |
| download | emacs-d70fd7d6ee50f1c0e9d7df7c430fa3d1efa71876.tar.gz emacs-d70fd7d6ee50f1c0e9d7df7c430fa3d1efa71876.zip | |
* Makefile.in (DEFS): Remove this; we have configure build a
config.h file directly, instead of having lots of -D flags.
* Makefile.in (CFLAGS): Don't make this carry DEFS from the
configure script; the coding standards say that CFLAGS should be
left for the user to tweak.
* Makefile.in (LN_S): New variable, edited by top Makefile.
(SUBMAKEFILE): New variable, containing all flags to pass to
recursive makes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 5f0afca50c3..70cad233587 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -8,8 +8,9 @@ MAKE = make | |||
| 8 | # ==================== Things `configure' might edit ==================== | 8 | # ==================== Things `configure' might edit ==================== |
| 9 | 9 | ||
| 10 | CC=cc | 10 | CC=cc |
| 11 | DEFS=-g | 11 | CFLAGS=-g |
| 12 | srcdir=. | 12 | srcdir=. |
| 13 | LN_S=ln -s | ||
| 13 | 14 | ||
| 14 | # ============================= Targets ============================== | 15 | # ============================= Targets ============================== |
| 15 | 16 | ||
| @@ -19,12 +20,12 @@ CPP = $(CC) -E -Is -Im | |||
| 19 | # Just to avoid uncertainty. | 20 | # Just to avoid uncertainty. |
| 20 | SHELL = /bin/sh | 21 | SHELL = /bin/sh |
| 21 | 22 | ||
| 22 | CFLAGS=${DEFS} | 23 | SUBMAKEFLAGS = CC='${CC}' LN_S='${LN_S}' |
| 23 | 24 | ||
| 24 | all: doall | 25 | all: doall |
| 25 | 26 | ||
| 26 | doall: xmakefile | 27 | doall: xmakefile |
| 27 | $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} all | 28 | $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all |
| 28 | 29 | ||
| 29 | #This is used in making a distribution. | 30 | #This is used in making a distribution. |
| 30 | #Do not use it on development directories! | 31 | #Do not use it on development directories! |
| @@ -44,13 +45,13 @@ emacs: doemacs | |||
| 44 | @true | 45 | @true |
| 45 | 46 | ||
| 46 | doemacs: xmakefile | 47 | doemacs: xmakefile |
| 47 | $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} emacs | 48 | $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} emacs |
| 48 | 49 | ||
| 49 | temacs: dotemacs | 50 | temacs: dotemacs |
| 50 | @true | 51 | @true |
| 51 | 52 | ||
| 52 | dotemacs: xmakefile | 53 | dotemacs: xmakefile |
| 53 | $(MAKE) CC='${CC}' -f xmakefile ${MFLAGS} temacs | 54 | $(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} temacs |
| 54 | 55 | ||
| 55 | SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \ | 56 | SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \ |
| 56 | config.h.in README COPYING ChangeLog vms.pp-trans | 57 | config.h.in README COPYING ChangeLog vms.pp-trans |