annotate etc/Makefile @ 2711:2c2052ec537d

The GNU coding standards specify that CFLAGS should be left for users to set. * Makefile.in (CFLAGS): Let configure determine the default value for this. Don't have it default to DEFS. (${SUBDIR}): Pass CFLAGS down to submakes, not DEFS. (lib-src/Makefile, src/Makefile): Edit the default value for CFLAGS into these files, not DEFS. * configure.in (CFLAGS): Choose a default value for this - "-g" normally, or "-g -O" if we're using GCC. Edit it into the top-level Makefile. * configure.in: When scanning the machine and system description #include files, write their names to conftest.c properly. * configure.in: In configuration name case for Apallos running Domainios, set opsys, not opsysfile. * configure.in: Use the autoconf AC_CONFIG_HEADER macro to produce src/config.h, instead of AC_OUTPUT; the latter overwrites src/config.h even when it hasn't changed, puts a makefile-style comment at the top even though it's C code, and produces a config.status script which doesn't do the job right. * configure.in: Add AC_LN_S test, so we can tell whether or not we can use a symbolic link to get the X Menu library into src. * Makefile.in (LN_S): New variable. (src/Makefile): Edit the value of LN_S into this makefile.
author Jim Blandy <jimb@redhat.com>
date Sun, 09 May 1993 22:52:15 +0000
parents bb1a01e47d85
children 3ce509de88ec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2260
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
1 DESTDIR=
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
2 LIBDIR=/usr/local/lib
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
3 BINDIR=/usr/local/bin
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
4 MANDIR=/usr/man/man1
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
5 MANEXT=1
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
6
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
7 all:
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
8
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
9 distclean:
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
10 -rm -f *~ \#* DOC* core
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
11
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
12 clean:
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
13 -rm -f core
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
14
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
15 SOURCES = [0-9A-QS-Z]* README *.[ch16] emacs.* etags.* ledit.l ms-* \
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
16 news.texi rc2log refcard.tex spook-lines termcap.* ulimit.hack \
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
17 vcdiff vipcard.tex xmouse.doc
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
18
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
19 unlock:
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
20 chmod u+w $(SOURCES)
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
21
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
22 relock:
bb1a01e47d85 Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
23 chmod u-w $(SOURCES)