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