src/Pure/IsaMakefile
author wenzelm
Mon Mar 24 18:35:40 2008 +0100 (2008-03-24 ago)
changeset 26376 1aeabd85866a
parent 26279 e8440c90c474
child 26384 0aed2ba71388
permissions -rw-r--r--
added ML-Systems/polyml-5.1.ML, ML-Systems/polyml_old_compiler4.ML, ML-Systems/polyml_old_compiler5.ML;
wenzelm@2431
     1
#
wenzelm@4518
     2
# $Id$
wenzelm@2431
     3
#
wenzelm@4518
     4
# IsaMakefile for Pure
wenzelm@2431
     5
#
wenzelm@2431
     6
wenzelm@4518
     7
## targets
wenzelm@4518
     8
wenzelm@4518
     9
default: Pure
wenzelm@4518
    10
images: Pure
wenzelm@24880
    11
test: RAW Pure-ProofGeneral
wenzelm@4518
    12
all: images test
wenzelm@4518
    13
wenzelm@4518
    14
wenzelm@4518
    15
## global settings
wenzelm@4518
    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@17802
    24
Pure: $(OUT)/Pure$(ML_SUFFIX)
wenzelm@2431
    25
wenzelm@26214
    26
$(OUT)/Pure$(ML_SUFFIX): CPure.thy General/ROOT.ML General/alist.ML	\
wenzelm@26214
    27
  General/balanced_tree.ML General/basics.ML General/buffer.ML		\
wenzelm@26214
    28
  General/file.ML General/graph.ML General/heap.ML General/history.ML	\
wenzelm@26214
    29
  General/integer.ML General/markup.ML General/name_space.ML		\
wenzelm@26214
    30
  General/ord_list.ML General/output.ML General/path.ML			\
wenzelm@26214
    31
  General/position.ML General/pretty.ML General/print_mode.ML		\
wenzelm@26214
    32
  General/scan.ML General/secure.ML General/seq.ML General/source.ML	\
wenzelm@26214
    33
  General/stack.ML General/susp.ML General/symbol.ML General/table.ML	\
wenzelm@26214
    34
  General/url.ML General/xml.ML Isar/ROOT.ML Isar/antiquote.ML		\
wenzelm@26214
    35
  Isar/args.ML Isar/attrib.ML Isar/auto_bind.ML Isar/calculation.ML	\
wenzelm@26214
    36
  Isar/class.ML Isar/code.ML Isar/code_unit.ML Isar/constdefs.ML	\
wenzelm@26097
    37
  Isar/context_rules.ML Isar/element.ML Isar/find_theorems.ML		\
wenzelm@26097
    38
  Isar/instance.ML Isar/isar_cmd.ML Isar/isar_syn.ML			\
wenzelm@26097
    39
  Isar/local_defs.ML Isar/local_syntax.ML Isar/local_theory.ML		\
wenzelm@26097
    40
  Isar/locale.ML Isar/method.ML Isar/net_rules.ML Isar/object_logic.ML	\
wenzelm@26097
    41
  Isar/obtain.ML Isar/outer_keyword.ML Isar/outer_lex.ML		\
wenzelm@26279
    42
  Isar/outer_parse.ML Isar/outer_syntax.ML Isar/overloading.ML		\
wenzelm@26279
    43
  Isar/proof.ML Isar/proof_context.ML Isar/proof_display.ML		\
wenzelm@26279
    44
  Isar/proof_history.ML Isar/rule_cases.ML Isar/rule_insts.ML		\
wenzelm@26279
    45
  Isar/session.ML Isar/skip_proof.ML Isar/spec_parse.ML			\
wenzelm@26279
    46
  Isar/specification.ML Isar/subclass.ML Isar/theory_target.ML		\
wenzelm@26279
    47
  Isar/toplevel.ML ML-Systems/alice.ML ML-Systems/exn.ML		\
wenzelm@26279
    48
  ML-Systems/multithreading.ML ML-Systems/mosml.ML			\
wenzelm@26279
    49
  ML-Systems/multithreading_polyml.ML ML-Systems/overloading_smlnj.ML	\
wenzelm@26279
    50
  ML-Systems/polyml-4.1.3.ML ML-Systems/polyml-4.1.4.ML			\
wenzelm@26279
    51
  ML-Systems/polyml-4.2.0.ML ML-Systems/polyml-5.0.ML			\
wenzelm@26376
    52
  ML-Systems/polyml-5.1.ML ML-Systems/polyml_common.ML			\
wenzelm@26376
    53
  ML-Systems/polyml.ML ML-Systems/polyml_old_compiler4.ML		\
wenzelm@26376
    54
  ML-Systems/polyml_old_compiler5.ML ML-Systems/poplogml.ML		\
wenzelm@26376
    55
  ML-Systems/proper_int.ML ML-Systems/smlnj.ML				\
wenzelm@26279
    56
  ML-Systems/system_shell.ML ML-Systems/time_limit.ML			\
wenzelm@26279
    57
  ML-Systems/universal.ML ML/ml_context.ML ML/ml_lex.ML ML/ml_parse.ML	\
