author | ballarin |
Wed, 10 Dec 2008 17:18:12 +0100 | |
changeset 29207 | a91012d9db21 |
parent 28952 | 15a4b2cf8c34 |
child 29252 | ea97aa6aeba2 |
permissions | -rw-r--r-- |
2431 | 1 |
# |
4518 | 2 |
# IsaMakefile for Pure |
2431 | 3 |
# |
4 |
||
4518 | 5 |
## targets |
6 |
||
7 |
default: Pure |
|
8 |
images: Pure |
|
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
9 |
test: RAW Pure-ProofGeneral |
4518 | 10 |
all: images test |
11 |
||
12 |
||
13 |
## global settings |
|
14 |
||
15 |
SRC = $(ISABELLE_HOME)/src |
|
3118 | 16 |
OUT = $(ISABELLE_OUTPUT) |
4518 | 17 |
LOG = $(OUT)/log |
18 |
||
2431 | 19 |
|
4518 | 20 |
## Pure |
21 |
||
27204 | 22 |
Pure: $(OUT)/Pure |
2431 | 23 |
|
28632 | 24 |
$(OUT)/Pure: Concurrent/ROOT.ML Concurrent/future.ML \ |
25 |
Concurrent/mailbox.ML Concurrent/par_list.ML \ |
|
26 |
Concurrent/par_list_dummy.ML Concurrent/schedule.ML \ |
|
27 |
Concurrent/simple_thread.ML Concurrent/synchronized.ML \ |
|
28 |
Concurrent/task_queue.ML General/ROOT.ML General/alist.ML \ |
|
29207 | 29 |
General/balanced_tree.ML General/basics.ML General/binding.ML \ |
30 |
General/buffer.ML \ |
|
28632 | 31 |
General/file.ML General/graph.ML General/heap.ML General/integer.ML \ |
28673
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
32 |
General/lazy.ML General/markup.ML General/name_space.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
33 |
General/ord_list.ML General/output.ML General/path.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
34 |
General/position.ML General/pretty.ML General/print_mode.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
35 |
General/properties.ML General/queue.ML General/scan.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
36 |
General/secure.ML General/seq.ML General/source.ML General/stack.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
37 |
General/symbol.ML General/symbol_pos.ML General/table.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
38 |
General/url.ML General/xml.ML General/yxml.ML Isar/ROOT.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
39 |
Isar/antiquote.ML Isar/args.ML Isar/attrib.ML Isar/auto_bind.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
40 |
Isar/calculation.ML Isar/class.ML Isar/code.ML Isar/code_unit.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
41 |
Isar/constdefs.ML Isar/context_rules.ML Isar/element.ML \ |
28697
140bfb63f893
New-style locale expressions with instantiation (new file expression.ML).
ballarin
parents:
28673
diff
changeset
|
42 |
Isar/expression.ML \ |
28673
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
43 |
Isar/find_theorems.ML Isar/instance.ML Isar/isar.ML Isar/isar_cmd.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
44 |
Isar/isar_syn.ML Isar/local_defs.ML Isar/local_syntax.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
45 |
Isar/local_theory.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML \ |
28795 | 46 |
Isar/new_locale.ML \ |
28673
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
47 |
Isar/object_logic.ML Isar/obtain.ML Isar/outer_keyword.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
48 |
Isar/outer_lex.ML Isar/outer_parse.ML Isar/outer_syntax.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
49 |
Isar/overloading.ML Isar/proof.ML Isar/proof_context.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
50 |
Isar/proof_display.ML Isar/proof_node.ML Isar/rule_cases.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
51 |
Isar/rule_insts.ML Isar/session.ML Isar/skip_proof.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
52 |
Isar/spec_parse.ML Isar/specification.ML Isar/subclass.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
53 |
Isar/theory_target.ML Isar/toplevel.ML ML-Systems/alice.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
54 |
ML-Systems/exn.ML ML-Systems/install_pp_polyml.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
55 |
ML-Systems/ml_name_space.ML ML-Systems/multithreading.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
56 |
ML-Systems/mosml.ML ML-Systems/multithreading_polyml.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
57 |
ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
58 |
ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-4.2.0.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
59 |
ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
60 |
ML-Systems/polyml_common.ML ML-Systems/polyml.ML \ |
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
61 |
ML-Systems/polyml_old_compiler4.ML \ |
27204 | 62 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
63 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
28146 | 64 |
ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML \ |
65 |
ML-Systems/universal.ML ML/ml_context.ML ML/ml_antiquote.ML \ |
|
66 |
ML/ml_lex.ML ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML \ |
|
67 |
Proof/extraction.ML Proof/proof_rewrite_rules.ML \ |
|
27339 | 68 |
Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML \ |
69 |
ProofGeneral/ROOT.ML ProofGeneral/pgip.ML ProofGeneral/pgip_input.ML \ |
|
26097
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
70 |
ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
71 |
ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
72 |
ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML \ |
28030 | 73 |
ProofGeneral/preferences.ML ProofGeneral/proof_general_emacs.ML \ |
26097
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
74 |
ProofGeneral/proof_general_pgip.ML Pure.thy ROOT.ML Syntax/ast.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
75 |
Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
76 |
Syntax/printer.ML Syntax/simple_syntax.ML Syntax/syn_ext.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
77 |
Syntax/syn_trans.ML Syntax/syntax.ML Syntax/type_ext.ML Thy/html.ML \ |
26419
945d8d7a66ec
removed obsolete Thy/thm_database.ML (cf. ML/ml_context.ML);
wenzelm
parents:
26384
diff
changeset
|
78 |
Thy/latex.ML Thy/present.ML Thy/term_style.ML Thy/thm_deps.ML \ |
945d8d7a66ec
removed obsolete Thy/thm_database.ML (cf. ML/ml_context.ML);
wenzelm
parents:
26384
diff
changeset
|
79 |
Thy/thy_edit.ML Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML \ |
28952
15a4b2cf8c34
made repository layout more coherent with logical distribution structure; stripped some $Id$s
haftmann
parents:
28795
diff
changeset
|
80 |
Thy/thy_output.ML Tools/ROOT.ML Tools/invoke.ML \ |
15a4b2cf8c34
made repository layout more coherent with logical distribution structure; stripped some $Id$s
haftmann
parents:
28795
diff
changeset
|
81 |
Tools/isabelle_process.ML Tools/named_thms.ML \ |
28266 | 82 |
Tools/xml_syntax.ML assumption.ML axclass.ML codegen.ML config.ML \ |
28404 | 83 |
conjunction.ML consts.ML context.ML context_position.ML conv.ML \ |
84 |
defs.ML display.ML drule.ML envir.ML facts.ML goal.ML \ |
|
85 |
interpretation.ML library.ML logic.ML meta_simplifier.ML more_thm.ML \ |
|
86 |
morphism.ML name.ML net.ML old_goals.ML pattern.ML primitive_defs.ML \ |
|
87 |
proofterm.ML pure_setup.ML pure_thy.ML search.ML sign.ML \ |
|
88 |
simplifier.ML sorts.ML subgoal.ML tactic.ML tctical.ML term.ML \ |
|
89 |
term_subst.ML theory.ML thm.ML type.ML type_infer.ML unify.ML \ |
|
28952
15a4b2cf8c34
made repository layout more coherent with logical distribution structure; stripped some $Id$s
haftmann
parents:
28795
diff
changeset
|
90 |
variable.ML ../Tools/value.ML ../Tools/quickcheck.ML |
2431 | 91 |
@./mk |
92 |
||
4518 | 93 |
|
10102 | 94 |
## special targets |
95 |
||
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
96 |
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz |
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
97 |
|
27204 | 98 |
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure ProofGeneral/proof_general_keywords.ML |
28500 | 99 |
@$(ISABELLE_TOOL) usedir -f proof_general_keywords.ML $(OUT)/Pure ProofGeneral |
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
100 |
|
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
101 |
|
21995 | 102 |
RAW: $(OUT)/RAW |
4518 | 103 |
|
28266 | 104 |
$(OUT)/RAW: ML-Systems/alice.ML ML-Systems/exn.ML \ |
105 |
ML-Systems/ml_name_space.ML ML-Systems/multithreading.ML \ |
|
106 |
ML-Systems/mosml.ML ML-Systems/multithreading_polyml.ML \ |
|
107 |
ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML \ |
|
108 |
ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-4.2.0.ML \ |
|
109 |
ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML \ |
|
110 |
ML-Systems/polyml_common.ML ML-Systems/polyml.ML \ |
|
111 |
ML-Systems/polyml_old_compiler4.ML \ |
|
112 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
|
113 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
114 |
ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML \ |
|
28146 | 115 |
ML-Systems/universal.ML |
3774 | 116 |
@./mk -r |
117 |
||
4518 | 118 |
|
119 |
## clean |
|
4441 | 120 |
|
121 |
clean: |
|
27204 | 122 |
@rm -f $(OUT)/Pure $(LOG)/Pure.gz $(LOG)/Pure-ProofGeneral.gz \ |
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
123 |
$(OUT)/RAW $(LOG)/RAW.gz |
27902 | 124 |
|
125 |
||
126 |
## Scala material |
|
127 |
||
28494 | 128 |
SCALA_FILES = General/markup.scala General/position.scala \ |
129 |
General/symbol.scala General/xml.scala General/yxml.scala \ |
|
130 |
Isar/isar.scala Thy/thy_header.scala Tools/isabelle_process.scala \ |
|
28299 | 131 |
Tools/isabelle_syntax.scala Tools/isabelle_system.scala |
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
132 |
|
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
133 |
|
27902 | 134 |
SCALA_TARGET = $(ISABELLE_HOME)/lib/classes/Pure.jar |
135 |
||
136 |
jar: $(SCALA_TARGET) |
|
137 |
||
138 |
$(SCALA_TARGET): $(SCALA_FILES) |
|
139 |
@rm -rf classes && mkdir classes |
|
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
140 |
scalac -deprecation -d classes -target jvm-1.5 $(SCALA_FILES) |
27925 | 141 |
scaladoc -d classes $(SCALA_FILES) |
28295 | 142 |
@cp $(SCALA_FILES) classes/isabelle |
27902 | 143 |
@mkdir -p `dirname $@` |
27922
ddf74e16ab01
jar target: removed jvmpath -- does not work on Linux!?
wenzelm
parents:
27920
diff
changeset
|
144 |
@cd classes; jar cf $@ isabelle |
28003 | 145 |
@rm -rf classes |
27902 | 146 |
|
147 |
clean-jar: |
|
148 |
@rm -f $(SCALA_TARGET) |