summaryrefslogtreecommitdiff
path: root/make.h
AgeCommit message (Collapse)AuthorFilesLines
1996-05-22Wed May 15 10:14:14 CDT 1996 Rob Tulloh <tulloh@tivoli.com>Roland McGrath1-2/+14
* 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-13Sun May 12 19:19:43 1996 Aaron Digulla <digulla@fh-konstanz.de>Roland McGrath1-0/+6
* 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-09Thu May 9 13:54:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1-0/+14
* 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-03-20Tue Mar 19 20:21:34 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath1-28/+93
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.
1995-11-26(log_working_directory): Declare it.Roland McGrath1-0/+1
1995-02-07[! STDC_HEADERS]: Don't declare qsort. Sun headers declare it int.Roland McGrath1-2/+1
1994-10-24(posix_pedantic): Declare it.Roland McGrath1-0/+1
1994-07-25(PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not.Roland McGrath1-0/+6
1994-06-24Fix typo in last change.Roland McGrath1-1/+1
1994-06-24[__arm]: Undefine POSIX.Roland McGrath1-9/+1
[!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system functions that return int.
1994-05-23[!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for theseRoland McGrath1-1/+4
declarations.
1994-05-21[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.Roland McGrath1-1/+3
1994-04-21(find_char_unquote): Declare it.Roland McGrath1-1/+1
1994-03-23entered into RCSRoland McGrath1-2/+2
1994-02-04Formerly make.h.~82~Roland McGrath1-1/+8
1993-10-28Formerly make.h.~81~Roland McGrath1-0/+2
1993-10-14Formerly make.h.~80~Roland McGrath1-3/+3
1993-10-14Formerly make.h.~79~Roland McGrath1-0/+4
1993-09-17Formerly make.h.~78~Roland McGrath1-0/+4
1993-08-19Formerly make.h.~77~Roland McGrath1-0/+1
1993-08-12Formerly make.h.~76~Roland McGrath1-1/+4
1993-07-23Formerly make.h.~75~Roland McGrath1-2/+2
1993-07-13Formerly make.h.~74~Roland McGrath1-1/+2
1993-07-08Formerly make.h.~73~Roland McGrath1-3/+3
1993-06-25Formerly make.h.~72~Roland McGrath1-1/+1
1993-05-14Formerly make.h.~71~Roland McGrath1-0/+6
1993-05-06Formerly make.h.~70~Roland McGrath1-0/+2
1993-04-26Formerly make.h.~69~Roland McGrath1-8/+0
1993-04-14Formerly make.h.~68~Roland McGrath1-5/+10
1993-04-12Formerly make.h.~67~Roland McGrath1-36/+25
1993-02-04Formerly make.h.~66~Roland McGrath1-1/+2
1993-01-25Formerly make.h.~65~Roland McGrath1-1/+1
1993-01-15Formerly make.h.~64~Roland McGrath1-1/+2
1993-01-12Formerly make.h.~63~Roland McGrath1-0/+1
1993-01-06Formerly make.h.~62~Roland McGrath1-3/+2
1992-12-31Formerly make.h.~61~Roland McGrath1-0/+2
1992-12-20Formerly make.h.~60~Roland McGrath1-0/+3
1992-11-23Formerly make.h.~59~Roland McGrath1-0/+8
1992-11-09Formerly make.h.~58~Roland McGrath1-0/+1
1992-10-15Formerly make.h.~57~Roland McGrath1-7/+8
1992-10-12Formerly make.h.~56~Roland McGrath1-0/+4
1992-10-02Formerly make.h.~55~Roland McGrath1-0/+1
1992-09-02Formerly make.h.~54~Roland McGrath1-4/+6
1992-08-02Formerly make.h.~53~Roland McGrath1-3/+0
1992-08-02Formerly make.h.~52~Roland McGrath1-0/+3
1992-07-30Formerly make.h.~51~Roland McGrath1-0/+4
1992-07-26Formerly make.h.~50~Roland McGrath1-3/+19
1992-07-05Formerly make.h.~49~Roland McGrath1-1/+1
1992-07-01Formerly make.h.~48~Roland McGrath1-0/+5
1992-06-25Formerly make.h.~47~Roland McGrath1-1/+1