src/HOLCF/IsaMakefile
author huffman
Thu Feb 18 12:36:09 2010 -0800 (2010-02-18)
changeset 35214 67689d276c70
parent 35167 eba22d68a0a7
child 35473 c4d3d65856dd
permissions -rw-r--r--
HOLCF-FOCUS depends on ex/Stream.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
huffman@35214
   116
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF \
huffman@35214
   117
  ex/Stream.thy \
huffman@35214
   118
  FOCUS/Fstreams.thy \
huffman@19759
   119
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@19759
   120
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
huffman@19759
   121
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
wenzelm@28500
   122
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
   123
wenzelm@4518
   124
## IOA
wenzelm@4518
   125
wenzelm@4518
   126
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
   127
wenzelm@19741
   128
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
   129
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
   130
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
   131
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
   132
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
   133
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
   134
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
   135
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
   136
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
   137
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
haftmann@31773
   138
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/automaton.ML
wenzelm@28500
   139
	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   140
mueller@3081
   141
wenzelm@4518
   142
## IOA-ABP
wenzelm@4518
   143
wenzelm@4518
   144
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   145
wenzelm@4518
   146
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   147
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   148
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   149
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   150
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   151
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   152
  IOA/ABP/Spec.thy
wenzelm@28500
   153
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
mueller@3081
   154
wenzelm@4518
   155
## IOA-NTP
wenzelm@4518
   156
wenzelm@4518
   157
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   158
wenzelm@19739
   159
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   160
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   161
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   162
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   163
  IOA/NTP/Spec.thy
wenzelm@28500
   164
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
mueller@3081
   165
wenzelm@3951
   166
mueller@6475
   167
## IOA-Modelcheck
mueller@6475
   168
mueller@6475
   169
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   170
wenzelm@19764
   171
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
wenzelm@22819
   172
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
wenzelm@22819
   173
  IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
wenzelm@28500
   174
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   175
mueller@6475
   176
wenzelm@6010
   177
## IOA-Storage
wenzelm@6010
   178
wenzelm@6010
   179
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   180
wenzelm@19740
   181
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   182
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   183
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@28500
   184
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   185
wenzelm@6010
   186
mueller@6475
   187
## IOA-ex
mueller@6475
   188
mueller@6475
   189
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   190
wenzelm@19740
   191
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
wenzelm@28500
   192
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
mueller@6475
   193
mueller@6475
   194
wenzelm@4518
   195
## clean
wenzelm@4447
   196
wenzelm@4447
   197
clean:
wenzelm@33450
   198
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
wenzelm@33450
   199
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
wenzelm@33450
   200
	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
wenzelm@33450
   201
	  $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz	\
wenzelm@33450
   202
	  $(LOG)/IOA-ex.gz