home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Modula / Utilities / Makefiles / MakeParser.DEF < prev    next >
Encoding:
Modula Definition  |  1988-01-24  |  1.1 KB  |  39 lines  |  [TEXT/????]

  1. DEFINITION MODULE MakeParser;
  2.  
  3.   (*
  4.    * MAKEMAKE.  Create a MAKEFILE for a MODULA-2 program.
  5.    *
  6.    * Written by Steve Tynor, 30 September 1986.
  7.    *            UUCP  : tynor@gitpyr
  8.    *            USNAIL: 2550 Akers Mill Rd. T-2, Atlanta GA. 30339
  9.    *
  10.    * Permission is granted to distribute, copy and change this program as long
  11.    * as this notice remains...
  12.    ---
  13.    *
  14.    * Make.
  15.    * Modified and extended for MacMETH by :
  16.    * J?rgen N?rgaard, 23 october 1987.
  17.    *            UUCP  : jnp@daimi.dk
  18.    *            MAIL  : Dybb?lvej 29, v?r. 2+3, 8240 Risskov, DENMARK
  19.    *
  20.    * Essentially only the parser remains from the original.
  21.    * Extensions are a dependency-tree and a make-like facility.
  22.    *
  23.    *)
  24.    
  25. IMPORT System;
  26. IMPORT MakeForest;
  27.  
  28. TYPE
  29.   FileType = (def, mod, main);
  30.  
  31.   (*----------------------------------------------------------------------*)
  32.   PROCEDURE ParseModule (VAR modulename : MakeForest.NameString;
  33.                              type       : FileType;
  34.                          VAR de         : MakeForest.EntityPtr;
  35.                          VAR filename   : System.Path;
  36.                          VAR succeded   : BOOLEAN);
  37.  
  38. END MakeParser.
  39.