VirtualBox

source: kBuild/vendor/gnumake/2005-05-16/commands.h

Last change on this file was 280, checked in by bird, 19 years ago

Current make snaphot, 2005-05-16.

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1/* Definition of data structures describing shell commands for GNU Make.
2Copyright (C) 1988, 1989, 1991, 1993 Free Software Foundation, Inc.
3This file is part of GNU Make.
4
5GNU Make is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2, or (at your option)
8any later version.
9
10GNU Make is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with GNU Make; see the file COPYING. If not, write to
17the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18Boston, MA 02111-1307, USA. */
19
20/* Structure that gives the commands to make a file
21 and information about where these commands came from. */
22
23struct commands
24 {
25 struct floc fileinfo; /* Where commands were defined. */
26 char *commands; /* Commands text. */
27 unsigned int ncommand_lines;/* Number of command lines. */
28 char **command_lines; /* Commands chopped up into lines. */
29 char *lines_flags; /* One set of flag bits for each line. */
30 int any_recurse; /* Nonzero if any `lines_recurse' elt has */
31 /* the COMMANDS_RECURSE bit set. */
32 };
33
34/* Bits in `lines_flags'. */
35#define COMMANDS_RECURSE 1 /* Recurses: + or $(MAKE). */
36#define COMMANDS_SILENT 2 /* Silent: @. */
37#define COMMANDS_NOERROR 4 /* No errors: -. */
38
39extern void execute_file_commands PARAMS ((struct file *file));
40extern void print_commands PARAMS ((struct commands *cmds));
41extern void delete_child_targets PARAMS ((struct child *child));
42extern void chop_commands PARAMS ((struct commands *cmds));
43extern void set_file_variables PARAMS ((struct file *file));
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette