src/Pure/IsaMakefile
changeset 30240 5b25fee0362c
parent 29882 29154e67731d
child 30242 aea5d7fa7ef5
--- a/src/Pure/IsaMakefile	Wed Mar 04 10:43:39 2009 +0100
+++ b/src/Pure/IsaMakefile	Wed Mar 04 10:45:52 2009 +0100
@@ -19,9 +19,29 @@
 
 ## Pure
 
+BOOTSTRAP_FILES = ML-Systems/exn.ML ML-Systems/ml_name_space.ML		\
+  ML-Systems/mosml.ML ML-Systems/multithreading.ML			\
+  ML-Systems/multithreading_polyml.ML ML-Systems/overloading_smlnj.ML	\
+  ML-Systems/polyml-4.1.3.ML ML-Systems/polyml-4.1.4.ML			\
+  ML-Systems/polyml-4.2.0.ML ML-Systems/polyml-5.0.ML			\
+  ML-Systems/polyml-5.1.ML ML-Systems/polyml-experimental.ML		\
+  ML-Systems/polyml.ML ML-Systems/polyml_common.ML			\
+  ML-Systems/polyml_old_compiler4.ML					\
+  ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML		\
+  ML-Systems/smlnj.ML ML-Systems/system_shell.ML			\
+  ML-Systems/thread_dummy.ML ML-Systems/time_limit.ML			\
+  ML-Systems/universal.ML
+
+RAW: $(OUT)/RAW
+
+$(OUT)/RAW: $(BOOTSTRAP_FILES)
+	@./mk -r
+
+
 Pure: $(OUT)/Pure
 
-$(OUT)/Pure: Concurrent/ROOT.ML Concurrent/future.ML			\
+$(OUT)/Pure: $(BOOTSTRAP_FILES) ../Tools/auto_solve.ML			\
+  ../Tools/quickcheck.ML Concurrent/ROOT.ML Concurrent/future.ML	\
   Concurrent/mailbox.ML Concurrent/par_list.ML				\
   Concurrent/par_list_dummy.ML Concurrent/simple_thread.ML		\
   Concurrent/synchronized.ML Concurrent/task_queue.ML General/ROOT.ML	\
@@ -38,33 +58,21 @@
   Isar/attrib.ML Isar/auto_bind.ML Isar/calculation.ML Isar/class.ML	\
   Isar/class_target.ML Isar/code.ML Isar/code_unit.ML			\
   Isar/constdefs.ML Isar/context_rules.ML Isar/element.ML		\
-  Isar/expression.ML Isar/find_theorems.ML Isar/find_consts.ML          \
-  Isar/isar.ML Isar/isar_document.ML Isar/isar_cmd.ML Isar/isar_syn.ML	\
-  Isar/local_defs.ML Isar/local_syntax.ML Isar/local_theory.ML		\
-  Isar/locale.ML Isar/method.ML Isar/net_rules.ML			\
+  Isar/expression.ML Isar/isar_cmd.ML Isar/isar_document.ML		\
+  Isar/isar_syn.ML Isar/local_defs.ML Isar/local_syntax.ML		\
+  Isar/local_theory.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML	\
   Isar/object_logic.ML Isar/obtain.ML Isar/outer_keyword.ML		\
   Isar/outer_lex.ML Isar/outer_parse.ML Isar/outer_syntax.ML		\
   Isar/overloading.ML Isar/proof.ML Isar/proof_context.ML		\
   Isar/proof_display.ML Isar/proof_node.ML Isar/rule_cases.ML		\
-  Isar/rule_insts.ML Isar/session.ML Isar/skip_proof.ML			\
-  Isar/spec_parse.ML Isar/specification.ML Isar/theory_target.ML	\
-  Isar/toplevel.ML Isar/value_parse.ML ML-Systems/alice.ML		\
-  ML-Systems/exn.ML ML-Systems/install_pp_polyml.ML			\
-  ML-Systems/ml_name_space.ML ML-Systems/multithreading.ML		\
-  ML-Systems/mosml.ML ML-Systems/multithreading_polyml.ML		\
-  ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML		\
-  ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-4.2.0.ML			\
-  ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML			\
-  ML-Systems/polyml_common.ML ML-Systems/polyml.ML			\
-  ML-Systems/polyml_old_compiler4.ML					\
-  ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML		\
-  ML-Systems/smlnj.ML ML-Systems/system_shell.ML			\
-  ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML			\
-  ML-Systems/universal.ML ML/ml_context.ML ML/ml_antiquote.ML		\
-  ML/ml_lex.ML ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML		\
-  Proof/extraction.ML Proof/proof_rewrite_rules.ML			\
-  Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML	\
-  ProofGeneral/ROOT.ML ProofGeneral/pgip.ML ProofGeneral/pgip_input.ML	\
+  Isar/rule_insts.ML Isar/skip_proof.ML Isar/spec_parse.ML		\
+  Isar/specification.ML Isar/theory_target.ML Isar/toplevel.ML		\
+  Isar/value_parse.ML ML/ml_antiquote.ML ML/ml_context.ML ML/ml_lex.ML	\
+  ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML				\
+  ML-Systems/install_pp_polyml.ML Proof/extraction.ML			\
+  Proof/proof_rewrite_rules.ML Proof/proof_syntax.ML			\
+  Proof/proofchecker.ML Proof/reconstruct.ML ProofGeneral/ROOT.ML	\
+  ProofGeneral/pgip.ML ProofGeneral/pgip_input.ML			\
   ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML		\
   ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML		\
   ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML			\
