Home | History | Annotate | Download | only in make-3.81

Lines Matching defs:commands

28 #include "commands.h"
135 struct dep *deps, unsigned int cmds_started, char *commands,
463 char *commands;
483 cmds_started, commands, commands_idx, two_colon, \
500 in DEPS and commands in COMMANDS. These are used to define a rule
508 commands = xmalloc (200);
538 /* Ignore the commands in a rule with no targets. */
558 commands = xrealloc (commands, commands_len);
560 bcopy (line, &commands[commands_idx], linelen);
562 commands[commands_idx++] = '\n';
858 fatal(fstart, _("commands commence before first target"));
909 fatal(fstart, _("missing rule before commands"));
1085 /* We have some targets, so don't ignore the following commands. */
1194 commands = (char *) xrealloc (commands, commands_len);
1196 bcopy (cmdleft, commands, len);
1198 commands[commands_idx++] = '\n';
1203 and because preprocessor directives are legal in target's commands
1282 commands are properly diagnosed. */
1297 free ((char *) commands);
1423 /* Interpret conditional commands "ifdef", "ifndef", "ifeq",
1868 with dependencies DEPS, commands to execute described
1869 by COMMANDS and COMMANDS_IDX, coming from FILENAME:COMMANDS_STARTED.
1880 struct dep *deps, unsigned int cmds_started, char *commands,
1888 struct commands *cmds;
1899 cmds = (struct commands *) xmalloc (sizeof (struct commands));
1902 cmds->commands = savestring (commands, commands_idx);
1991 /* Check for two single-colon entries both with commands.
1993 whose commands were preinitialized. */
1997 _("warning: overriding commands for target `%s'"),
2000 _("warning: ignoring old commands for target `%s'"),
2031 /* This is the rule with commands, so put its deps
2033 the first dep in the chain, and commands use $<
2040 /* This is the rule without commands. Put its
2042 the rule with commands (if any). This way everything
2058 that the last dependency line in this file came with commands
2100 commands. */