1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Jim Blandy
39b649dd44 Bring mumbleclean targets into conformance with GNU coding standards.
* Makefile.in (distclean): Call clean to do most of the work.
	Delete aixcc.c and TAGS.
	(realclean): Just call distclean.
1993-06-16 23:49:07 +00:00
Richard M. Stallman
5293b43278 (CPP_CFLAGS): New variable.
Use it instead of ALL_CFLAGS when compiling a .c file.
(getopt.o, getopt1.o): Add explicit compilation commands.
1993-06-13 18:14:04 +00:00
Jim Blandy
4b5a51c1fe * configure.in: Test for bison.
* Makefile.in (YACC): New variable.
	(lib-src/Makefile.in): Edit YACC into the makefile.

	* Makefile.in (YACC): New variable, to be set by top-level Makefile.
1993-06-09 04:06:57 +00:00
Richard M. Stallman
4eda59a90d (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps. 1993-06-02 06:52:09 +00:00
Jim Blandy
f7d3e7d055 * Makefile.in: (${archlibdir}): Use (cd foo && pwd) instead of
`(cd foo ; pwd)` to get the canonical name of a directory; cd
	might fail, and have pwd print out the current directory.
1993-05-30 19:40:39 +00:00
Richard M. Stallman
a210860236 (timer): Link with $(LOADLIBES). 1993-05-29 05:00:58 +00:00
Jim Blandy
4fa84f6b74 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
description files can find their ancestors.
1993-05-28 03:33:15 +00:00
Richard M. Stallman
c93341d541 (ALL_CFLAGS): Add -I../src 1993-05-28 01:19:17 +00:00
Richard M. Stallman
b70cff717b (install): Get the scripts from ${srcdir}, unlike the executables. 1993-05-28 00:55:10 +00:00
Jim Blandy
b90589d8fd * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
(getopt.o, getopt1.c): Use ${srcdir} as appropriate.
1993-05-27 02:54:03 +00:00
Jim Blandy
5e231e7058 * Makefile.in (install): Do install the programs listed in
INSTALLABLE_SCRIPTS.  Make the renaming loop use INSTALLABLES and
	INSTALLABLE_SCRIPTS, instead of writing the programs out.
1993-05-27 02:46:57 +00:00
Richard M. Stallman
3d3bd05268 (install): Don't handle INSTALLABLE_SCRIPTS
in first loop.  Delete files from bindir before installing new ones.
(ALL_CFLAGS): Use ${srcdir} to find .../src dir.
1993-05-25 20:11:39 +00:00
Jim Blandy
1e3255d849 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
appropriate.
1993-05-24 15:59:44 +00:00
Jim Blandy
9ff5de0791 * timer.c (xmalloc): Include definition for this, to placate the C
version of alloca.
	* Makefile.in (timer.o): Link with alloca.o, if it's appropriate.
1993-05-24 15:39:31 +00:00
Jim Blandy
261518d9ce * Makefile.in (install): Refer to the variables INSTALLABLES and
INSTALLABLE_SCRIPTS, instead of writing them out.
1993-05-24 05:54:23 +00:00
Jim Blandy
51facdef2e * Makefile.in (.c.o): Make the rule start with a tab, not spaces. 1993-05-18 20:35:35 +00:00
Jim Blandy
c38a040d4a The GNU coding standards specify that CFLAGS should be left for
users to set.
	* Makefile.in (CFLAGS): Put this in the "things configure might
	edit" section, and have it default to -g.
	(ALL_CFLAGS): New variable, set to all the flags which should be
	passed to compilations.  Replace all other uses of CFLAGS with
	ALL_CFLAGS.
	(.c.o): New rule, to pass ALL_CFLAGS to compilations.

	* Makefile.in (DEFS): Remove this; it's always just going to be
	"-DHAVE_CONFIG_H -Demacs".

	* Makefile.in (ALLOCA): New variable, whose value we should
	inherit from the top-level makefile.
	(etags, ctags): Include ALLOCA in the list of object files that
	these executables depend on and link.
1993-05-15 22:25:51 +00:00
Jim Blandy
0d73e8e39c Install patches from David J. Mackenzie to make the srcdir option
work.
	* Makefile.in (srcdir): Get this value from the top-level
	Makefile.
	(INSTALLABLES): Split this into two lists - INSTALLABLES and
	INSTALLABLE_SCRIPTS.
	(INSTALLABLE_SCRIPTS): New list.
	(EXECUTABLES): Include INSTALLABLE_SCRIPTS.
	(${archlibdir}): The scripts to be installed live in the source
	tree, not in the object tree.
	(test-distrib): Note that the data file lives in the source tree,
	not the object tree.
	(GETOPTDEPS): Note that getopt.h lives in the source tree.
	(all other targets): Change references to source files to use
	${srcdir}, except for config.h, which lives in the object dir.
	(timer.o): Note that this depends on ../src/config.h.
1993-05-15 22:20:34 +00:00
Jim Blandy
51509df90c * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. 1993-04-10 06:16:34 +00:00
Jim Blandy
c6b81ef2ee * Makefile.in (C_SWITCH_SYSTEM): New variable.
(CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
	compiler.
1993-03-25 03:51:38 +00:00
Eric S. Raymond
8554321b66 Teach it about the new user-runnable command rcs-checkin. 1993-03-19 23:04:44 +00:00
Eric S. Raymond
41f86d5a05 Added unlock and relock. 1993-03-19 07:49:20 +00:00
Jim Blandy
c71beb7551 * Makefile.in (exec_prefix): New variable.
(bindir, libdir): Use it instead of `prefix'.

	* Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.

	* Makefile.in (libdir): Default to ${prefix}/lib.
	(archlibdir): Adjusted to match.

	* Makefile.in (distclean): Don't delete backup or autosave files.
	(extraclean): Like realclean, but does delete backup and autosave
	files.

	* Makefile.in (realclean): Ignore errors from rm.

	* Makefile.in (distclean): Don't bother to delete ../arch-lib;
	that doesn't exist anymore.

	* Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
	described in the top-level Makefile.
	(UTILITIES): Add make-path to the list of utility programs.
	(../arch-lib): Replaced by the ${archlibdir} target, which places
	the executables in their permanent home.
	(install, install.sysv, install.xenix): Consolidated into one
	target which should work under all circumstances, modulo a few
	ignored error messages.
1992-12-12 15:24:50 +00:00
Jim Blandy
ecc798b0dc * Makefile.in (make-path): New target. 1992-12-06 22:25:31 +00:00
Jim Blandy
43bf8b0ee3 * Makefile.in (getdate.o): Added explicit target for this, so we
can indicate that it depends on ../src/config.h.

	* Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
	instead of CFLAGS.
	(CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
1992-11-07 07:39:11 +00:00
Jim Blandy
9e7cd9225e entered into RCS 1992-09-30 21:44:26 +00:00
Jim Blandy
b7cceaf12a *** empty log message *** 1992-09-13 10:54:38 +00:00
Jim Blandy
ef15f270db *** empty log message *** 1992-08-19 03:54:51 +00:00
Eric S. Raymond
6edec2ddbc *** empty log message *** 1992-08-14 16:02:12 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Jim Blandy
f7dbcf3cf8 Initial revision 1992-04-19 08:53:10 +00:00