home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / GNU / MAK358AS.ZIP / COMMANDS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-22  |  2.1 KB  |  61 lines

  1. /* Copyright (C) 1988, 1989 Free Software Foundation, Inc.
  2. This file is part of GNU Make.
  3.  
  4. GNU Make is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 1, or (at your option)
  7. any later version.
  8.  
  9. GNU Make is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13.  
  14. You should have received a copy of the GNU General Public License
  15. along with GNU Make; see the file COPYING.  If not, write to
  16. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. /*
  19.  * MS-DOS port (c) 1990 by Thorsten Ohl <ohl@gnu.ai.mit.edu>
  20.  *
  21.  * To this port, the same copying conditions apply as to the
  22.  * original release.
  23.  *
  24.  * IMPORTANT:
  25.  * This file is not identical to the original GNU release!
  26.  * You should have received this code as patch to the official
  27.  * GNU release.
  28.  *
  29.  * MORE IMPORTANT:
  30.  * This port comes with ABSOLUTELY NO WARRANTY.
  31.  *
  32.  * $Header: e:/gnu/make/RCS/commands.h'v 3.58.0.2 90/07/17 03:32:49 tho Exp $
  33.  */
  34.  
  35. /* Structure that gives the commands to make a file
  36.    and information about where these commands came from.  */
  37.  
  38. struct commands
  39.   {
  40.     char *filename;        /* File that contains commands.  */
  41.     unsigned int lineno;    /* Line number in file.  */
  42.     char *commands;        /* Commands text.  */
  43.     char **command_lines;    /* Commands chopped up into lines.  */
  44.     char *lines_recurse;    /* One flag for each line.  */
  45.     char any_recurse;        /* Nonzero if any `lines_recurse' elt is.  */
  46.   };
  47.  
  48. /* commands.c */
  49. #ifdef MSDOS
  50. extern  void chop_commands (struct commands *cmds);
  51. extern  void execute_file_commands (struct file *file);
  52. extern  int fatal_error_signal (int sig);
  53. extern  void delete_child_targets (struct child *child);
  54. extern  void print_commands (struct commands *cmds);
  55. #else /* not MSDOS */
  56. extern void execute_file_commands ();
  57. extern void print_commands ();
  58. extern void delete_child_targets ();
  59. #endif /* not MSDOS */
  60.  
  61.