summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-09-28[alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define.Roland McGrath1-1/+16
1994-09-26(reap_children): Don't change C->file->command_state when dying.Roland McGrath1-24/+29
Test it only after calling start_job_command for a new command line. When no more cmds, just set C->file->update_status. (start_job_command): When the last line is empty or under -n, set C->file->update_status. (start_waiting_job): Grok cs_not_started after start_job_command as success. (new_job): Set C->file->update_status when there are no cmds. (job_next_command): When out of lines, don't set CHILD->file->update_status or CHILD->file->command_state.
1994-09-26(quote_as_word): Actually test DOUBLE_DOLLARS, instead of always doubling.Roland McGrath1-1/+1
1994-09-26(quote_as_word): Renamed from shell_quote.Roland McGrath1-53/+67
Take new arg; if nonzero, also double $s. (main): Define MAKEOVERRIDES from command_variables here. (define_makeflags): Don't use command_variables here; instead write a reference $(MAKEOVERRIDES) in MAKEFLAGS. Make vars recursive.
1994-09-26[__MSDOS__]: Fixed typo.Roland McGrath1-1/+1
1994-09-26(selective_vpath_search): Reset EXISTS when stat fails.Roland McGrath1-0/+2
1994-09-26remove CONFIG_BROKETSDavid J. MacKenzie1-7/+0
1994-09-26REMOVE CONFIG_BROKETSDavid J. MacKenzie1-7/+0
1994-09-26remove CONFIG_BROKETSDavid J. MacKenzie1-4/+0
1994-09-17(getloadavg): Add OSF_ALPHA support.Richard M. Stallman1-0/+13
1994-09-10Include <assert.h> and use assert instead of printfs and abort.Roland McGrath1-9/+4
1994-09-10(decode_switches): Loop until optind hits ARGC, not just until getopt_longRoland McGrath1-17/+74
returns EOF. Initialize C to zero before loop; in loop if C is EOF, set optarg from ARGV[optind++], else call getopt_long. (decode_env_switches): Use variable_expand instead of allocated_variable_expand. Allocate a fresh buffer to copy split words into; scan characters by hand to break words and debackslashify. (shell_quote): New function. (define_makeflags): Allocate doubled space for switch args, and command variable names and values; use shell_quote to quote those things.
1994-09-09Add HAVE_SYS_SIGLIST and HAVE__SYS_SIGLIST.3.71.2Roland McGrath1-0/+6
1994-09-09(Archive Suffix Rules): Remove Next pointer.Roland McGrath1-1/+1
1994-09-09(decode_switches): The non-option return from getopt is 1, not 0.Roland McGrath1-61/+145
(command_variables): New type and variable. (decode_switches, decode_env_switches): After making a variable definition, record the struct variable pointer in the command_variables chain. (define_makeflags): If ALL, write variable definitions for command_variables.
1994-09-09(other_args): Variable removed.Roland McGrath1-128/+61
(goals, lastgoal): New static variables (moved from auto in main). (main): Don't process OTHER_ARGS at all. Don't set variable MAKEOVERRIDES at all; define MAKE to just $(MAKE_COMMAND). (init_switches): Prepend a - (return in order) instead of a + (require order). (decode_switches): Don't set OTHER_ARGS at all. Grok '\0' return from getopt_long as non-option argument; try variable definition and (if !ENV) enter goal targets here. (decode_env_switches): Use allocated_variable_expand to store value. Use find_next_token to simplify word-splitting loop. Don't prepend a dash to uninterpreted value. Instead, if split into only one word, try variable definition and failing that prepend a dash to the word and pass it to decode_switches as a single arg.
1994-09-07(notice_finished_file): Only recheck modtimes if FILE->command_state wasRoland McGrath1-6/+5
cs_running on entry (meaning the commands actually just ran). (update_file_1): Whenever we set FILE->update_status, call notice_finished_file instead of just set_command_state.
1994-09-07(start_job_command): Whenever we set CHILD->file->update_status, callRoland McGrath1-4/+6
notice_finished_file instead of just set_command_state.
1994-09-07(set_command_state): Actually set FILE->command_state.Roland McGrath1-0/+2
1994-09-07(set_command_state): Fix typo.Roland McGrath1-1/+1
1994-09-07(set_command_state): Declare D.Roland McGrath1-1/+1
1994-09-07Add missing ".Roland McGrath1-1/+1
1994-09-07Changed all assignments of command_state members to calls toRoland McGrath2-9/+9
set_command_state.
1994-09-07(set_command_state): New function.Roland McGrath1-0/+13
1994-09-06Declare set_command_state.Roland McGrath1-0/+1
1994-09-06(init_switches): Put a + first in options.Roland McGrath1-1/+2
1994-08-21entered into RCSRichard M. Stallman1-1/+1
1994-08-10Formerly make-stds.texi.~29~gnu1-74/+248
1994-07-25Initial revisionRoland McGrath1-0/+43
1994-07-25Added trailing CRs.Roland McGrath1-65/+65
1994-07-25Changed all uses of ':' to PATH_SEPARATOR_CHAR.Roland McGrath1-6/+7
1994-07-25(directory_before_chdir): New variable, moved out of main (was local).Roland McGrath1-1/+19
(main) [__MSDOS__]: Look for \ or : to delimit last component of PROGRAM. Don't frob ARGV[0] before setting MAKE_COMMAND variable. (die): Change back to `directory_before_chdir' before dying. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-25(PATH_SEPARATOR_CHAR): Macro removed (now in make.h).Roland McGrath1-3/+0
1994-07-25(PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not.Roland McGrath1-0/+6
1994-07-25[__MSDOS__]: Include <process.h>.Roland McGrath1-2/+99
(PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not. [__MSDOS__] (dos_pid, dos_status, dos_bname, dos_bename, dos_batch_file): New variables. (reap_children) [__MSDOS__]: Don't call wait; just examine those vars. (unblock_sigs) [__MSDOS__]: Do nothing. (start_job_command) [__MSDOS__]: Use spawnvpe instead of vfork and exec. (load_too_high) [__MSDOS__]: Always return true. (search_path) [__MSDOS__]: Check for : or / in FILE to punt. Use PATH_SEPARATOR_CHAR instead of ':'. (construct_command_argv_internal) [__MSDOS__]: Wholly different values for sh_chars and sh_cmds. Wholly new code to handle shell scripts. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-25(expand_function: `shell') [__MSDOS__]: Wholly new implementation.Roland McGrath1-0/+68
1994-07-25[__MSDOS__] (dosify): New function.Roland McGrath1-0/+51
(dir_contents_file_exists_p) [__MSDOS__]: Call it on FILENAME and process the result instead of FILENAME itself. (file_impossible_p) [__MSDOS__]: Likewise. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-25[__MSDOS__]: Define GCC_IS_NATIVE.Roland McGrath1-0/+27
(default_suffix_rules) [__MSDOS__]: Use `y_tab.c' instead of `y.tab.c'. (default_variables) [GCC_IS_NATIVE]: Set CC and CXX to `gcc', YACC to `bison -y', and LEX to `flex'. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-25Initial revisionRoland McGrath1-0/+65
1994-07-25(fatal_error_signal) [__MSDOS__]: Just remove intermediates and exit.Roland McGrath1-0/+5
Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-25(set_file_variables): Add parens in length computation in .SUFFIXES depRoland McGrath1-1/+1
loop to quiet compiler warning. From Jim Meyering.
1994-07-25(read_makefile): Free FILENAME if we allocated it. From Jim Meyering.Roland McGrath1-1/+3
1994-07-20Update ISBN number to 1-882114-50-7 for edition 0.46.Roland McGrath1-1/+2
Use new macro ISBN set at top of file.
1994-07-08Split a shell command line in @example to avoid overfull hbox.Roland McGrath1-1/+2
1994-07-05(Goals): Say that only first target in first rule is default goal.Roland McGrath1-7/+27
(Archive Pitfalls): New node.
1994-07-04(selective_vpath_search): Use safe_stat in place of stat.Roland McGrath1-2/+2
1994-07-04(construct_include_path): Use safe_stat in place of stat.Roland McGrath1-2/+2
1994-07-04(search_path): Use safe_stat in place of stat.Roland McGrath1-1/+1
1994-07-04(find_directory): Use safe_stat in place of stat.Roland McGrath1-2/+2
1994-07-04(delete_target): Use safe_stat in place of stat.Roland McGrath1-1/+1