src/HOLCF/IsaMakefile
author huffman
Wed Feb 17 08:05:16 2010 -0800 (2010-02-17)
changeset 35167 eba22d68a0a7
parent 33813 0bc8d4f786bd
child 35214 67689d276c70
permissions -rw-r--r--
add theory HOLCF/ex/Strict_Fun.thy
wenzelm@2494
     1
#
wenzelm@2494
     2
# IsaMakefile for HOLCF
wenzelm@2494
     3
#
wenzelm@2494
     4
wenzelm@4518
     5
## targets
wenzelm@2494
     6
wenzelm@4518
     7
default: HOLCF
wenzelm@4518
     8
images: HOLCF IOA
oheimb@11350
     9
test: HOLCF-IMP HOLCF-ex HOLCF-FOCUS \
oheimb@11350
    10
      IOA-ABP IOA-NTP IOA-Modelcheck IOA-Storage IOA-ex
wenzelm@4518
    11
all: images test
wenzelm@4518
    12
wenzelm@4518
    13
wenzelm@4518
    14
## global settings
wenzelm@4518
    15
wenzelm@4518
    16
SRC = $(ISABELLE_HOME)/src
wenzelm@3118
    17
OUT = $(ISABELLE_OUTPUT)
wenzelm@4447
    18
LOG = $(OUT)/log
wenzelm@2494
    19
wenzelm@4518
    20
wenzelm@4518
    21
## HOLCF
wenzelm@4518
    22
wenzelm@4518
    23
HOLCF: HOL $(OUT)/HOLCF
wenzelm@4518
    24
wenzelm@4518
    25
HOL:
wenzelm@28500
    26
	@cd $(SRC)/HOL; $(ISABELLE_TOOL) make HOL
wenzelm@2494
    27
huffman@27420
    28
$(OUT)/HOLCF: $(OUT)/HOL \
huffman@27420
    29
  ROOT.ML \
huffman@27420
    30
  Adm.thy \
huffman@27420
    31
  Algebraic.thy \
huffman@27420
    32
  Bifinite.thy \
huffman@27420
    33
  Cfun.thy \
huffman@27420
    34
  CompactBasis.thy \
huffman@27420
    35
  Completion.thy \
huffman@27420
    36
  Cont.thy \
huffman@27420
    37
  ConvexPD.thy \
huffman@27420
    38
  Cprod.thy \
huffman@27420
    39
  Discrete.thy \
huffman@27420
    40
  Deflation.thy \
huffman@27420
    41
  Domain.thy \
huffman@27420
    42
  Eventual.thy \
huffman@27420
    43
  Ffun.thy \
huffman@27420
    44
  Fixrec.thy \
huffman@27420
    45
  Fix.thy \
huffman@27420
    46
  HOLCF.thy \
huffman@27420
    47
  Lift.thy \
huffman@27420
    48
  LowerPD.thy \
huffman@27420
    49
  NatIso.thy \
huffman@27420
    50
  One.thy \
huffman@27420
    51
  Pcpodef.thy \
huffman@27420
    52
  Pcpo.thy \
huffman@27420
    53
  Porder.thy \
huffman@29530
    54
  Product_Cpo.thy \
huffman@33783
    55
  Representable.thy \
huffman@27420
    56
  Sprod.thy \
huffman@27420
    57
  Ssum.thy \
huffman@29534
    58
  Sum_Cpo.thy \
huffman@27420
    59
  Tr.thy \
huffman@27420
    60
  Universal.thy \
huffman@27420
    61
  UpperPD.thy \
huffman@27420
    62
  Up.thy \
huffman@27420
    63
  Tools/adm_tac.ML \
huffman@27420
    64
  Tools/cont_consts.ML \
huffman@27420
    65
  Tools/cont_proc.ML \
haftmann@32126
    66
  Tools/Domain/domain_extender.ML \
haftmann@32126
    67
  Tools/Domain/domain_axioms.ML \
huffman@33795
    68
  Tools/Domain/domain_isomorphism.ML \
haftmann@32126
    69
  Tools/Domain/domain_library.ML \
haftmann@32126
    70
  Tools/Domain/domain_syntax.ML \
haftmann@32126
    71
  Tools/Domain/domain_theorems.ML \
haftmann@31738
    72
  Tools/fixrec.ML \
