/[mojave]/metaprl/Conscript
ViewVC logotype

Diff of /metaprl/Conscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3575 by emre, Sun Mar 31 02:48:35 2002 UTC revision 3576 by emre, Fri Apr 12 05:37:53 2002 UTC
# Line 5  Line 5 
5  ### on a per-directory basis.  This one creates a default build environment  ### on a per-directory basis.  This one creates a default build environment
6  ### and moves into subdirectories for the rest.  ### and moves into subdirectories for the rest.
7    
8    # We need the current directory to set the MetaPRL root.
9    use Cwd;
10    
11  ### Default environment  ### Default environment
12    
13  $native = 1;    # 0 for bytecodes, 1 for native  $native = 1;    # 0 for bytecodes, 1 for native
# Line 12  Line 15 
15  ## Cons environments come from the cons module.  ## Cons environments come from the cons module.
16  $env = new cons(  $env = new cons(
17    
18      #      # Configure base directories.
19        MC => "$ENV{'MC_ROOT'}",  # Needed mostly in the MC Conscripts.
20        MP => getcwd,             # Needed mostly in the MetaPRL Conscripts.
21    
22      # Configuration      # Configuration
     #  
23      MP_VERSION  => "0.7.1",      MP_VERSION  => "0.7.1",
24      REFINER     => "VERBOSE",      REFINER     => "VERBOSE",
25      TERMS       => "ds",      TERMS       => "ds",
     MC          => "$ENV{'MC_ROOT'}",  # Needed in the MC Conscripts.  
26      INCPATH     => [],      INCPATH     => [],
27    
28      ## Overrides      ## Overrides
# Line 43  Line 47 
47      YACCCOM     => "ocamlyacc %1",                        # How to yacc a file      YACCCOM     => "ocamlyacc %1",                        # How to yacc a file
48      LNCOM       => "ln -sf %1:f %>",                      # How to link a file      LNCOM       => "ln -sf %1:f %>",                      # How to link a file
49      LNCOM2      => "ln -sf %1:f %>:b.ml; ln -sf %1:f %>:b.mli", # How to link a file      LNCOM2      => "ln -sf %1:f %>:b.ml; ln -sf %1:f %>:b.mli", # How to link a file
50        LNCOM3      => "ln -sf ../%1 %>", # How to a link a file (for lib/).
51    
52      PPFLAGS     => "",      PPFLAGS     => "",
53      CAMLP4MACRO => "camlp4o %PPFLAGS",      CAMLP4MACRO => "camlp4o %PPFLAGS",
# Line 53  Line 58 
58      },      },
59    
60      # Use this command to scan ML files for dependencies.      # Use this command to scan ML files for dependencies.
61      OCAMLDEP    => "util/ocamldep -modules",      OCAMLDEP    => "util/ocamldep -modules"
62  );  );
63    
64  #  #

Legend:
Removed from v.3575  
changed lines
  Added in v.3576

  ViewVC Help
Powered by ViewVC 1.1.26