# HG changeset patch # User Jim Blandy # Date 724174180 0 # Node ID bf8ee433f4d2c03fe919bce32f64c7b1ea4608f8 # Parent e8b3c6b52c1e7d0b70f61aaf6342f59934b800ea * 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}. diff -r e8b3c6b52c1e -r bf8ee433f4d2 src/=Makefile.in --- 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: