Mercurial > emacs
changeset 1677:bf8ee433f4d2
* Makefile.in (distclean): Don't delete machine.h or system.h;
they don't exist anymore.
* Makefile.in (distclean): Don't delete autosave or backup files.
(extraclean): New target; like distclean, but delete autosave
and backup files too.
* Makefile.in (srcdir): New variable, not fully implemented.
(xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and
C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition. Delete junk.cpp
when done.
* ymakefile (archlib): Variable definition deleted. Run programs
from ../lib-src directly, or use ${archlibdir}.
(${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}.
(${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not
${archlib}.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 12 Dec 1992 15:29:40 +0000 |
parents | e8b3c6b52c1e |
children | 62ecf0c5b54c |
files | src/=Makefile.in |
diffstat | 1 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/=Makefile.in Sat Dec 12 15:25:18 1992 +0000 +++ b/src/=Makefile.in Sat Dec 12 15:29:40 1992 +0000 @@ -5,9 +5,13 @@ MAKE = make # BSD doesn't have it as a default. -# These values are edited by configure. +# ==================== Things `configure' might edit ==================== + CC=cc -CFLAGS=-g +CONFIG_CFLAGS=-g +srcdir=. + +# ============================= Targets ============================== CPP = $(CC) -E -Is -Im #Note: an alternative is CPP = /lib/cpp @@ -15,6 +19,8 @@ # Just to avoid uncertainty. SHELL = /bin/sh +CFLAGS=${CONFIG_CFLAGS} + all: doall doall: xmakefile @@ -23,11 +29,14 @@ #This is used in making a distribution. #Do not use it on development directories! distclean: - -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ m/*~ s/*~ \#* *.o + -rm -f paths.h config.h emacs-* temacs xemacs xmakefile core *.o clean: -rm -f temacs xemacs prefix-args xmakefile* core \#* *.o +extraclean: distclean + -rm -f *~ \#* m/*~ s/*~ + xemacs: doxemacs doxemacs: xmakefile @@ -57,6 +66,7 @@ | sed -n -e '/^..*$$/p' \ > xmakefile.new mv -f xmakefile.new xmakefile + chmod 444 xmakefile rm -f junk.c junk.cpp tags TAGS: