Commit graph

61 commits

Author SHA1 Message Date
Paul Smith
be3fb0ae6d Updates for GNU make 3.75.92. 1997-08-27 20:30:54 +00:00
Paul Smith
63dff1e0bc Bug fixes and automake changes. 1997-08-18 18:11:04 +00:00
Paul Smith
0ada207e2d Changes for make 3.75.1 1997-04-07 07:21:16 +00:00
Roland McGrath
0c23819036 Sat Jun 22 14:56:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* configure.in: Don't check for _sys_siglist.
	* make.h [HAVE__SYS_SIGLIST]: Don't test this; just punt if there is
	no strsignal or sys_siglist.
1996-06-22 22:00:31 +00:00
Roland McGrath
e7a525c5d5 Wed May 15 10:14:14 CDT 1996 Rob Tulloh <tulloh@tivoli.com>
* dir.c: WIN32 does not support inode. For now, fully qualified
	pathname along with st_mtime will be keys for files.
	Fixed problem where vpath can be confused when files
	are added to a directory after the directory has already been
	read in. The code now attempts to reread the directory if it
	discovers that the datestamp on the directory has changed since
	it was cached by make. This problem only seems to occur on WIN32
	right now so it is lumped under port #ifdef WIN32.

	* function.c: WIN32: call subproc library (CreateProcess()) instead of
	fork/exec.

	* job.c: WIN32: Added the code to do fork/exec/waitpid style processing
	on WIN32 systems via calls to subproc library.

	* main.c: WIN32: Several things added here. First, there is code
	for dealing with PATH and SHELL defaults. Make tries to figure
	out if the user has %PATH% set in the environment and sets it to
	%Path% if it is not set already. Make also looks to see if sh.exe
	is anywhere to be found. Code path through job.c will change
	based on existence of a working Bourne shell. The checking for
	default shell is done twice: once before makefiles are read in
	and again after. Fall back to MSDOS style execution mode if no sh.exe
	is found. Also added some debug support that allows user to pause make
	with -D switch and attach a debugger. This is especially useful for
	debugging recursive calls to make where problems appear only in the
	sub-make.

	* make.h: WIN32: A few macros and header files for WIN32 support.

	* misc.c: WIN32: Added a function end_of_token_w32() to assist
	in parsing code in read.c.

	* read.c: WIN32: Fixes similar to MSDOS which allow colon to
	appear in filenames. Use of colon in filenames would otherwise
	confuse make.

	* remake.c: WIN32: Added include of io.h to eliminate compiler
	warnings. Added some code to default LIBDIR if it is not set
	on WIN32.

	* variable.c: WIN32: Added support for detecting Path/PATH
	and converting them to semicolon separated lists for make's
	internal use. New function sync_Path_environment()
	which is called in job.c and function.c before creating a new
	process. Caller must set Path in environment since we don't
	have fork() to do this for us.

	* vpath.c: WIN32: Added detection for filenames containing
	forward or backward slashes.

	* NMakefile: WIN32: Visual C compatible makefile for use with nmake.
	Use this to build GNU make the first time on Windows NT or Windows 95.

	* README.WIN32: WIN32: Contains some helpful notes.

	* build_w32.bat: WIN32: If you don't like nmake, use this the first
	time you build GNU make on Windows NT or Windows 95.

	* config.h.WIN32: WIN32 version of config.h

	* subproc.bat: WIN32: A bat file used to build the
	subproc library from the top-level NMakefile. Needed because
	WIndows 95 (nmake) doesn't allow you to cd in a make rule.

	* w32/include/dirent.h
	* w32/compat/dirent.c: WIN32: opendir, readdir, closedir, etc.

	* w32/include/pathstuff.h: WIN32: used by files needed functions
	defined in pathstuff.c (prototypes).

	* w32/include/sub_proc.h: WIN32: prototypes for subproc.lib functions.

	* w32/include/w32err.h: WIN32: prototypes for w32err.c.

	* w32/pathstuff.c: WIN32: File and Path/Path conversion functions.

	* w32/subproc/build.bat: WIN32: build script for subproc library
	if you don't wish to use nmake.

	* w32/subproc/NMakefile: WIN32: Visual C compatible makefile for use
	with nmake. Used to build subproc library.

	* w32/subproc/misc.c: WIN32: subproc library support code
	* w32/subproc/proc.h: WIN32: subproc library support code
	* w32/subproc/sub_proc.c: WIN32: subproc library source code
	* w32/subproc/w32err.c: WIN32: subproc library support code
1996-05-22 21:51:45 +00:00
Roland McGrath
0feb1dd25f Sun May 12 19:19:43 1996 Aaron Digulla <digulla@fh-konstanz.de>
* make.h: Added HASHI(). This is the same as HASH() but converts
	it's second parameter to lowercase on Amiga to fold filenames.
1996-05-13 18:38:38 +00:00
Roland McGrath
e99a3aca7e Thu May 9 13:54:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* GNUmakefile (globfiles): Add AmigaDOS support files.
	(distfiles): Add $(amigafiles).
	(amigafiles): New variable.

Thu Nov  7 10:18:16 1995  Aaron Digulla   <digulla@fh-konstanz.de>

	* Added Amiga support in commands.c, dir.c, function.c,
	job.c, main.c, make.h, read.c, remake.c
	* commands.c: Amiga has neither SIGHUP nor SIGQUIT
	* dir.c: Amiga has filenames with Upper- and Lowercase,
	but "FileName" is the same as "filename". Added strieq()
	which is use to compare filenames. This is like streq()
	on all other systems. Also there is no such thing as
	"." under AmigaDOS.
	* function.c: On Amiga, the environment is not passed as envp,
	there are no pipes and Amiga can't fork. Use my own function
	to create a new child.
	* job.c: default_shell is "" (The system automatically chooses
	a shell for me). Have to use the same workaround as MSDOS for
	running batch commands. Added HAVE_SYS_PARAM_H. NOFILE isn't
	known on Amiga. Cloned code to run children from MSDOS. Own
	version of sh_chars[] and sh_cmds[]. No dup2() or dup() on Amiga.
	* main.c: Force stack to 20000 bytes. Read environment from ENV:
	device. On Amiga, exec_command() does return, so I exit()
	afterwards.
	* make.h: Added strieq() to compare filenames.
	* read.c: Amiga needs special extension to have passwd. Only
	one include-dir. "Makefile" and "makefile" are the same.
	Added "SMakefile".  Added special code to handle device names (xxx:)
	and "./" in rules.
	* remake.c: Only one lib-dir. Amiga link-libs are named "%s.lib"
	instead of "lib%s.a".
	* main.c, rule.c, variable.c: Avoid floats at all costs.
	* vpath.c: Get rid of as many alloca()s as possible.
1996-05-09 18:02:06 +00:00
Roland McGrath
9e443adaf6 Tue Mar 19 20:21:34 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Merged VMS port from Klaus Kaempf <kkaempf@didymus.rmi.de>.
	* make.h (PARAMS): New macro.
	* config.h-vms: New file.
	* makefile.com: New file.
	* makefile.vms: New file.
	* readme.vms: New file.
	* vmsdir.h: New file.
	* vmsfunctions.c: New file.
	* vmsify.c: New file.
	* file.h: Renamed to filedef.h to avoid conflict with VMS system hdr.
	* ar.c: Added prototypes and changes for VMS.
	* commands.c: Likewise.
	* commands.h: Likewise.
	* default.c: Likewise.
	* dep.h: Likewise.
	* dir.c: Likewise.
	* expand.c: Likewise.
	* file.c: Likewise.
	* function.c: Likewise.
	* implicit.c: Likewise.
	* job.c: Likewise.
	* job.h: Likewise.
	* main.c: Likewise.
	* make.h: Likewise.
	* misc.c: Likewise.
	* read.c: Likewise.
	* remake.c: Likewise.
	* remote-stub.c: Likewise.
	* rule.c: Likewise.
	* rule.h: Likewise.
	* variable.c: Likewise.
	* variable.h: Likewise.
	* vpath.c: Likewise.
	* compatMakefile (srcs): Rename file.h to filedef.h.
1996-03-20 14:57:41 +00:00
Roland McGrath
5ed1a6399a (log_working_directory): Declare it. 1995-11-26 01:39:38 +00:00
Roland McGrath
e33c50b1e2 [! STDC_HEADERS]: Don't declare qsort. Sun headers declare it int. 1995-02-07 18:36:00 +00:00
Roland McGrath
640c4ecd99 (posix_pedantic): Declare it. 1994-10-24 23:11:57 +00:00
Roland McGrath
5d435e0859 (PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not. 1994-07-25 23:27:48 +00:00
Roland McGrath
6348923799 Fix typo in last change. 1994-06-24 10:22:37 +00:00
Roland McGrath
660a23d649 [__arm]: Undefine POSIX.
[!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system
functions that return int.
1994-06-24 09:45:35 +00:00
Roland McGrath
bb38b0c253 [!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for these
declarations.
1994-05-23 22:25:30 +00:00
Roland McGrath
491d66a916 [_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix. 1994-05-21 20:27:18 +00:00
Roland McGrath
9b0a99a051 (find_char_unquote): Declare it. 1994-04-21 20:37:39 +00:00
Roland McGrath
e7defc873b entered into RCS 1994-03-23 14:53:21 +00:00
Roland McGrath
3bb79f5823 Formerly make.h.~82~ 1994-02-04 21:28:53 +00:00
Roland McGrath
e612cccef3 Formerly make.h.~81~ 1993-10-28 00:09:14 +00:00
Roland McGrath
9e7e303ac8 Formerly make.h.~80~ 1993-10-14 22:29:26 +00:00
Roland McGrath
4cbe738cfb Formerly make.h.~79~ 1993-10-14 19:08:38 +00:00
Roland McGrath
0da218acc1 Formerly make.h.~78~ 1993-09-17 04:49:17 +00:00
Roland McGrath
ba45b6e5fa Formerly make.h.~77~ 1993-08-19 20:36:09 +00:00
Roland McGrath
4d8fff0ec0 Formerly make.h.~76~ 1993-08-12 21:19:12 +00:00
Roland McGrath
8153755c17 Formerly make.h.~75~ 1993-07-23 20:04:37 +00:00
Roland McGrath
c3b30f576d Formerly make.h.~74~ 1993-07-13 02:42:59 +00:00
Roland McGrath
5a4a5d3160 Formerly make.h.~73~ 1993-07-08 23:51:22 +00:00
Roland McGrath
54462c9590 Formerly make.h.~72~ 1993-06-25 19:20:49 +00:00
Roland McGrath
fa67064dc6 Formerly make.h.~71~ 1993-05-14 20:40:38 +00:00
Roland McGrath
ca5b7c487d Formerly make.h.~70~ 1993-05-06 21:30:40 +00:00
Roland McGrath
548b4c9bf1 Formerly make.h.~69~ 1993-04-26 20:07:49 +00:00
Roland McGrath
2fae4442e2 Formerly make.h.~68~ 1993-04-14 17:34:15 +00:00
Roland McGrath
7831181410 Formerly make.h.~67~ 1993-04-12 20:51:32 +00:00
Roland McGrath
963f33c909 Formerly make.h.~66~ 1993-02-04 18:23:27 +00:00
Roland McGrath
09e4a320e6 Formerly make.h.~65~ 1993-01-25 23:30:16 +00:00
Roland McGrath
633efa004c Formerly make.h.~64~ 1993-01-15 18:05:49 +00:00
Roland McGrath
e07db8077c Formerly make.h.~63~ 1993-01-12 19:36:16 +00:00
Roland McGrath
e2622b0fea Formerly make.h.~62~ 1993-01-06 23:28:54 +00:00
Roland McGrath
b313929074 Formerly make.h.~61~ 1992-12-31 17:26:10 +00:00
Roland McGrath
3cc78a1a0f Formerly make.h.~60~ 1992-12-20 22:57:06 +00:00
Roland McGrath
081275c58e Formerly make.h.~59~ 1992-11-23 20:41:02 +00:00
Roland McGrath
07a309961b Formerly make.h.~58~ 1992-11-09 22:52:50 +00:00
Roland McGrath
6683a1c8db Formerly make.h.~57~ 1992-10-15 23:01:36 +00:00
Roland McGrath
67516d5331 Formerly make.h.~56~ 1992-10-12 21:58:52 +00:00
Roland McGrath
21d566bf51 Formerly make.h.~55~ 1992-10-02 23:42:13 +00:00
Roland McGrath
7f0fe7f44d Formerly make.h.~54~ 1992-09-02 21:53:59 +00:00
Roland McGrath
24c9aabe16 Formerly make.h.~53~ 1992-08-02 11:28:00 +00:00
Roland McGrath
a98a648754 Formerly make.h.~52~ 1992-08-02 09:10:08 +00:00
Roland McGrath
39e2dbb7b3 Formerly make.h.~51~ 1992-07-30 19:41:18 +00:00