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