summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-10-24(main): Move checks .IGNORE, .SILENT, .POSIX to snap_deps.Roland McGrath1-11/+2
1994-10-24(snap_deps): Check .IGNORE, .SILENT, .POSIX here instead of in main.Roland McGrath1-2/+18
If .IGNORE has deps, OR COMMANDS_NOERROR into their command_flags and don't set -i. Likewise .SILENT.
1994-10-24(start_job_command): In FLAGS initialization, OR inRoland McGrath1-1/+6
CHILD->file->command_flags.
1994-10-24(struct file): New member `command_flags'.Roland McGrath1-1/+2
1994-10-24(Automatic Dependencies): Improve recommended sed command.Roland McGrath1-2/+8
Mention -MM flag to gcc.
1994-10-17(Commands): Add warning about "blank" line starting with a tab.Roland McGrath1-6/+8
1994-10-16(switches): Bump flag values for --no-print-directory andRoland McGrath1-2/+2
--warn-undefined-variables, so neither is 1 (which indicates a nonoption argument).
1994-10-16(main): Add missing code in .IGNORE test.Roland McGrath1-1/+1
1994-10-10Document $+ and $(+D), $(+F).Roland McGrath1-3/+18
1994-10-10(define_automatic_variables): Define +D and +F.Roland McGrath1-0/+2
1994-10-01(main): Define hidden automatic variable with command vars, andRoland McGrath1-5/+25
MAKEOVERRIDES to a reference to that. (define_makeflags): If posix_pedantic, write a reference to that instead.
1994-09-30(posix_pedantic): New variable.Roland McGrath1-2/+12
(main): Set posix_pedantic if .POSIX is a target. Fix .IGNORE and .SILENT hecks to require is_target.
1994-09-29Comment fix.Roland McGrath1-1/+1
1994-09-29(set_file_variables): Define new automatic variable $+, like $^ but beforeRoland McGrath1-16/+46
calling uniquize_deps.
1994-09-29(reap_children): Call delete_child_targets for non-signal error ifRoland McGrath1-1/+7
.DELETE_ON_ERROR is a target.
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>.