src/Pure/IsaMakefile
author wenzelm
Sat Oct 06 22:07:18 2007 +0200 (2007-10-06 ago)
changeset 24880 c827d25b2983
parent 24830 a7b3ab44d993
child 24914 95cda5dd58d5
permissions -rw-r--r--
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
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
haftmann@24280
    26
$(OUT)/Pure$(ML_SUFFIX): \
wenzelm@24235
    27
  CPure.thy General/ROOT.ML General/alist.ML General/balanced_tree.ML		\
wenzelm@24235
    28
  General/basics.ML General/buffer.ML General/file.ML General/graph.ML		\
wenzelm@24633
    29
  General/heap.ML General/history.ML General/integer.ML General/markup.ML	\
wenzelm@24574
    30
  General/name_space.ML General/ord_list.ML General/output.ML			\
wenzelm@24574
    31
  General/path.ML General/position.ML General/pretty.ML				\
wenzelm@24574
    32
  General/print_mode.ML General/scan.ML General/secure.ML General/seq.ML	\
wenzelm@24574
    33
  General/source.ML General/stack.ML General/susp.ML General/symbol.ML		\
wenzelm@24574
    34
  General/table.ML General/url.ML General/xml.ML Isar/ROOT.ML			\
wenzelm@24574
    35
  Isar/antiquote.ML Isar/args.ML Isar/attrib.ML Isar/auto_bind.ML		\
wenzelm@24574
    36
  Isar/calculation.ML Isar/class.ML Isar/code.ML Isar/code_unit.ML		\
wenzelm@24574
    37
  Isar/constdefs.ML Isar/context_rules.ML Isar/element.ML			\
wenzelm@24830
    38
  Isar/find_theorems.ML Isar/instance.ML Isar/isar_cmd.ML			\
wenzelm@24574
    39
  Isar/isar_syn.ML Isar/local_defs.ML Isar/local_syntax.ML			\
wenzelm@24574
    40
  Isar/local_theory.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML		\
wenzelm@24574
    41
  Isar/object_logic.ML Isar/obtain.ML Isar/outer_keyword.ML			\
wenzelm@24574
    42
  Isar/outer_lex.ML Isar/outer_parse.ML Isar/outer_syntax.ML			\
wenzelm@24574
    43
  Isar/proof.ML Isar/proof_context.ML Isar/proof_display.ML			\
wenzelm@24574
    44
  Isar/proof_history.ML Isar/rule_cases.ML Isar/rule_insts.ML			\
wenzelm@24574
    45
  Isar/session.ML Isar/skip_proof.ML Isar/spec_parse.ML				\
wenzelm@24574
    46
  Isar/specification.ML Isar/theory_target.ML Isar/toplevel.ML			\
wenzelm@24574
    47
  ML-Systems/alice.ML ML-Systems/exn.ML						\
wenzelm@24689
    48
  ML-Systems/multithreading.ML ML-Systems/multithreading_polyml.ML		\
wenzelm@24235
    49
  ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML			\
wenzelm@24235
    50
  ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-5.0.ML				\
wenzelm@24689
    51
  ML-Systems/polyml-5.1.ML ML-Systems/polyml-old-basis.ML			\
wenzelm@24689
    52
  ML-Systems/polyml-posix.ML ML-Systems/polyml.ML ML-Systems/poplogml.ML	\
wenzelm@24689
    53
  ML-Systems/proper_int.ML ML-Systems/smlnj.ML ML-Systems/time_limit.ML		\
wenzelm@24689
    54
  ML/ml_context.ML ML/ml_lex.ML ML/ml_parse.ML ML/ml_syntax.ML			\
wenzelm@24689
    55
  Proof/extraction.ML Proof/proof_rewrite_rules.ML Proof/proof_syntax.ML	\
wenzelm@24689
    56
  Proof/proofchecker.ML Proof/reconstruct.ML ProofGeneral/ROOT.ML		\
wenzelm@24689
    57
  ProofGeneral/parsing.ML ProofGeneral/pgip.ML ProofGeneral/pgip_input.ML	\
wenzelm@24689
    58
  ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML			\
