author | wenzelm |
Fri, 02 Jan 2009 16:21:47 +0100 | |
changeset 29315 | b074c05f00ad |
parent 29308 | ddf7fad4448c |
child 29339 | d8df32ab1172 |
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 \ |
|
29118 | 26 |
Concurrent/par_list_dummy.ML Concurrent/simple_thread.ML \ |
27 |
Concurrent/synchronized.ML Concurrent/task_queue.ML General/ROOT.ML \ |
|
28 |
General/alist.ML General/balanced_tree.ML General/basics.ML \ |
|
29 |
General/buffer.ML General/file.ML General/graph.ML General/heap.ML \ |
|
30 |
General/integer.ML General/lazy.ML General/markup.ML \ |
|
31 |
General/name_space.ML General/ord_list.ML General/output.ML \ |
|
32 |
General/path.ML General/position.ML General/pretty.ML \ |
|
33 |
General/print_mode.ML General/properties.ML General/queue.ML \ |
|
34 |
General/scan.ML General/secure.ML General/seq.ML General/source.ML \ |
|
35 |
General/stack.ML General/symbol.ML General/symbol_pos.ML \ |
|
36 |
General/table.ML General/url.ML General/xml.ML General/yxml.ML \ |
|
37 |
Isar/ROOT.ML Isar/antiquote.ML Isar/args.ML Isar/attrib.ML \ |
|
38 |
Isar/auto_bind.ML Isar/calculation.ML Isar/class.ML Isar/code.ML \ |
|
39 |
Isar/code_unit.ML Isar/constdefs.ML Isar/context_rules.ML \ |
|
40 |
Isar/element.ML Isar/expression.ML Isar/find_theorems.ML \ |
|
41 |
Isar/instance.ML Isar/isar.ML Isar/isar_cmd.ML Isar/isar_syn.ML \ |
|
42 |
Isar/local_defs.ML Isar/local_syntax.ML Isar/local_theory.ML \ |
|
43 |
Isar/locale.ML Isar/method.ML Isar/net_rules.ML Isar/new_locale.ML \ |
|
28673
d746a8c12c43
renamed structure Susp to Lazy, and Susp.delay to Lazy.lazy;
wenzelm
parents:
28632
diff
changeset
|
44 |
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
|
45 |
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
|
46 |
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
|
47 |
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
|
48 |
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
|
49 |
Isar/spec_parse.ML Isar/specification.ML Isar/subclass.ML \ |
29308
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
50 |
Isar/theory_target.ML Isar/toplevel.ML Isar/value_parse.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
51 |
ML-Systems/alice.ML ML-Systems/exn.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
52 |
ML-Systems/install_pp_polyml.ML ML-Systems/ml_name_space.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
53 |
ML-Systems/multithreading.ML ML-Systems/mosml.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
54 |
ML-Systems/multithreading_polyml.ML ML-Systems/overloading_smlnj.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
55 |
ML-Systems/polyml-4.1.3.ML ML-Systems/polyml-4.1.4.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
56 |
ML-Systems/polyml-4.2.0.ML ML-Systems/polyml-5.0.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
57 |
ML-Systems/polyml-5.1.ML ML-Systems/polyml_common.ML \ |
ddf7fad4448c
added Isar/value_parse.ML: Outer syntax parsers for basic ML values.
wenzelm
parents:
29269
diff
changeset
|
58 |
ML-Systems/polyml.ML ML-Systems/polyml_old_compiler4.ML \ |
27204 | 59 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
60 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
28146 | 61 |
ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML \ |
62 |
ML-Systems/universal.ML ML/ml_context.ML ML/ml_antiquote.ML \ |
|
63 |
ML/ml_lex.ML ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML \ |
|
64 |
Proof/extraction.ML Proof/proof_rewrite_rules.ML \ |
|
27339 | 65 |
Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML \ |
66 |
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
|
67 |
ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
68 |
ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
69 |
ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML \ |
28030 | 70 |
ProofGeneral/preferences.ML ProofGeneral/proof_general_emacs.ML \ |
26097
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
71 |
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
|
72 |
Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
73 |
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
|
74 |
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
|
75 |
Thy/latex.ML Thy/present.ML Thy/term_style.ML Thy/thm_deps.ML \ |
29315
b074c05f00ad
renamed ThyEdit (in thy_edit.ML) to ThySyntax (in thy_syntax.ML);
wenzelm
parents:
29308
diff
changeset
|
76 |
Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML Thy/thy_output.ML \ |
b074c05f00ad
renamed ThyEdit (in thy_edit.ML) to ThySyntax (in thy_syntax.ML);
wenzelm
parents:
29308
diff
changeset
|
77 |
Thy/thy_syntax.ML Tools/ROOT.ML Tools/invoke.ML \ |
29118 | 78 |
Tools/isabelle_process.ML Tools/named_thms.ML Tools/xml_syntax.ML \ |
79 |
assumption.ML axclass.ML codegen.ML config.ML conjunction.ML \ |
|
80 |
consts.ML context.ML context_position.ML conv.ML defs.ML display.ML \ |
|
81 |
drule.ML envir.ML facts.ML goal.ML interpretation.ML library.ML \ |
|
82 |
logic.ML meta_simplifier.ML more_thm.ML morphism.ML name.ML net.ML \ |
|
29263 | 83 |
old_goals.ML old_term.ML pattern.ML primitive_defs.ML proofterm.ML \ |
84 |
pure_setup.ML pure_thy.ML search.ML sign.ML simplifier.ML sorts.ML \ |
|
29269
5c25a2012975
moved term order operations to structure TermOrd (cf. Pure/term_ord.ML);
wenzelm
parents:
29263
diff
changeset
|
85 |
subgoal.ML tactic.ML tctical.ML term.ML term_ord.ML term_subst.ML \ |
5c25a2012975
moved term order operations to structure TermOrd (cf. Pure/term_ord.ML);
wenzelm
parents:
29263
diff
changeset
|
86 |
theory.ML thm.ML type.ML type_infer.ML unify.ML variable.ML \ |
29263 | 87 |
../Tools/quickcheck.ML |
2431 | 88 |
@./mk |
89 |
||
4518 | 90 |
|
10102 | 91 |
## special targets |
92 |
||
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
93 |
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz |
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
94 |
|
27204 | 95 |
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure ProofGeneral/proof_general_keywords.ML |
28500 | 96 |
@$(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
|
97 |
|
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
98 |
|
21995 | 99 |
RAW: $(OUT)/RAW |
4518 | 100 |
|
28266 | 101 |
$(OUT)/RAW: ML-Systems/alice.ML ML-Systems/exn.ML \ |
102 |
ML-Systems/ml_name_space.ML ML-Systems/multithreading.ML \ |
|
103 |
ML-Systems/mosml.ML ML-Systems/multithreading_polyml.ML \ |
|
104 |
ML-Systems/overloading_smlnj.ML ML-Systems/polyml-4.1.3.ML \ |
|
105 |
ML-Systems/polyml-4.1.4.ML ML-Systems/polyml-4.2.0.ML \ |
|
106 |
ML-Systems/polyml-5.0.ML ML-Systems/polyml-5.1.ML \ |
|
107 |
ML-Systems/polyml_common.ML ML-Systems/polyml.ML \ |
|
108 |
ML-Systems/polyml_old_compiler4.ML \ |
|
109 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
|
110 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
111 |
ML-Systems/time_limit.ML ML-Systems/thread_dummy.ML \ |
|
28146 | 112 |
ML-Systems/universal.ML |
3774 | 113 |
@./mk -r |
114 |
||
4518 | 115 |
|
116 |
## clean |
|
4441 | 117 |
|
118 |
clean: |
|
27204 | 119 |
@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
|
120 |
$(OUT)/RAW $(LOG)/RAW.gz |
27902 | 121 |
|
122 |
||
123 |
## Scala material |
|
124 |
||
29202 | 125 |
SCALA_FILES = General/event_bus.scala General/markup.scala \ |
126 |
General/position.scala General/swing.scala General/symbol.scala \ |
|
127 |
General/xml.scala General/yxml.scala Isar/isar.scala \ |
|
128 |
Thy/thy_header.scala Tools/isabelle_process.scala \ |
|
129 |
Tools/isabelle_syntax.scala Tools/isabelle_system.scala |
|
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
130 |
|
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
131 |
|
27902 | 132 |
SCALA_TARGET = $(ISABELLE_HOME)/lib/classes/Pure.jar |
133 |
||
134 |
jar: $(SCALA_TARGET) |
|
135 |
||
136 |
$(SCALA_TARGET): $(SCALA_FILES) |
|
137 |
@rm -rf classes && mkdir classes |
|
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
138 |
scalac -deprecation -d classes -target jvm-1.5 $(SCALA_FILES) |
27925 | 139 |
scaladoc -d classes $(SCALA_FILES) |
28295 | 140 |
@cp $(SCALA_FILES) classes/isabelle |
27902 | 141 |
@mkdir -p `dirname $@` |
27922
ddf74e16ab01
jar target: removed jvmpath -- does not work on Linux!?
wenzelm
parents:
27920
diff
changeset
|
142 |
@cd classes; jar cf $@ isabelle |
28003 | 143 |
@rm -rf classes |
27902 | 144 |
|
145 |
clean-jar: |
|
146 |
@rm -f $(SCALA_TARGET) |