src/HOLCF/IsaMakefile
author wenzelm
Sat Oct 04 16:05:09 2008 +0200 (2008-10-04)
changeset 28500 4b79e5d3d0aa
parent 27420 aa335405f0c5
child 29130 685c9e05a6ab
permissions -rw-r--r--
replaced ISATOOL by ISABELLE_TOOL;
wenzelm@2494
     1
#
wenzelm@2494
     2
# $Id$
wenzelm@2494
     3
#
wenzelm@2494
     4
# IsaMakefile for HOLCF
wenzelm@2494
     5
#
wenzelm@2494
     6
wenzelm@4518
     7
## targets
wenzelm@2494
     8
wenzelm@4518
     9
default: HOLCF
wenzelm@4518
    10
images: HOLCF IOA
oheimb@11350
    11
test: HOLCF-IMP HOLCF-ex HOLCF-FOCUS \
oheimb@11350
    12
      IOA-ABP IOA-NTP IOA-Modelcheck IOA-Storage IOA-ex
wenzelm@4518
    13
all: images test
wenzelm@4518
    14
wenzelm@4518
    15
wenzelm@4518
    16
## global settings
wenzelm@4518
    17
wenzelm@4518
    18
SRC = $(ISABELLE_HOME)/src
wenzelm@3118
    19
OUT = $(ISABELLE_OUTPUT)
wenzelm@4447
    20
LOG = $(OUT)/log
wenzelm@2494
    21
wenzelm@4518
    22
wenzelm@4518
    23
## HOLCF
wenzelm@4518
    24
wenzelm@4518
    25
HOLCF: HOL $(OUT)/HOLCF
wenzelm@4518
    26
wenzelm@4518
    27
HOL:
wenzelm@28500
    28
	@cd $(SRC)/HOL; $(ISABELLE_TOOL) make HOL
wenzelm@2494
    29
huffman@27420
    30
$(OUT)/HOLCF: $(OUT)/HOL \
huffman@27420
    31
  ROOT.ML \
huffman@27420
    32
  Adm.thy \
huffman@27420
    33
  Algebraic.thy \
huffman@27420
    34
  Bifinite.thy \
huffman@27420
    35
  Cfun.thy \
huffman@27420
    36
  CompactBasis.thy \
huffman@27420
    37
  Completion.thy \
huffman@27420
    38
  Cont.thy \
huffman@27420
    39
  ConvexPD.thy \
huffman@27420
    40
  Cprod.thy \
huffman@27420
    41
  Discrete.thy \
huffman@27420
    42
  Deflation.thy \
huffman@27420
    43
  Domain.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
  NatIso.thy \
huffman@27420
    52
  One.thy \
huffman@27420
    53
  Pcpodef.thy \
huffman@27420
    54
  Pcpo.thy \
huffman@27420
    55
  Porder.thy \
huffman@27420
    56
  Sprod.thy \
huffman@27420
    57
  Ssum.thy \
huffman@27420
    58
  Tr.thy \
huffman@27420
    59
  Universal.thy \
huffman@27420
    60
  UpperPD.thy \
huffman@27420
    61
  Up.thy \
huffman@27420
    62
  Tools/adm_tac.ML \
huffman@27420
    63
  Tools/cont_consts.ML \
huffman@27420
    64
  Tools/cont_proc.ML \
huffman@27420
    65
  Tools/domain/domain_extender.ML \
huffman@27420
    66
  Tools/domain/domain_axioms.ML \
huffman@27420
    67
  Tools/domain/domain_library.ML \
huffman@27420
    68
  Tools/domain/domain_syntax.ML \
huffman@27420
    69
  Tools/domain/domain_theorems.ML \
huffman@27420
    70
  Tools/fixrec_package.ML \
huffman@27420
    71
  Tools/pcpodef_package.ML \
huffman@27420
    72
  holcf_logic.ML \
huffman@27420
    73
  document/root.tex
wenzelm@28500
    74
	@$(ISABELLE_TOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
wenzelm@2494
    75
wenzelm@4518
    76
wenzelm@4518
    77
## HOLCF-IMP
wenzelm@2494
    78
wenzelm@4518
    79
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
wenzelm@4518
    80
kleing@12433
    81
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
wenzelm@12599
    82
  IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
wenzelm@28500
    83
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
wenzelm@2494
    84
wenzelm@2494
    85
wenzelm@4518
    86
## HOLCF-ex
wenzelm@4518
    87
wenzelm@4518
    88
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
wenzelm@2494
    89
nipkow@25161
    90
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF ex/Stream.thy ex/Dagstuhl.thy \
wenzelm@19742
    91
  ex/Dnat.thy ex/Fix2.thy ex/Focus_ex.thy ex/Hoare.thy ex/Loop.thy \
wenzelm@19742
    92
  ex/ROOT.ML ex/Fixrec_ex.thy ../HOL/Library/Nat_Infinity.thy
wenzelm@28500
    93
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
mueller@3081
    94
mueller@3081
    95
oheimb@11350
    96
## HOLCF-FOCUS
oheimb@11350
    97
oheimb@11350
    98
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
    99
oheimb@15188
   100
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
huffman@19759
   101
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@19759
   102
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
huffman@19759
   103
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
wenzelm@28500
   104
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
   105
wenzelm@4518
   106
## IOA
wenzelm@4518
   107
wenzelm@4518
   108
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
   109
wenzelm@19741
   110
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
   111
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
   112
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
   113
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
   114
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
   115
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
   116
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
   117
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
   118
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
   119
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
wenzelm@19741
   120
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/ioa_package.ML
wenzelm@28500
   121
	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   122
mueller@3081
   123
wenzelm@4518
   124
## IOA-ABP
wenzelm@4518
   125
wenzelm@4518
   126
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   127
wenzelm@4518
   128
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   129
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   130
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   131
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   132
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   133
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   134
  IOA/ABP/Spec.thy
wenzelm@28500
   135
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
mueller@3081
   136
wenzelm@4518
   137
## IOA-NTP
wenzelm@4518
   138
wenzelm@4518
   139
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   140
wenzelm@19739
   141
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   142
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   143
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   144
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   145
  IOA/NTP/Spec.thy
wenzelm@28500
   146
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
mueller@3081
   147
wenzelm@3951
   148
mueller@6475
   149
## IOA-Modelcheck
mueller@6475
   150
mueller@6475
   151
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   152
wenzelm@19764
   153
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
wenzelm@22819
   154
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
wenzelm@22819
   155
  IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
wenzelm@28500
   156
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   157
mueller@6475
   158
wenzelm@6010
   159
## IOA-Storage
wenzelm@6010
   160
wenzelm@6010
   161
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   162
wenzelm@19740
   163
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   164
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   165
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@28500
   166
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   167
wenzelm@6010
   168
mueller@6475
   169
## IOA-ex
mueller@6475
   170
mueller@6475
   171
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   172
wenzelm@19740
   173
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
wenzelm@28500
   174
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
mueller@6475
   175
mueller@6475
   176
wenzelm@4518
   177
## clean
wenzelm@4447
   178
wenzelm@4447
   179
clean:
wenzelm@4518
   180
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
oheimb@11350
   181
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
oheimb@11350
   182
          $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
mueller@6475
   183
	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz