1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00
Commit Graph

131 Commits

Author SHA1 Message Date
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
b827c6c13d Include ../src/config.h. 1993-05-25 21:03:28 +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
a706b8084a * make-docfile.c: Doc fix. 1993-05-24 18:05:21 +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
Richard M. Stallman
ef7054f542 (main): Return 0. 1993-05-23 18:52:53 +00:00
Richard M. Stallman
2d6e26196e (scan_lisp_file): Recognize defalias like fset. 1993-05-22 22:07:57 +00:00
Richard M. Stallman
ea6cd314ce Change permission notice (not "part of Emacs"). 1993-05-21 04:12:28 +00:00
Richard M. Stallman
46b16ef098 Update GPL version. 1993-05-19 21:19:08 +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
9b5283804a * timer.c (notify): Don't call sighold or sigrelse; they're USG
only.  We should really fix this later, but let's just make it
	compile for now.
1993-05-16 00:53:57 +00:00
Jim Blandy
d2d92f7a66 Install patches from David J. Mackenzie to make the srcdir option
work.
	* Makefile.in (srcdir, VPATH): 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.
	* make-docfile.c (main): Add a -d option, to tell it where to find
	the source files.
	* test-distrib.c (main): Take the name of the distribution file to
	test from the command line.
1993-05-15 23:06:16 +00:00
Jim Blandy
ad2e78fb7c * timer.c: Fix mispellings of get_date function's name. 1993-05-15 23:05:46 +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
Roland McGrath
0e5ad25f6b (main): Don't require that there be input files if -i switches were given. 1993-05-13 03:00:51 +00:00
Eric S. Raymond
d2b641800e *** empty log message *** 1993-05-08 09:25:11 +00:00
Paul Eggert
566dd94e41 mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on /[/]/, so change
it to /[\/]/.  This should work on all Posix-compliant awks.
It's slightly wrong with traditional (Unix version 7) awk, since it
also allows \, but that's a minor problem compared to awk syntax errors.
1993-05-03 17:55:22 +00:00
Eric S. Raymond
ee6b9d1928 (notify): Bug fix. Treat the body of this function as a critical region. 1993-04-27 21:59:39 +00:00
Jim Blandy
51509df90c * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. 1993-04-10 06:16:34 +00:00
Jim Blandy
3941a1796f * make-docfile.c (write_c_args): Print an argument named "defalt"
as "default".
1993-04-08 02:06:43 +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
Richard M. Stallman
13fde0cd78 (YACC): flag added to c_ext.
(c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
(find_entries): consistently use streq when reasonable.
(find_entries): a .y file is a yacc file.
(get_C_stab): c_ext becomes c_ext&C_PLPL.
(C_entries): logical cplpl means c_ext&C_PLPL.
(C_entries): logical yacc_rules means we are after the first %%.
(C_entries): added logic for yacc files.

(C_entries): ':' case moved to the second switch.
(C_entries): do not examine token if structdef==scolonseen.
(consider_token): structtag set to null string for enum.

(GET_COOKIE): and related macros removed.
(logical): is now int, no more a char.
(reg): define deleted.
(isgood, _gd, notgd): deleted.
(gotone): deleted.
(TOKEN): member linestart removed.
(linepos, prev_linepos, lb1): deleted.
(main): call initbuffer on lbs array instead of lb1.
(init): removed the initialisation of the logical _gd array;
(find_entries): a .sa suffix means assembler file.
(C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
All C state machines rewritten.
(C_entries): complete rewrite.
(condider_token): complete rewrite.
(getline): deleted.

(C_entries): Added the quotednl logical variable.
Used for parsing of #define's spanning multiple lines.

(C_entries): Save the definedef status even when a
newline is met inside a string.
1993-03-22 23:13:10 +00:00
Eric S. Raymond
5e15f62581 Added documentation, made the change comment for old versions more
useful.
1993-03-19 23:40:27 +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
17457b8df3 Initial revision 1993-03-19 23:01:33 +00:00
Eric S. Raymond
41f86d5a05 Added unlock and relock. 1993-03-19 07:49:20 +00:00
Paul Eggert
f9155ea03e Some awks don't understand "\r". Code around this.
Unfortunately this requires putting a carriage return in the source code.
Don't assume that rlog will tolerate times like `10:10:60';
RCS 5.7 won't allow this.
1993-03-16 22:49:00 +00:00
Jim Blandy
b183949171 * timer.c (main): Set the ownership of the stdin file descriptor
to the current process.  Print error messages if either of the
	fcntl's fails.

	* timer.c (sigcatch): Declare this to return SIGTYPE (defined in
	../src/config.h), not void.
1993-03-11 07:00:12 +00:00
Jim Blandy
5d13f393f9 * b2m.c (main): Don't exit upon reading a blank line. 1993-03-11 06:59:53 +00:00
Richard M. Stallman
99e0a2e032 (C_entries): New local variable quotednl. Used for
parsing of #define's spanning multiple lines.

(C_entries): Save the definedef status
even when a newline is met inside a string.
1993-03-03 06:20:12 +00:00
Jim Blandy
ca5b61ea67 * timer.c (notify): Initialize waitfor properly. 1993-03-02 08:25:47 +00:00
Richard M. Stallman
57e83cfeff (C_entries): Don't reset definedef when a newline inside a comment is met. 1993-02-23 07:27:39 +00:00
Paul Eggert
0b67eabf74 Add copyright and authorship notices. 1993-01-15 05:33:29 +00:00
Richard M. Stallman
1e8e116226 (find_entries): If filename ends in .f or .for, don't try anything but Fortran. 1993-01-14 20:09:22 +00:00
Michael I. Bushnell
c193197b50 Also, write a newline after the token. 1993-01-08 21:12:58 +00:00
Michael I. Bushnell
07941899b3 Also, write a newline after the token. 1993-01-08 20:36:35 +00:00
Michael I. Bushnell
5319c7c1b9 timer.c (notify): Flush stdout after writing message to avoid lossage
on terminals.
1993-01-08 20:36:14 +00:00
Michael I. Bushnell
507876f3c7 timer.c (notify): Flush stdout after writing message to avoid lossage
on terminals.
1993-01-08 20:26:54 +00:00
Jim Blandy
84128dee7b * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
a different number of arguments than other DEFVARs, recognize it
	specially, and expect the right number of commas.
1992-12-12 15:25:18 +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
4aa1632a5f * make-path.c (touchy_mkdir): Remove debugging output. 1992-12-06 22:27:37 +00:00
Jim Blandy
ecc798b0dc * Makefile.in (make-path): New target. 1992-12-06 22:25:31 +00:00
Jim Blandy
d95ba5f0be Initial revision 1992-12-04 19:59:59 +00:00