src/Pure/IsaMakefile
author wenzelm
Wed Jun 02 11:09:26 2010 +0200 (2010-06-02 ago)
changeset 37251 72c7e636067b
parent 37042 55efdc260182
child 38150 67fc24df3721
permissions -rw-r--r--
normalize and postprocess proof body in a separate future, taking care of platforms without multithreading (greately improves parallelization in general without the overhead of promised proofs, cf. usedir -q 0);
wenzelm@2431
     1
#
wenzelm@4518
     2
# IsaMakefile for Pure
wenzelm@2431
     3
#
wenzelm@2431
     4
wenzelm@4518
     5
## targets
wenzelm@4518
     6
wenzelm@4518
     7
default: Pure
wenzelm@4518
     8
images: Pure
wenzelm@24880
     9
test: RAW Pure-ProofGeneral
wenzelm@4518
    10
all: images test
wenzelm@4518
    11
wenzelm@4518
    12
wenzelm@4518
    13
## global settings
wenzelm@4518
    14
wenzelm@4518
    15
SRC = $(ISABELLE_HOME)/src
wenzelm@3118
    16
OUT = $(ISABELLE_OUTPUT)
wenzelm@4518
    17
LOG = $(OUT)/log
wenzelm@4518
    18
wenzelm@2431
    19
wenzelm@4518
    20
## Pure
wenzelm@4518
    21
wenzelm@35010
    22
BOOTSTRAP_FILES = ML-Systems/bash.ML ML-Systems/compiler_polyml-5.0.ML	\
wenzelm@31312
    23
  ML-Systems/compiler_polyml-5.2.ML ML-Systems/compiler_polyml-5.3.ML	\
wenzelm@35010
    24
  ML-Systems/ml_name_space.ML ML-Systems/ml_pretty.ML			\
wenzelm@35017
    25
  ML-Systems/multithreading.ML ML-Systems/multithreading_polyml.ML	\
wenzelm@35017
    26
  ML-Systems/overloading_smlnj.ML ML-Systems/polyml-5.0.ML		\
wenzelm@35017
    27
  ML-Systems/polyml-5.1.ML ML-Systems/polyml-5.2.ML			\
wenzelm@35017
    28
  ML-Systems/polyml-5.2.1.ML ML-Systems/polyml.ML			\
wenzelm@35017
    29
  ML-Systems/polyml_common.ML ML-Systems/pp_polyml.ML			\
wenzelm@35017
    30
  ML-Systems/proper_int.ML ML-Systems/single_assignment.ML		\
wenzelm@35014
    31
  ML-Systems/single_assignment_polyml.ML ML-Systems/smlnj.ML		\
wenzelm@35010
    32
  ML-Systems/thread_dummy.ML ML-Systems/timing.ML			\
wenzelm@35010
    33
  ML-Systems/time_limit.ML ML-Systems/universal.ML			\
wenzelm@35010
    34
  ML-Systems/unsynchronized.ML
wenzelm@30141
    35
wenzelm@30141
    36
RAW: $(OUT)/RAW
wenzelm@30141
    37
wenzelm@30141
    38
$(OUT)/RAW: $(BOOTSTRAP_FILES)
wenzelm@30141
    39
	@./mk -r
wenzelm@30141
    40
wenzelm@30141
    41
wenzelm@27204
    42
Pure: $(OUT)/Pure
wenzelm@2431
    43
wenzelm@32840
    44
$(OUT)/Pure: $(BOOTSTRAP_FILES) Concurrent/cache.ML			\
wenzelm@32840
    45
  Concurrent/future.ML Concurrent/lazy.ML				\
wenzelm@32840
    46
  Concurrent/lazy_sequential.ML Concurrent/mailbox.ML			\
wenzelm@32840
    47
  Concurrent/par_list.ML Concurrent/par_list_sequential.ML		\
wenzelm@35014
    48
  Concurrent/simple_thread.ML Concurrent/single_assignment.ML		\
wenzelm@35014
    49
  Concurrent/single_assignment_sequential.ML				\
wenzelm@35014
    50
  Concurrent/synchronized.ML Concurrent/synchronized_sequential.ML	\
wenzelm@35014
    51
  Concurrent/task_queue.ML General/alist.ML General/antiquote.ML	\
wenzelm@35014
    52
  General/balanced_tree.ML General/basics.ML General/binding.ML		\
wenzelm@35014
    53
  General/buffer.ML General/exn.ML General/file.ML General/graph.ML	\
wenzelm@35014
    54
  General/heap.ML General/integer.ML General/long_name.ML		\
wenzelm@35014
    55
  General/markup.ML General/name_space.ML General/ord_list.ML		\
wenzelm@35014
    56
  General/output.ML General/path.ML General/position.ML			\
wenzelm@35014
    57
  General/pretty.ML General/print_mode.ML General/properties.ML		\
wenzelm@35628
    58
  General/queue.ML General/same.ML General/scan.ML General/sha1.ML	\
wenzelm@35628
    59
  General/sha1_polyml.ML General/secure.ML General/seq.ML		\
wenzelm@35628
    60
  General/source.ML General/stack.ML General/symbol.ML			\
wenzelm@34136
    61
  General/symbol_pos.ML General/table.ML General/url.ML General/xml.ML	\
wenzelm@34136
    62
  General/yxml.ML Isar/args.ML Isar/attrib.ML Isar/auto_bind.ML		\
wenzelm@34136
    63
  Isar/calculation.ML Isar/class.ML Isar/class_target.ML Isar/code.ML	\
wenzelm@34136
    64
  Isar/constdefs.ML Isar/context_rules.ML Isar/element.ML		\