haftmann@31738
    73
  Tools/pcpodef.ML \
huffman@33783
    74
  Tools/repdef.ML \
huffman@27420
    75
  holcf_logic.ML \
huffman@27420
    76
  document/root.tex
wenzelm@28500
    77
	@$(ISABELLE_TOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
wenzelm@2494
    78
wenzelm@4518
    79
wenzelm@4518
    80
## HOLCF-IMP
wenzelm@2494
    81
wenzelm@4518
    82
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
wenzelm@4518
    83
kleing@12433
    84
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
wenzelm@12599
    85
  IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
wenzelm@28500
    86
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
wenzelm@2494
    87
wenzelm@2494
    88
wenzelm@4518
    89
## HOLCF-ex
wenzelm@4518
    90
wenzelm@4518
    91
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
wenzelm@2494
    92
huffman@30920
    93
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
huffman@30920
    94
  ../HOL/Library/Nat_Infinity.thy \
huffman@30920
    95
  ex/Dagstuhl.thy \
huffman@30920
    96
  ex/Dnat.thy \
huffman@30920
    97
  ex/Domain_ex.thy \
huffman@35167
    98
  ex/Domain_Proofs.thy \
huffman@30920
    99
  ex/Fix2.thy \
huffman@30920
   100
  ex/Fixrec_ex.thy \
huffman@30920
   101
  ex/Focus_ex.thy \
huffman@30920
   102
  ex/Hoare.thy \
huffman@30920
   103
  ex/Loop.thy \
huffman@33813
   104
  ex/New_Domain.thy \
huffman@29992
   105
  ex/Powerdomain_ex.thy \
huffman@30920
   106
  ex/Stream.thy \
huffman@35167
   107
  ex/Strict_Fun.thy \
huffman@30920
   108
  ex/ROOT.ML
wenzelm@28500
   109
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
mueller@3081
   110
mueller@3081
   111
oheimb@11350
   112
## HOLCF-FOCUS
oheimb@11350
   113
oheimb@11350
   114
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
   115
oheimb@15188
   116
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
huffman@19759
   117
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@19759
   118
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
huffman@19759
   119
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
wenzelm@28500
   120
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
   121
wenzelm@4518
   122
## IOA
wenzelm@4518
   123
wenzelm@4518
   124
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
   125
wenzelm@19741
   126
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
   127
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
   128
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
   129
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
   130
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
   131
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
   132
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
   133
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
   134
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
   135
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
haftmann@31773
   136
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/automaton.ML
wenzelm@28500
   137
	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   138
mueller@3081
   139
wenzelm@4518
   140
## IOA-ABP
wenzelm@4518
   141
wenzelm@4518
   142
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   143
wenzelm@4518
   144
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   145
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   146
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   147
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   148
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   149
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   150
  IOA/ABP/Spec.thy
wenzelm@28500
   151
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
mueller@3081
   152
wenzelm@4518
   153
## IOA-NTP
wenzelm@4518
   154
wenzelm@4518
   155
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   156
wenzelm@19739
   157
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   158
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   159
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   160
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   161
  IOA/NTP/Spec.thy
wenzelm@28500
   162
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
mueller@3081
   163
wenzelm@3951
   164
mueller@6475
   165
## IOA-Modelcheck
mueller@6475
   166
mueller@6475
   167
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   168
wenzelm@19764
   169
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
wenzelm@22819
   170
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
wenzelm@22819
   171
  IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
wenzelm@28500
   172
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   173
mueller@6475
   174
wenzelm@6010
   175
## IOA-Storage
wenzelm@6010
   176
wenzelm@6010
   177
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   178
wenzelm@19740
   179
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   180
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   181
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@28500
   182
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   183
wenzelm@6010
   184
mueller@6475
   185
## IOA-ex
mueller@6475
   186
mueller@6475
   187
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   188
wenzelm@19740
   189
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
wenzelm@28500
   190
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
mueller@6475
   191
mueller@6475
   192
wenzelm@4518
   193
## clean
wenzelm@4447
   194
wenzelm@4447
   195
clean:
wenzelm@33450
   196
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
wenzelm@33450
   197
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
wenzelm@33450
   198
	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
wenzelm@33450
   199
	  $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz	\
wenzelm@33450
   200
	  $(LOG)/IOA-ex.gz