src/HOLCF/IsaMakefile
author paulson
Fri, 05 Oct 2007 09:59:03 +0200
changeset 24854 0ebcd575d3c6
parent 23152 9497234a2743
child 25161 aa8474398030
permissions -rw-r--r--
filtering out some package theorems
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     1
#
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     2
# $Id$
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     3
#
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     4
# IsaMakefile for HOLCF
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     5
#
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     6
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     7
## targets
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
     8
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
     9
default: HOLCF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    10
images: HOLCF IOA
11350
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    11
test: HOLCF-IMP HOLCF-ex HOLCF-FOCUS \
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    12
      IOA-ABP IOA-NTP IOA-Modelcheck IOA-Storage IOA-ex
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    13
all: images test
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    14
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    15
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    16
## global settings
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    17
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    18
SRC = $(ISABELLE_HOME)/src
3118
24dae6222579 fixed ISABELLE_OUTPUT, ISABELLE_PATH (finally?);
wenzelm
parents: 3081
diff changeset
    19
OUT = $(ISABELLE_OUTPUT)
4447
b7ee449eb345 log files;
wenzelm
parents: 4129
diff changeset
    20
LOG = $(OUT)/log
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    21
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    22
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    23
## HOLCF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    24
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    25
HOLCF: HOL $(OUT)/HOLCF
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    26
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    27
HOL:
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    28
	@cd $(SRC)/HOL; $(ISATOOL) make HOL
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    29
23152
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    30
$(OUT)/HOLCF: $(OUT)/HOL Adm.thy Cfun.thy Cont.thy Cprod.thy			\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    31
  Discrete.thy Domain.thy Ffun.thy Fix.thy Fixrec.thy HOLCF.thy Lift.thy	\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    32
  One.thy Pcpo.thy Pcpodef.thy Porder.thy ROOT.ML Sprod.thy Ssum.thy		\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    33
  Tools/adm_tac.ML Tools/cont_consts.ML Tools/cont_proc.ML			\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    34
  Tools/domain/domain_extender.ML Tools/domain/domain_axioms.ML			\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    35
  Tools/domain/domain_library.ML Tools/domain/domain_syntax.ML			\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    36
  Tools/domain/domain_theorems.ML Tools/fixrec_package.ML			\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    37
  Tools/pcpodef_package.ML Tr.thy Up.thy document/root.tex ex/Stream.thy	\
9497234a2743 moved HOLCF tools to canonical place;
wenzelm
parents: 22819
diff changeset
    38
  holcf_logic.ML