wenzelm@24689
    59
  ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML			\
wenzelm@24689
    60
  ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML				\
wenzelm@24689
    61
  ProofGeneral/preferences.ML ProofGeneral/proof_general_emacs.ML 		\
wenzelm@24689
    62
  ProofGeneral/proof_general_pgip.ML Pure.thy ROOT.ML Syntax/ast.ML		\
wenzelm@24689
    63
  Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML Syntax/printer.ML		\
wenzelm@24689
    64
  Syntax/simple_syntax.ML Syntax/syn_ext.ML Syntax/syn_trans.ML Syntax/syntax.ML\
wenzelm@24574
    65
  Syntax/type_ext.ML Thy/html.ML Thy/latex.ML Thy/present.ML			\
wenzelm@24574
    66
  Thy/term_style.ML Thy/thm_database.ML Thy/thm_deps.ML Thy/thy_edit.ML		\
wenzelm@24574
    67
  Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML Thy/thy_output.ML		\
wenzelm@24574
    68
  Tools/ROOT.ML Tools/invoke.ML Tools/named_thms.ML Tools/xml_syntax.ML		\
wenzelm@24574
    69
  assumption.ML axclass.ML codegen.ML compress.ML config.ML			\
wenzelm@24574
    70
  conjunction.ML consts.ML context.ML context_position.ML conv.ML		\
wenzelm@24664
    71
  defs.ML display.ML drule.ML envir.ML fact_index.ML goal.ML interpretation.ML  \
wenzelm@24664
    72
  library.ML logic.ML meta_simplifier.ML more_thm.ML morphism.ML name.ML net.ML	\
wenzelm@24574
    73
  old_goals.ML pattern.ML primitive_defs.ML proofterm.ML pure_setup.ML		\
wenzelm@24574
    74
  pure_thy.ML search.ML sign.ML simplifier.ML sorts.ML subgoal.ML		\
wenzelm@24574
    75
  tactic.ML tctical.ML term.ML term_subst.ML theory.ML thm.ML type.ML		\
wenzelm@24574
    76
  type_infer.ML unify.ML variable.ML
wenzelm@2431
    77
	@./mk
wenzelm@2431
    78
wenzelm@4518
    79
wenzelm@10102
    80
## special targets
wenzelm@10102
    81
wenzelm@24880
    82
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz
wenzelm@24880
    83
wenzelm@24880
    84
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure$(ML_SUFFIX) ProofGeneral/proof_general_keywords.ML
wenzelm@24880
    85
	@$(ISATOOL) usedir -f proof_general_keywords.ML $(OUT)/Pure ProofGeneral
wenzelm@24880
    86
wenzelm@24880
    87
wenzelm@21995
    88
RAW: $(OUT)/RAW
wenzelm@4518
    89
wenzelm@24689
    90
$(OUT)/RAW: ML-Systems/alice.ML ML-Systems/exn.ML ML-Systems/multithreading.ML	\
wenzelm@24689
    91
  ML-Systems/multithreading_polyml.ML ML-Systems/overloading_smlnj.ML		\
wenzelm@24689
    92
  ML-Systems/polyml-4.1.3.ML ML-Systems/polyml-4.1.4.ML				\
wenzelm@24689
    93
  ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML				\
wenzelm@24689
    94
  ML-Systems/polyml-old-basis.ML ML-Systems/polyml-posix.ML			\
wenzelm@24689
    95
  ML-Systems/polyml.ML ML-Systems/poplogml.ML ML-Systems/proper_int.ML		\
wenzelm@24689
    96
  ML-Systems/smlnj.ML ML-Systems/time_limit.ML
wenzelm@3774
    97
	@./mk -r
wenzelm@3774
    98
wenzelm@4518
    99
wenzelm@4518
   100
## clean
wenzelm@4441
   101
wenzelm@4441
   102
clean:
wenzelm@24880
   103
	@rm -f $(OUT)/Pure$(ML_SUFFIX) $(LOG)/Pure.gz $(LOG)/Pure-ProofGeneral.gz \
wenzelm@24880
   104
          $(OUT)/RAW $(LOG)/RAW.gz