author | wenzelm |
Sun, 01 Mar 2009 16:48:06 +0100 | |
changeset 30189 | 3633f560f4c3 |
parent 30178 | 70e42a88be37 |
child 30242 | aea5d7fa7ef5 |
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 |
||
30189
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
22 |
BOOTSTRAP_FILES = ML-Systems/exn.ML ML-Systems/ml_name_space.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
23 |
ML-Systems/mosml.ML ML-Systems/multithreading.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
24 |
ML-Systems/multithreading_polyml.ML ML-Systems/overloading_smlnj.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
25 |
ML-Systems/polyml-4.1.3.ML ML-Systems/polyml-4.1.4.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
26 |
ML-Systems/polyml-4.2.0.ML ML-Systems/polyml-5.0.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
27 |
ML-Systems/polyml-5.1.ML ML-Systems/polyml-experimental.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
28 |
ML-Systems/polyml.ML ML-Systems/polyml_common.ML \ |
3633f560f4c3
discontinued experimental support for Alice -- too hard to maintain its many language incompatibilities, never really worked anyway;
wenzelm
parents:
30178
diff
changeset
|
29 |
ML-Systems/polyml_old_compiler4.ML \ |
30141 | 30 |
ML-Systems/polyml_old_compiler5.ML ML-Systems/proper_int.ML \ |
31 |
ML-Systems/smlnj.ML ML-Systems/system_shell.ML \ |
|
32 |
ML-Systems/thread_dummy.ML ML-Systems/time_limit.ML \ |
|
33 |
ML-Systems/universal.ML |
|
34 |
||
35 |
RAW: $(OUT)/RAW |
|
36 |
||
37 |
$(OUT)/RAW: $(BOOTSTRAP_FILES) |
|
38 |
@./mk -r |
|
39 |
||
40 |
||
27204 | 41 |
Pure: $(OUT)/Pure |
2431 | 42 |
|
30141 | 43 |
$(OUT)/Pure: $(BOOTSTRAP_FILES) ../Tools/auto_solve.ML \ |
44 |
../Tools/quickcheck.ML Concurrent/ROOT.ML Concurrent/future.ML \ |
|
28632 | 45 |
Concurrent/mailbox.ML Concurrent/par_list.ML \ |
29118 | 46 |
Concurrent/par_list_dummy.ML Concurrent/simple_thread.ML \ |
47 |
Concurrent/synchronized.ML Concurrent/task_queue.ML General/ROOT.ML \ |
|
48 |
General/alist.ML General/balanced_tree.ML General/basics.ML \ |
|
29449
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
49 |
General/binding.ML General/buffer.ML General/file.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
50 |
General/graph.ML General/heap.ML General/integer.ML General/lazy.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
51 |
General/markup.ML General/name_space.ML General/ord_list.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
52 |
General/output.ML General/path.ML General/position.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
53 |
General/pretty.ML General/print_mode.ML General/properties.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
54 |
General/queue.ML General/scan.ML General/secure.ML General/seq.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
55 |
General/source.ML General/stack.ML General/symbol.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
56 |
General/symbol_pos.ML General/table.ML General/url.ML General/xml.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
57 |
General/yxml.ML Isar/ROOT.ML Isar/antiquote.ML Isar/args.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
58 |
Isar/attrib.ML Isar/auto_bind.ML Isar/calculation.ML Isar/class.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
59 |
Isar/class_target.ML Isar/code.ML Isar/code_unit.ML \ |
6e7745d35a30
added outer_keyword.scala: Isar command keyword classification;
wenzelm
parents:
29360
diff
changeset
|
60 |
Isar/constdefs.ML Isar/context_rules.ML Isar/element.ML \ |
30173
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
61 |
Isar/expression.ML Isar/isar_cmd.ML Isar/isar_document.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
62 |
Isar/isar_syn.ML Isar/local_defs.ML Isar/local_syntax.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
63 |
Isar/local_theory.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
64 |
Isar/object_logic.ML Isar/obtain.ML Isar/outer_keyword.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
65 |
Isar/outer_lex.ML Isar/outer_parse.ML Isar/outer_syntax.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
66 |
Isar/overloading.ML Isar/proof.ML Isar/proof_context.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
67 |
Isar/proof_display.ML Isar/proof_node.ML Isar/rule_cases.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
68 |
Isar/rule_insts.ML Isar/skip_proof.ML Isar/spec_parse.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
69 |
Isar/specification.ML Isar/theory_target.ML Isar/toplevel.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
70 |
Isar/value_parse.ML ML/ml_antiquote.ML ML/ml_context.ML ML/ml_lex.ML \ |
30178 | 71 |
ML/ml_parse.ML ML/ml_syntax.ML ML/ml_thms.ML \ |
72 |
ML-Systems/install_pp_polyml.ML Proof/extraction.ML \ |
|
30141 | 73 |
Proof/proof_rewrite_rules.ML Proof/proof_syntax.ML \ |
74 |
Proof/proofchecker.ML Proof/reconstruct.ML ProofGeneral/ROOT.ML \ |
|
75 |
ProofGeneral/pgip.ML ProofGeneral/pgip_input.ML \ |
|
26097
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
76 |
ProofGeneral/pgip_isabelle.ML ProofGeneral/pgip_markup.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
77 |
ProofGeneral/pgip_output.ML ProofGeneral/pgip_parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
78 |
ProofGeneral/pgip_tests.ML ProofGeneral/pgip_types.ML \ |
28030 | 79 |
ProofGeneral/preferences.ML ProofGeneral/proof_general_emacs.ML \ |
26097
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
80 |
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
|
81 |
Syntax/lexicon.ML Syntax/mixfix.ML Syntax/parser.ML \ |
943582a2d1e2
removed General/system_process.ML (back to multithreaded version);
wenzelm
parents:
26077
diff
changeset
|
82 |
Syntax/printer.ML Syntax/simple_syntax.ML Syntax/syn_ext.ML \ |
30173
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
83 |
Syntax/syn_trans.ML Syntax/syntax.ML Syntax/type_ext.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
84 |
System/isabelle_process.ML System/isar.ML System/session.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
85 |
Thy/html.ML Thy/latex.ML Thy/present.ML Thy/term_style.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
86 |
Thy/thm_deps.ML Thy/thy_header.ML Thy/thy_info.ML Thy/thy_load.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
87 |
Thy/thy_output.ML Thy/thy_syntax.ML Tools/ROOT.ML \ |
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
wenzelm
parents:
30142
diff
changeset
|
88 |
Tools/find_consts.ML Tools/find_theorems.ML Tools/named_thms.ML \ |
30142
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
89 |
Tools/xml_syntax.ML assumption.ML axclass.ML codegen.ML config.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
90 |
conjunction.ML consts.ML context.ML context_position.ML conv.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
91 |
defs.ML display.ML drule.ML envir.ML facts.ML goal.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
92 |
interpretation.ML library.ML logic.ML meta_simplifier.ML more_thm.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
93 |
morphism.ML name.ML net.ML old_goals.ML old_term.ML pattern.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
94 |
primitive_defs.ML proofterm.ML pure_setup.ML pure_thy.ML search.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
95 |
sign.ML simplifier.ML sorts.ML subgoal.ML tactic.ML tctical.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
96 |
term.ML term_ord.ML term_subst.ML theory.ML thm.ML type.ML \ |
8d6145694bb5
moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;
wenzelm
parents:
30141
diff
changeset
|
97 |
type_infer.ML unify.ML variable.ML |
2431 | 98 |
@./mk |
99 |
||
4518 | 100 |
|
30141 | 101 |
## Proof General keywords |
10102 | 102 |
|
24880
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
103 |
Pure-ProofGeneral: Pure $(LOG)/Pure-ProofGeneral.gz |
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
104 |
|
27204 | 105 |
$(LOG)/Pure-ProofGeneral.gz: $(OUT)/Pure ProofGeneral/proof_general_keywords.ML |
28500 | 106 |
@$(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
|
107 |
|
c827d25b2983
added Pure-ProofGeneral target (dummy session with outer syntax keyword initialization);
wenzelm
parents:
24830
diff
changeset
|
108 |
|
4518 | 109 |
## clean |
4441 | 110 |
|
111 |
clean: |
|
30141 | 112 |
@rm -f $(OUT)/Pure $(LOG)/Pure.gz $(OUT)/RAW $(LOG)/RAW.gz \ |
113 |
$(LOG)/Pure-ProofGeneral.gz |
|
27902 | 114 |
|
115 |
||
116 |
## Scala material |
|
117 |
||
29202 | 118 |
SCALA_FILES = General/event_bus.scala General/markup.scala \ |
119 |
General/position.scala General/swing.scala General/symbol.scala \ |
|
120 |
General/xml.scala General/yxml.scala Isar/isar.scala \ |
|
29553 | 121 |
Isar/isar_document.scala Isar/outer_keyword.scala \ |
30174 | 122 |
System/isabelle_process.scala System/isabelle_system.scala \ |
123 |
Thy/thy_header.scala Tools/isabelle_syntax.scala |
|
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
124 |
|
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
125 |
|
27902 | 126 |
SCALA_TARGET = $(ISABELLE_HOME)/lib/classes/Pure.jar |
127 |
||
128 |
jar: $(SCALA_TARGET) |
|
129 |
||
130 |
$(SCALA_TARGET): $(SCALA_FILES) |
|
131 |
@rm -rf classes && mkdir classes |
|
27950
dbb93a5e6e6a
added Tools/isabelle_process.scala, Tools/isabelle_syntax.scala;
wenzelm
parents:
27929
diff
changeset
|
132 |
scalac -deprecation -d classes -target jvm-1.5 $(SCALA_FILES) |
27925 | 133 |
scaladoc -d classes $(SCALA_FILES) |
28295 | 134 |
@cp $(SCALA_FILES) classes/isabelle |
27902 | 135 |
@mkdir -p `dirname $@` |
27922
ddf74e16ab01
jar target: removed jvmpath -- does not work on Linux!?
wenzelm
parents:
27920
diff
changeset
|
136 |
@cd classes; jar cf $@ isabelle |
28003 | 137 |
@rm -rf classes |
27902 | 138 |
|
139 |
clean-jar: |
|
140 |
@rm -f $(SCALA_TARGET) |