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