15586
f7f812034707 Added dependency document/root.tex, and -g true option to isatool; document generation should work now.
huffman
parents: 15576
diff changeset
    39
	@$(ISATOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    40
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    41
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    42
## HOLCF-IMP
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    43
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    44
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    45
12433
654acbf26fcc HOLCF/IMP converted to Isar
kleing
parents: 12035
diff changeset
    46
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
12599
8bc47cf91bf6 IMP/document/root.tex;
wenzelm
parents: 12433
diff changeset
    47
  IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    48
	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    49
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    50
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    51
## HOLCF-ex
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    52
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    53
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
2494
5d45c2094ff6 IsaMakefile for HOLCF;
wenzelm
parents:
diff changeset
    54
19742
86f21beabafc removed legacy ML scripts;
wenzelm
parents: 19741
diff changeset
    55
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF ex/Dagstuhl.thy \
86f21beabafc removed legacy ML scripts;
wenzelm
parents: 19741
diff changeset
    56
  ex/Dnat.thy ex/Fix2.thy ex/Focus_ex.thy ex/Hoare.thy ex/Loop.thy \
86f21beabafc removed legacy ML scripts;
wenzelm
parents: 19741
diff changeset
    57
  ex/ROOT.ML ex/Fixrec_ex.thy ../HOL/Library/Nat_Infinity.thy
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    58
	@$(ISATOOL) usedir $(OUT)/HOLCF ex
3081
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
    59
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
    60
11350
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    61
## HOLCF-FOCUS
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    62
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    63
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    64
15188
9d57263faf9e integrated Streams with ex/Stream.*; added FOCUS/Fstreams.thy
oheimb
parents: 14535
diff changeset
    65
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
19759
2d0896653e7a removed legacy ML scripts
huffman
parents: 19742
diff changeset
    66
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
2d0896653e7a removed legacy ML scripts
huffman
parents: 19742
diff changeset
    67
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
2d0896653e7a removed legacy ML scripts
huffman
parents: 19742
diff changeset
    68
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
11350
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    69
	@$(ISATOOL) usedir $(OUT)/HOLCF FOCUS
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
    70
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    71
## IOA
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    72
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    73
IOA: HOLCF $(OUT)/IOA
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    74
19741
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    75
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    76
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    77
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    78
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    79
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    80
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    81
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    82
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    83
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    84
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
f65265d71426 removed legacy ML scripts;
wenzelm
parents: 19740
diff changeset
    85
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/ioa_package.ML
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    86
	@cd IOA; $(ISATOOL) usedir -b $(OUT)/HOLCF IOA
3081
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
    87
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
    88
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    89
## IOA-ABP
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    90
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    91
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
3081
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
    92
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    93
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
8602
f077613e8e7b mods because of weak_case_cong -> removed Action.ML twice
nipkow
parents: 6475
diff changeset
    94
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
19738
1ac610922636 removed legacy ML scripts;
wenzelm
parents: 19550
diff changeset
    95
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    96
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
19738
1ac610922636 removed legacy ML scripts;
wenzelm
parents: 19550
diff changeset
    97
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    98
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
    99
  IOA/ABP/Spec.thy
3081
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
   100
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ABP
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
   101
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   102
## IOA-NTP
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   103
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   104
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   105
19739
c58ef2aa5430 removed legacy ML scripts;
wenzelm
parents: 19738
diff changeset
   106
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
c58ef2aa5430 removed legacy ML scripts;
wenzelm
parents: 19738
diff changeset
   107
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
c58ef2aa5430 removed legacy ML scripts;
wenzelm
parents: 19738
diff changeset
   108
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
c58ef2aa5430 removed legacy ML scripts;
wenzelm
parents: 19738
diff changeset
   109
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   110
  IOA/NTP/Spec.thy
3081
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
   111
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA NTP
71c54eb8ed1d added IOA (meta theory and ABP, NTP examples);
mueller
parents: 3057
diff changeset
   112
3951
d52a49a7d8f3 removed Dlist;
wenzelm
parents: 3921
diff changeset
   113
6475
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   114
## IOA-Modelcheck
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   115
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   116
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   117
19764
372065f34795 removed obsolete ML files;
wenzelm
parents: 19759
diff changeset
   118
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
22819
a7b425bb668c removed legacy ML files;
wenzelm
parents: 20775
diff changeset
   119
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
a7b425bb668c removed legacy ML files;
wenzelm
parents: 20775
diff changeset
   120
  IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
6475
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   121
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Modelcheck
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   122
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   123
6010
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   124
## IOA-Storage
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   125
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   126
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   127
19740
6b38551d0798 removed legacy ML scripts;
wenzelm
parents: 19739
diff changeset
   128
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
17238
b1cf9189104e removed IOA/Storage/Impl.ML, IOA/Storage/Action.ML;
wenzelm
parents: 16698
diff changeset
   129
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
6011
wenzelm
parents: 6010
diff changeset
   130
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
6010
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   131
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Storage
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   132
fc58d3c1fd62 IOA-Storage: Memory storage case study.
wenzelm
parents: 4566
diff changeset
   133
6475
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   134
## IOA-ex
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   135
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   136
IOA-ex: IOA $(LOG)/IOA-ex.gz
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   137
19740
6b38551d0798 removed legacy ML scripts;
wenzelm
parents: 19739
diff changeset
   138
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
6475
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   139
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ex
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   140
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   141
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   142
## clean
4447
b7ee449eb345 log files;
wenzelm
parents: 4129
diff changeset
   143
b7ee449eb345 log files;
wenzelm
parents: 4129
diff changeset
   144
clean:
4518
74c01296e818 improved targets;
wenzelm
parents: 4447
diff changeset
   145
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
11350
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
   146
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
4c55b020d6ee added FOCUS including the One-Element Buffer by Manfred Broy
oheimb
parents: 8602
diff changeset
   147
          $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
6475
19e005e2f58d added ex and Modelcheck
mueller
parents: 6213
diff changeset
   148
	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz