1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
Commit graph

53 commits

Author SHA1 Message Date
Richard M. Stallman
29ed054212 Renamed from Makefile.in.
Makefile.in is now generated from it, and then preprocessed.
Change comments to C syntax.
Include config.h.
(LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
(LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
1994-04-16 04:46:43 +00:00
Richard M. Stallman
6f5e9c436c (etags, ctags): Pass -D for VERSION. 1994-03-25 18:34:05 +00:00
Richard M. Stallman
62039e5ab3 (UTILITIES): `env' deleted.
(env): Target deleted.
1994-03-20 02:05:29 +00:00
Richard M. Stallman
4ef7b41316 (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM. 1994-03-14 22:10:04 +00:00
Richard M. Stallman
07ff9ea94b (C_SWITCH_MACHINE): Get this from autoconf.
(ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
1994-02-09 09:13:05 +00:00
Richard M. Stallman
379fb9c8bb (profile): New target.
(UTILITIES): Mention profile.
1994-02-05 04:58:38 +00:00
Richard M. Stallman
3e883207fd (ALL_CFLAGS): Include LDFLAGS.
Use ALL_CFLAGS in all the rules that compile and link with one cmd.
(LINK_CFLAGS): New variable.
(timer): Use LINK_CFLAGS.
1994-01-02 18:41:29 +00:00
Richard M. Stallman
80fce26856 (${archlibdir}, install): Use $(INSTALL_PROGRAM)
for all executables and scripts.
1993-12-24 02:18:42 +00:00
Richard M. Stallman
a17d2c253b (mostlyclean): Make it distinct from clean. 1993-11-26 11:08:58 +00:00
Richard M. Stallman
3c8393fdba (${archlibdir}): Don't do chown or chgrp. 1993-11-24 12:25:49 +00:00
Richard M. Stallman
96e19e26f5 (install): Don't change mode or group when installing. 1993-11-16 09:22:47 +00:00
Roland McGrath
8ff3d70355 (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not cwd. 1993-10-04 04:31:33 +00:00
Roland McGrath
63be7fb7d0 Fixed typos or brainos of whoever though `@' was the comment char. 1993-10-03 19:54:21 +00:00
Brian Fox
544d556f9e (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not from current
directory.  Only chmod and chgrp files that we installed, which
excludes ${INSTALLABLE_SCRIPTS}.  They go in ${bindir}.
(INSTALLFLAGS): Deleted definition, since it is an unused variable now.
1993-09-30 23:25:30 +00:00
Brian Fox
b93f24930d (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let configure figure out the
correct values for these variables.
(archlibdir): Only install execuatables internally used by emacs;
don't install bindir binaries here.
1993-09-28 10:04:53 +00:00
Roland McGrath
eab5f4fd96 (b2m, movemail, fakemail, env, emacsserver, emacsclient, getdate.o,
timer.o, timer): Remove `-I${srcdir}/../src', since it is already in
CPP_FLAGS.
1993-09-10 05:40:51 +00:00
Roland McGrath
b2d7a9c720 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
-I${srcdir}/../src.
1993-09-10 04:47:05 +00:00
Richard M. Stallman
a069743544 (make-path): Dep on config.h. 1993-08-12 22:23:59 +00:00
Richard M. Stallman
755f5c8707 (etags): Depend on ../src/config.h. 1993-07-21 03:29:43 +00:00
Richard M. Stallman
103d21491f (install): Use .n, not .new, for temporary filenames. 1993-07-19 19:11:09 +00:00
Jim Blandy
4348b379b1 * Makefile.in (ctags): Depend on etags, so that parallel makes
don't write etags.o files on top of each other.
1993-06-22 03:58:05 +00:00
Jim Blandy
0268f19b00 * Makefile.in: Remember, spaces are not tabs. 1993-06-17 02:59:21 +00:00
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