author | ballarin |
Fri, 14 Nov 2008 16:49:52 +0100 | |
changeset 28795 | 6891e273c33b |
parent 28697 | 140bfb63f893 |
child 28952 | 15a4b2cf8c34 |
permissions | -rw-r--r-- |
2431 | 1 |
# |
4518 | 2 |
# $Id$ |
2431 | 3 |
# |
4518 | 4 |
# IsaMakefile for Pure |
2431 | 5 |
# |
6 |
||
4518 | 7 |
## targets |
8 |
||
9 |
default: Pure |
|
10 |
images: Pure |
|
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
11 |
test: RAW Pure-ProofGeneral |
4518 | 12 |
all: images test |
13 |
||
14 |
||
15 |
## global settings |
|
16 |
||
17 |
SRC = $(ISABELLE_HOME)/src |
|
3118 | 18 |
OUT = $(ISABELLE_OUTPUT) |
4518 | 19 |
LOG = $(OUT)/log |
20 |
||
2431 | 21 |
|
4518 | 22 |
## Pure |
23 |
||
27204 | 24 |
Pure: $(OUT)/Pure |
2431 | 25 |
|
28632 | 26 |
$(OUT)/Pure: Concurrent/ROOT.ML Concurrent/future.ML \ |
27 |
Concurrent/mailbox.ML Concurrent/par_list.ML \ |
|
28 |
Concurrent/par_list_dummy.ML Concurrent/schedule.ML \ |
|
29 |
Concurrent/simple_thread.ML Concurrent/synchronized.ML \ |
|
30 |
Concurrent/task_queue.ML General/ROOT.ML General/alist.ML \ |
|
31 |
General/balanced_tree.ML General/basics.ML General/buffer.ML \ |
|
32 |
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
|
33 |
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
|
34 |
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
|
35 |
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
|
36 |
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
|
37 |
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
|
38 |
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
|
39 |
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
|
40 |
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
|
41 |
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
|
42 |
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
|
43 |
Isar/expression.ML \ |
28673
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
44 |
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
|
45 |
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
|
46 |
Isar/local_theory.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML \ |
28795 | 47 |
Isar/new_locale.ML \ |
28673
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
48 |
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
|
49 |
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
|
50 |
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
|
51 |
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
|
52 |
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
|
53 |
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
|
54 |
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
|
55 |
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
|
56 |
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
|
57 |
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
|
58 |
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
|
59 |
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
|
60 |
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
|
61 |
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
|
62 |
ML-Systems/polyml_old_compiler4.ML \ |
27204 | 63 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
64 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
28146 | 65 |
ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML \ |
66 |
ML-Systems/universal.ML ML/ml_context.ML ML/ml_antiquote.ML \ |
|
67 |
ML/ml_lex.ML ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML \ |
|
68 |
Proof/extraction.ML Proof/proof_rewrite_rules.ML \ |
|
27339 | 69 |
Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML \ |
70 |
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
|
71 |
ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
72 |
ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
73 |
ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML \ |
28030 | 74 |
ProofGeneral/preferences.ML ProofGeneral/proof_general_emacs.ML \ |
26097
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
75 |
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
|
76 |
Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
77 |
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
|
78 |
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
|
79 |
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
|
80 |
Thy/thy_edit.ML Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML \ |
28266 | 81 |
Thy/thy_output.ML Tools/ROOT.ML Tools/invoke.ML Tools/quickcheck.ML \ |
82 |
Tools/value.ML Tools/isabelle_process.ML Tools/named_thms.ML \ |
|
83 |
Tools/xml_syntax.ML assumption.ML axclass.ML codegen.ML config.ML \ |
|
28404 | 84 |
conjunction.ML consts.ML context.ML context_position.ML conv.ML \ |
85 |
defs.ML display.ML drule.ML envir.ML facts.ML goal.ML \ |
|
86 |
interpretation.ML library.ML logic.ML meta_simplifier.ML more_thm.ML \ |
|
87 |
morphism.ML name.ML net.ML old_goals.ML pattern.ML primitive_defs.ML \ |
|
88 |
proofterm.ML pure_setup.ML pure_thy.ML search.ML sign.ML \ |
|
89 |
simplifier.ML sorts.ML subgoal.ML tactic.ML tctical.ML term.ML \ |
|
90 |
term_subst.ML theory.ML thm.ML type.ML type_infer.ML unify.ML \ |
|
91 |
variable.ML |
|
2431 | 92 |
@./mk |
93 |
||
4518 | 94 |
|
10102 | 95 |
## special targets |
96 |
||
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
97 |
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz |
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
98 |
|
27204 | 99 |
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure ProofGeneral/proof_general_keywords.ML |
28500 | 100 |
@$(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
|
101 |
|
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
102 |
|
21995 | 103 |
RAW: $(OUT)/RAW |
4518 | 104 |
|
28266 | 105 |
$(OUT)/RAW: ML-Systems/alice.ML ML-Systems/exn.ML \ |
106 |
ML-Systems/ml_name_space.ML ML-Systems/multithreading.ML \ |
|
107 |
ML-Systems/mosml.ML ML-Systems/multithreading_polyml.ML \ |
|
108 |
ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML \ |
|
109 |
ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-4.2.0.ML \ |
|
110 |
ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML \ |
|
111 |
ML-Systems/polyml_common.ML ML-Systems/polyml.ML \ |
|
112 |
ML-Systems/polyml_old_compiler4.ML \ |
|
113 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
|
114 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
115 |
ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML \ |
|
28146 | 116 |
ML-Systems/universal.ML |
3774 | 117 |
@./mk -r |
118 |
||
4518 | 119 |
|
120 |
## clean |
|
4441 | 121 |
|
122 |
clean: |
|
27204 | 123 |
@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
|
124 |
$(OUT)/RAW $(LOG)/RAW.gz |
27902 | 125 |
|
126 |
||
127 |
## Scala material |
|
128 |
||
28494 | 129 |
SCALA_FILES = General/markup.scala General/position.scala \ |
130 |
General/symbol.scala General/xml.scala General/yxml.scala \ |
|
131 |
Isar/isar.scala Thy/thy_header.scala Tools/isabelle_process.scala \ |
|
28299 | 132 |
Tools/isabelle_syntax.scala Tools/isabelle_system.scala |
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
133 |
|
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
134 |
|
27902 | 135 |
SCALA_TARGET = $(ISABELLE_HOME)/lib/classes/Pure.jar |
136 |
||
137 |
jar: $(SCALA_TARGET) |
|
138 |
||
139 |
$(SCALA_TARGET): $(SCALA_FILES) |
|
140 |
@rm -rf classes && mkdir classes |
|
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
141 |
scalac -deprecation -d classes -target jvm-1.5 $(SCALA_FILES) |
27925 | 142 |
scaladoc -d classes $(SCALA_FILES) |
28295 | 143 |
@cp $(SCALA_FILES) classes/isabelle |
27902 | 144 |
@mkdir -p `dirname $@` |
27922
ddf74e16ab01
jar target: removed jvmpath -- does not work on Linux!?
wenzelm
parents:
27920
diff
changeset
|
145 |
@cd classes; jar cf $@ isabelle |
28003 | 146 |
@rm -rf classes |
27902 | 147 |
|
148 |
clean-jar: |
|
149 |
@rm -f $(SCALA_TARGET) |