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