wenzelm@26279
    58
  ML/ml_syntax.ML Proof/extraction.ML Proof/proof_rewrite_rules.ML	\
wenzelm@26279
    59
  Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML	\
wenzelm@26279
    60
  ProofGeneral/ROOT.ML ProofGeneral/pgip.ML ProofGeneral/pgip_input.ML	\
wenzelm@26097
    61
  ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML		\
wenzelm@26097
    62
  ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML		\
wenzelm@26097
    63
  ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML			\
wenzelm@26097
    64
  ProofGeneral/pgml_isabelle.ML ProofGeneral/preferences.ML		\
wenzelm@26097
    65
  ProofGeneral/proof_general_emacs.ML					\
wenzelm@26097
    66
  ProofGeneral/proof_general_pgip.ML Pure.thy ROOT.ML Syntax/ast.ML	\
wenzelm@26097
    67
  Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML			\
wenzelm@26097
    68
  Syntax/printer.ML Syntax/simple_syntax.ML Syntax/syn_ext.ML		\
wenzelm@26097
    69
  Syntax/syn_trans.ML Syntax/syntax.ML Syntax/type_ext.ML Thy/html.ML	\
wenzelm@26097
    70
  Thy/latex.ML Thy/present.ML Thy/term_style.ML Thy/thm_database.ML	\
wenzelm@26097
    71
  Thy/thm_deps.ML Thy/thy_edit.ML Thy/thy_header.ML Thy/thy_info.ML	\
wenzelm@26097
    72
  Thy/thy_load.ML Thy/thy_output.ML Tools/ROOT.ML Tools/invoke.ML	\
wenzelm@26097
    73
  Tools/isabelle_process.ML Tools/named_thms.ML Tools/xml_syntax.ML	\
wenzelm@26097
    74
  assumption.ML axclass.ML codegen.ML compress.ML config.ML		\
wenzelm@26097
    75
  conjunction.ML consts.ML context.ML conv.ML defs.ML display.ML	\
wenzelm@26279
    76
  drule.ML envir.ML facts.ML goal.ML interpretation.ML library.ML	\
wenzelm@26097
    77
  logic.ML meta_simplifier.ML more_thm.ML morphism.ML name.ML net.ML	\
wenzelm@26097
    78
  old_goals.ML pattern.ML primitive_defs.ML proofterm.ML pure_setup.ML	\
wenzelm@26097
    79
  pure_thy.ML search.ML sign.ML simplifier.ML sorts.ML subgoal.ML	\
wenzelm@26097
    80
  tactic.ML tctical.ML term.ML term_subst.ML theory.ML thm.ML type.ML	\
wenzelm@26097
    81
  type_infer.ML unify.ML variable.ML
wenzelm@2431
    82
	@./mk
wenzelm@2431
    83
wenzelm@4518
    84
wenzelm@10102
    85
## special targets
wenzelm@10102
    86
wenzelm@24880
    87
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz
wenzelm@24880
    88
wenzelm@24880
    89
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure$(ML_SUFFIX) ProofGeneral/proof_general_keywords.ML
wenzelm@24880
    90
	@$(ISATOOL) usedir -f proof_general_keywords.ML $(OUT)/Pure ProofGeneral
wenzelm@24880
    91
wenzelm@24880
    92
wenzelm@21995
    93
RAW: $(OUT)/RAW
wenzelm@4518
    94
wenzelm@26376
    95
$(OUT)/RAW: ML-Systems/alice.ML ML-Systems/exn.ML			\
wenzelm@26376
    96
  ML-Systems/multithreading.ML ML-Systems/mosml.ML			\
wenzelm@26376
    97
  ML-Systems/multithreading_polyml.ML ML-Systems/overloading_smlnj.ML	\
wenzelm@26376
    98
  ML-Systems/polyml-4.1.3.ML ML-Systems/polyml-4.1.4.ML			\
wenzelm@26376
    99
  ML-Systems/polyml-4.2.0.ML ML-Systems/polyml-5.0.ML			\
wenzelm@26376
   100
  ML-Systems/polyml-5.1.ML ML-Systems/polyml_common.ML			\
wenzelm@26376
   101
  ML-Systems/polyml.ML A ML-Systems/polyml_old_compiler4.ML		\
wenzelm@26376
   102
  ML-Systems/polyml_old_compiler5.ML ML-Systems/poplogml.ML		\
wenzelm@26376
   103
  ML-Systems/proper_int.ML ML-Systems/smlnj.ML				\
wenzelm@26376
   104
  ML-Systems/system_shell.ML ML-Systems/time_limit.ML			\
wenzelm@26376
   105
  ML-Systems/universal.ML
wenzelm@3774
   106
	@./mk -r
wenzelm@3774
   107
wenzelm@4518
   108
wenzelm@4518
   109
## clean
wenzelm@4441
   110
wenzelm@4441
   111
clean:
wenzelm@24880
   112
	@rm -f $(OUT)/Pure$(ML_SUFFIX) $(LOG)/Pure.gz $(LOG)/Pure-ProofGeneral.gz \
wenzelm@24880
   113
          $(OUT)/RAW $(LOG)/RAW.gz