@@ -72,24 +80,25 @@
   ProofGeneral/proof_general_pgip.ML Pure.thy ROOT.ML Syntax/ast.ML	\
   Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML			\
   Syntax/printer.ML Syntax/simple_syntax.ML Syntax/syn_ext.ML		\
-  Syntax/syn_trans.ML Syntax/syntax.ML Syntax/type_ext.ML Thy/html.ML	\
-  Thy/latex.ML Thy/present.ML Thy/term_style.ML Thy/thm_deps.ML		\
-  Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML Thy/thy_output.ML	\
-  Thy/thy_syntax.ML Tools/ROOT.ML			\
-  Tools/isabelle_process.ML Tools/named_thms.ML Tools/xml_syntax.ML	\
-  assumption.ML axclass.ML codegen.ML config.ML conjunction.ML		\
-  consts.ML context.ML context_position.ML conv.ML defs.ML display.ML	\
-  drule.ML envir.ML facts.ML goal.ML interpretation.ML library.ML	\
-  logic.ML meta_simplifier.ML more_thm.ML morphism.ML name.ML net.ML	\
-  old_goals.ML old_term.ML pattern.ML primitive_defs.ML proofterm.ML	\
-  pure_setup.ML pure_thy.ML search.ML sign.ML simplifier.ML sorts.ML	\
-  subgoal.ML tactic.ML tctical.ML term.ML term_ord.ML term_subst.ML	\
-  theory.ML thm.ML type.ML type_infer.ML unify.ML variable.ML		\
-  ../Tools/quickcheck.ML ../Tools/auto_solve.ML
+  Syntax/syn_trans.ML Syntax/syntax.ML Syntax/type_ext.ML		\
+  System/isabelle_process.ML System/isar.ML System/session.ML		\
+  Thy/html.ML Thy/latex.ML Thy/present.ML Thy/term_style.ML		\
+  Thy/thm_deps.ML Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML	\
+  Thy/thy_output.ML Thy/thy_syntax.ML Tools/ROOT.ML			\
+  Tools/find_consts.ML Tools/find_theorems.ML Tools/named_thms.ML	\
+  Tools/xml_syntax.ML assumption.ML axclass.ML codegen.ML config.ML	\
+  conjunction.ML consts.ML context.ML context_position.ML conv.ML	\
+  defs.ML display.ML drule.ML envir.ML facts.ML goal.ML			\
+  interpretation.ML library.ML logic.ML meta_simplifier.ML more_thm.ML	\
+  morphism.ML name.ML net.ML old_goals.ML old_term.ML pattern.ML	\
+  primitive_defs.ML proofterm.ML pure_setup.ML pure_thy.ML search.ML	\
+  sign.ML simplifier.ML sorts.ML subgoal.ML tactic.ML tctical.ML	\
+  term.ML term_ord.ML term_subst.ML theory.ML thm.ML type.ML		\
+  type_infer.ML unify.ML variable.ML
 	@./mk
 
 
-## special targets
+## Proof General keywords
 
 Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz
 
@@ -97,28 +106,11 @@
 	@$(ISABELLE_TOOL) usedir -f proof_general_keywords.ML $(OUT)/Pure ProofGeneral
 
 
-RAW: $(OUT)/RAW
-
-$(OUT)/RAW: ML-Systems/alice.ML ML-Systems/exn.ML		\
-  ML-Systems/ml_name_space.ML ML-Systems/multithreading.ML	\
-  ML-Systems/mosml.ML ML-Systems/multithreading_polyml.ML	\
-  ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML	\
-  ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-4.2.0.ML		\
-  ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML		\
-  ML-Systems/polyml_common.ML ML-Systems/polyml.ML		\
-  ML-Systems/polyml_old_compiler4.ML				\
-  ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML	\
-  ML-Systems/smlnj.ML ML-Systems/system_shell.ML		\
-  ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML		\
-  ML-Systems/universal.ML
-	@./mk -r
-
-
 ## clean
 
 clean:
-	@rm -f $(OUT)/Pure $(LOG)/Pure.gz $(LOG)/Pure-ProofGeneral.gz \
-          $(OUT)/RAW $(LOG)/RAW.gz
+	@rm -f $(OUT)/Pure $(LOG)/Pure.gz $(OUT)/RAW $(LOG)/RAW.gz \
+          $(LOG)/Pure-ProofGeneral.gz
 
 
 ## Scala material
@@ -127,8 +119,8 @@
   General/position.scala General/swing.scala General/symbol.scala	\
   General/xml.scala General/yxml.scala Isar/isar.scala			\
   Isar/isar_document.scala Isar/outer_keyword.scala			\
-  Thy/thy_header.scala Tools/isabelle_process.scala			\
-  Tools/isabelle_syntax.scala Tools/isabelle_system.scala
+  System/isabelle_process.scala System/isabelle_system.scala		\
+  Thy/thy_header.scala Tools/isabelle_syntax.scala
 
 
 SCALA_TARGET = $(ISABELLE_HOME)/lib/classes/Pure.jar