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