wenzelm@34136
    65
  Isar/expression.ML Isar/isar_cmd.ML Isar/isar_document.ML		\
wenzelm@36949
    66
  Isar/isar_syn.ML Isar/keyword.ML Isar/local_defs.ML			\
wenzelm@36949
    67
  Isar/local_syntax.ML Isar/local_theory.ML Isar/locale.ML		\
wenzelm@36959
    68
  Isar/method.ML Isar/object_logic.ML Isar/obtain.ML			\
wenzelm@36951
    69
  Isar/outer_syntax.ML Isar/overloading.ML Isar/parse.ML		\
wenzelm@36952
    70
  Isar/parse_spec.ML Isar/parse_value.ML Isar/proof.ML			\
wenzelm@36952
    71
  Isar/proof_context.ML Isar/proof_display.ML Isar/proof_node.ML	\
wenzelm@36952
    72
  Isar/rule_cases.ML Isar/rule_insts.ML Isar/runtime.ML			\
wenzelm@36952
    73
  Isar/skip_proof.ML Isar/spec_rules.ML Isar/specification.ML		\
wenzelm@36959
    74
  Isar/theory_target.ML Isar/token.ML Isar/toplevel.ML			\
wenzelm@36959
    75
  Isar/typedecl.ML ML/ml_antiquote.ML ML/ml_compiler.ML			\
wenzelm@36959
    76
  ML/ml_compiler_polyml-5.3.ML ML/ml_context.ML ML/ml_env.ML		\
wenzelm@36959
    77
  ML/ml_lex.ML ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML		\
wenzelm@36959
    78
  ML-Systems/install_pp_polyml.ML ML-Systems/install_pp_polyml-5.3.ML	\
wenzelm@36959
    79
  ML-Systems/use_context.ML Proof/extraction.ML				\
wenzelm@36959
    80
  Proof/proof_rewrite_rules.ML Proof/proof_syntax.ML			\
wenzelm@36959
    81
  Proof/proofchecker.ML Proof/reconstruct.ML ProofGeneral/pgip.ML	\
wenzelm@36959
    82
  ProofGeneral/pgip_input.ML ProofGeneral/pgip_isabelle.ML		\
wenzelm@36959
    83
  ProofGeneral/pgip_markup.ML ProofGeneral/pgip_output.ML		\
wenzelm@36959
    84
  ProofGeneral/pgip_parser.ML ProofGeneral/pgip_tests.ML		\
wenzelm@36959
    85
  ProofGeneral/pgip_types.ML ProofGeneral/preferences.ML		\
wenzelm@36959
    86
  ProofGeneral/proof_general_emacs.ML					\
wenzelm@26097
    87
  ProofGeneral/proof_general_pgip.ML Pure.thy ROOT.ML Syntax/ast.ML	\
wenzelm@26097
    88
  Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML			\
wenzelm@26097
    89
  Syntax/printer.ML Syntax/simple_syntax.ML Syntax/syn_ext.ML		\
wenzelm@30173
    90
  Syntax/syn_trans.ML Syntax/syntax.ML Syntax/type_ext.ML		\
wenzelm@30173
    91
  System/isabelle_process.ML System/isar.ML System/session.ML		\
wenzelm@30173
    92
  Thy/html.ML Thy/latex.ML Thy/present.ML Thy/term_style.ML		\
wenzelm@30173
    93
  Thy/thm_deps.ML Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML	\
wenzelm@31432
    94
  Thy/thy_output.ML Thy/thy_syntax.ML Tools/find_consts.ML		\
wenzelm@31432
    95
  Tools/find_theorems.ML Tools/named_thms.ML Tools/xml_syntax.ML	\
wenzelm@31432
    96
  assumption.ML axclass.ML codegen.ML config.ML conjunction.ML		\
wenzelm@31432
    97
  consts.ML context.ML context_position.ML conv.ML defs.ML display.ML	\
wenzelm@32187
    98
  drule.ML envir.ML facts.ML goal.ML goal_display.ML interpretation.ML	\
wenzelm@32089
    99
  item_net.ML library.ML logic.ML meta_simplifier.ML more_thm.ML	\
wenzelm@32089
   100
  morphism.ML name.ML net.ML old_goals.ML old_term.ML pattern.ML	\
wenzelm@32089
   101
  primitive_defs.ML proofterm.ML pure_setup.ML pure_thy.ML search.ML	\
wenzelm@32169
   102
  sign.ML simplifier.ML sorts.ML subgoal.ML tactic.ML tactical.ML	\
wenzelm@32089
   103
  term.ML term_ord.ML term_subst.ML theory.ML thm.ML type.ML		\
wenzelm@32089
   104
  type_infer.ML unify.ML variable.ML
wenzelm@2431
   105
	@./mk
wenzelm@2431
   106
wenzelm@4518
   107
wenzelm@30141
   108
## Proof General keywords
wenzelm@10102
   109
wenzelm@24880
   110
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz
wenzelm@24880
   111
wenzelm@27204
   112
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure ProofGeneral/proof_general_keywords.ML
wenzelm@28500
   113
	@$(ISABELLE_TOOL) usedir -f proof_general_keywords.ML $(OUT)/Pure ProofGeneral
wenzelm@24880
   114
wenzelm@24880
   115
wenzelm@4518
   116
## clean
wenzelm@4441
   117
wenzelm@4441
   118
clean:
wenzelm@30141
   119
	@rm -f $(OUT)/Pure $(LOG)/Pure.gz $(OUT)/RAW $(LOG)/RAW.gz \
wenzelm@30141
   120
          $(LOG)/Pure-ProofGeneral.gz