= legacy Base-1 and LambdaDelta-1 reinserted on tests.
will compile in system space because they are published
$(H)rm -rf .matita
TEST_DIRS = \
+ legacy \
library \
tests \
dama \
-H=@
+H= @
RT_BASEDIR=../../../
-OPTIONS=-bench -onepass
+OPTIONS=-bench -onepass -system
MMAKE=$(RT_BASEDIR)matitamake $(OPTIONS)
CLEAN=$(RT_BASEDIR)matitaclean $(OPTIONS)
MMAKEO=$(RT_BASEDIR)matitamake.opt $(OPTIONS)
H=@
RT_BASEDIR=../../../
-OPTIONS=-bench -onepass
+OPTIONS=-bench -onepass -system
MMAKE=$(RT_BASEDIR)matitamake $(OPTIONS)
CLEAN=$(RT_BASEDIR)matitaclean $(OPTIONS)
MMAKEO=$(RT_BASEDIR)matitamake.opt $(OPTIONS)
GOALS = all opt clean clean.opt
-DEVELS = Base-2 Unified-Sub
+DEVELS = Base-1 LambdaDelta-1 Base-2 Unified-Sub
$(GOALS):
@$(foreach DEVEL, $(DEVELS), $(MAKE) -k -C $(DEVEL) $@;)
H=@
RT_BASEDIR=../
-OPTIONS=-bench
+OPTIONS=-bench -onepass -system
MMAKE=$(RT_BASEDIR)matitamake $(OPTIONS)
CLEAN=$(RT_BASEDIR)matitaclean $(OPTIONS)
MMAKEO=$(RT_BASEDIR)matitamake.opt $(OPTIONS)
let parse_cmdline_and_configuration_file () =
status := List.fold_left (fun s f -> f s) !status conf_components
-;;
+let initialize_environment () =
+ status := initialize_environment !status
-Inversion_principle.init ()
+let _ =
+ Inversion_principle.init ()
(** {2 per-components initialization} *)
val parse_cmdline_and_configuration_file: unit -> unit
+val initialize_environment: unit -> unit
(** {2 Utilities} *)
["-dot", Arg.Set_string dot_file,
"<file> Save dependency graph in dot format to the given file"];
MatitaInit.parse_cmdline_and_configuration_file ();
+ MatitaInit.initialize_environment ();
let include_paths =
Helm_registry.get_list Helm_registry.string "matita.includes" in
let args = Helm_registry.get_list Helm_registry.string "matita.args" in
let orig_matita_flags =
try Sys.getenv "MATITA_FLAGS" with Not_found -> ""
in
- "\"" ^ orig_matita_flags ^ "\"", "\"" ^ orig_matita_flags ^ " -system\""
+ orig_matita_flags, orig_matita_flags ^ " -system"
in
HLog.message "cleaning the development before publishing";
if clean ~matita_flags devel then
clean:
$(MATITACLEAN) $(MATITA_FLAGS) $(SRC)
- rm -f $(TODO)
+ rm -f $(TODO) @DEPFILE@
%.moo:
if [ -z "$<" ]; then \