Commit Graph

73 Commits

Author SHA1 Message Date
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
73c52a3b12 Thu May 9 13:20:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* read.c (read_makefile): Grok `sinclude' as alias for `-include'.
1996-05-09 17:28:47 +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
e9fcf7ea88 Use plain stat instead of safe_stat.
(find_semicolon): Function removed.
(read_makefile): Don't use find_semicolon or remove_comments for rule lines.
Use find_char_unquote directly and handle quoted comments properly.
(multi_glob): Call dir_setup_glob on our glob_t and use GLOB_ALTDIRFUNC flag.
1995-12-12 03:31:40 +00:00
Roland McGrath
f9a914c035 (read_all_makefiles): Properly append default makefiles to the end of the
`read_makefiles' chain.
1995-06-20 07:47:01 +00:00
Roland McGrath
cbfc50cb51 (parse_file_seq): Rearranged l(a b)' -> l(a) l(b)' loop to not
skip the elt immediately preceding `l(...'.
1995-03-13 05:45:44 +00:00
Roland McGrath
13d0eeb8e5 (find_char_unquote): Make second arg a string of stop chars instead of a
single stop char.  Stop when any char in the string is hit.
All callers changed.
(find_semicolon): Pass stop chars "#;" to one find_char_unquote call,
instead of using two calls.  If the match is not a ; but a #, return zero.
1995-03-10 20:33:40 +00:00
Roland McGrath
aceefb74da (read_makefile, parse_file_seq): Fix typo __MS_DOS__ -> __MSDOS__. 1995-03-10 19:07:26 +00:00
Roland McGrath
1adf3a07dc (read_makefile, parse_file_seq) [__MS_DOS__]: Don't see : as separator in
"C:\...".
1995-03-09 01:42:12 +00:00
Roland McGrath
bc1e6b66f1 (read_makefile): For bogus line starting with tab, ignore it if blank after
removing comments.
1995-02-06 22:58:07 +00:00
Roland McGrath
90dffad2cc (read_makefile): Free FILENAME if we allocated it. From Jim Meyering. 1994-07-25 22:07:41 +00:00
Roland McGrath
7c7552336d (construct_include_path): Use safe_stat in place of stat. 1994-07-04 21:55:13 +00:00
Roland McGrath
4a8a7637f3 (read_makefile): Check for a shell command first, and then strip leading
tabs before further checking if it's not a shell command line.
1994-06-24 10:34:03 +00:00
Roland McGrath
65d0cd98a9 (do_define): Call collapse_continuations on each line before all else. 1994-05-05 08:15:00 +00:00
Roland McGrath
e6bce5ef88 (read_makefile): Fix `override define' parsing to skip whitespace after
`define' properly.
1994-04-22 21:57:47 +00:00
Roland McGrath
8f581d3bc0 (parse_file_seq): Fix typo in last change. Remove unused variable. 1994-04-21 21:28:59 +00:00
Roland McGrath
5c807f5457 (find_char_unquote): New function, generalized from find_percent.
(find_percent, find_semicolon, parse_file_seq): Use that.
1994-04-21 20:36:47 +00:00
Roland McGrath
eb08818828 (read_makefile): Don't mark makefiles as precious. Just like other
targets, they can be left inconsistent and in need of remaking by aborted
commands.
1994-04-21 01:39:36 +00:00
Roland McGrath
f2c10dedf0 (read_makefile): Write no error msg for -include file. 1994-04-20 22:42:32 +00:00
Roland McGrath
108cca9aa5 (record_files): Set double_colon pointer instead of flag. 1994-04-05 10:14:49 +00:00
Roland McGrath
0513e29593 (read_makefile): Remove unused variable.
(parse_file_seq): When removing an elt that is just `)', properly fix up
the previous elt's next pointer.
1994-04-01 23:44:10 +00:00
Roland McGrath
d3fbc4f345 entered into RCS 1994-03-23 14:12:55 +00:00
Roland McGrath
5d3189c952 Formerly read.c.~75~ 1994-03-04 05:10:22 +00:00
Roland McGrath
4b7d940657 Formerly read.c.~74~ 1994-02-16 22:55:31 +00:00
Roland McGrath
bb55335906 Formerly read.c.~73~ 1994-02-01 00:07:17 +00:00
Roland McGrath
2932fb1bca Formerly read.c.~72~ 1993-12-23 22:56:05 +00:00
Roland McGrath
d519e2c19b Formerly read.c.~71~ 1993-12-14 20:09:51 +00:00
Roland McGrath
f935610ca9 Formerly read.c.~70~ 1993-12-02 20:44:03 +00:00
Roland McGrath
acd7330a5f Formerly read.c.~69~ 1993-11-10 11:06:04 +00:00
Roland McGrath
3aeb946943 Formerly read.c.~68~ 1993-10-25 19:25:17 +00:00
Roland McGrath
8171a9ba6e Formerly read.c.~67~ 1993-08-18 19:01:46 +00:00
Roland McGrath
f0929a13c3 Formerly read.c.~66~ 1993-07-15 02:25:00 +00:00
Roland McGrath
250e638f44 Formerly read.c.~65~ 1993-07-14 23:04:39 +00:00
Roland McGrath
f84518396b Formerly read.c.~64~ 1993-06-25 20:03:54 +00:00
Roland McGrath
e176cf73a5 Formerly read.c.~63~ 1993-06-10 22:20:53 +00:00
Roland McGrath
3d6b586776 Formerly read.c.~62~ 1993-06-10 01:31:02 +00:00
Roland McGrath
f363e41c27 Formerly read.c.~61~ 1993-06-08 00:36:13 +00:00
Roland McGrath
6382676838 Formerly read.c.~60~ 1993-06-02 21:42:39 +00:00
Roland McGrath
0bcabeb134 Formerly read.c.~59~ 1993-05-19 21:15:51 +00:00
Roland McGrath
bc0276c3cb Formerly read.c.~58~ 1993-05-14 22:25:11 +00:00
Roland McGrath
f1daf67200 Formerly read.c.~57~ 1993-05-03 21:14:22 +00:00
Roland McGrath
44ecfc2f36 Formerly read.c.~56~ 1993-04-15 22:30:01 +00:00
Roland McGrath
e4c66e2f88 Formerly read.c.~55~ 1993-03-08 18:50:09 +00:00
Roland McGrath
db6a102206 Formerly read.c.~54~ 1993-02-21 19:28:27 +00:00
Roland McGrath
db545dffcc Formerly read.c.~53~ 1993-02-04 00:01:08 +00:00
Roland McGrath
afa97833cc Formerly read.c.~52~ 1993-02-01 00:24:58 +00:00
Roland McGrath
c2b69b5d9d Formerly read.c.~51~ 1993-01-19 00:14:29 +00:00
Roland McGrath
5893545370 Formerly read.c.~50~ 1993-01-14 19:26:47 +00:00
Roland McGrath
c8d4d2305d Formerly read.c.~49~ 1993-01-06 22:57:21 +00:00
Roland McGrath
2d89aa53df Formerly read.c.~48~ 1992-12-29 00:20:25 +00:00