src/HOLCF/IsaMakefile
author wenzelm
Thu Nov 05 16:23:51 2009 +0100 (2009-11-05)
changeset 33450 4389ec600ba7
parent 32126 a5042f260440
child 33783 685bbf418cb7
permissions -rw-r--r--
more accurate cleanup;
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@27420
    55
  Sprod.thy \
huffman@27420
    56
  Ssum.thy \
huffman@29534
    57
  Sum_Cpo.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 \
haftmann@32126
    65
  Tools/Domain/domain_extender.ML \
haftmann@32126
    66
  Tools/Domain/domain_axioms.ML \
haftmann@32126
    67
  Tools/Domain/domain_library.ML \
haftmann@32126
    68
  Tools/Domain/domain_syntax.ML \
haftmann@32126
    69
  Tools/Domain/domain_theorems.ML \
haftmann@31738
    70
  Tools/fixrec.ML \
haftmann@31738
    71
  Tools/pcpodef.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
huffman@30920
    90
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
huffman@30920
    91
  ../HOL/Library/Nat_Infinity.thy \
huffman@30920
    92
  ex/Dagstuhl.thy \
huffman@30920
    93
  ex/Dnat.thy \
huffman@30920
    94
  ex/Domain_ex.thy \
huffman@30920
    95
  ex/Fix2.thy \
huffman@30920
    96
  ex/Fixrec_ex.thy \
huffman@30920
    97
  ex/Focus_ex.thy \
huffman@30920
    98
  ex/Hoare.thy \
huffman@30920
    99
  ex/Loop.thy \
huffman@29992
   100
  ex/Powerdomain_ex.thy \
huffman@30920
   101
  ex/Stream.thy \
huffman@30920
   102
  ex/ROOT.ML
wenzelm@28500
   103
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
mueller@3081
   104
mueller@3081
   105
oheimb@11350
   106
## HOLCF-FOCUS
oheimb@11350
   107
oheimb@11350
   108
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
   109
oheimb@15188
   110
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
huffman@19759
   111
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@19759
   112
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
huffman@19759
   113
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
wenzelm@28500
   114
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
   115
wenzelm@4518
   116
## IOA
wenzelm@4518
   117
wenzelm@4518
   118
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
   119
wenzelm@19741
   120
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
   121
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
   122
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
   123
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
   124
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
   125
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
   126
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
   127
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
   128
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
   129
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
haftmann@31773
   130
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/automaton.ML
wenzelm@28500
   131
	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   132
mueller@3081
   133
wenzelm@4518
   134
## IOA-ABP
wenzelm@4518
   135
wenzelm@4518
   136
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   137
wenzelm@4518
   138
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   139
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   140
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   141
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   142
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   143
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   144
  IOA/ABP/Spec.thy
wenzelm@28500
   145
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
mueller@3081
   146
wenzelm@4518
   147
## IOA-NTP
wenzelm@4518
   148
wenzelm@4518
   149
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   150
wenzelm@19739
   151
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   152
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   153
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   154
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   155
  IOA/NTP/Spec.thy
wenzelm@28500
   156
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
mueller@3081
   157
wenzelm@3951
   158
mueller@6475
   159
## IOA-Modelcheck
mueller@6475
   160
mueller@6475
   161
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   162
wenzelm@19764
   163
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
wenzelm@22819
   164
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
wenzelm@22819
   165
  IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
wenzelm@28500
   166
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   167
mueller@6475
   168
wenzelm@6010
   169
## IOA-Storage
wenzelm@6010
   170
wenzelm@6010
   171
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   172
wenzelm@19740
   173
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   174
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   175
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@28500
   176
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   177
wenzelm@6010
   178
mueller@6475
   179
## IOA-ex
mueller@6475
   180
mueller@6475
   181
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   182
wenzelm@19740
   183
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
wenzelm@28500
   184
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
mueller@6475
   185
mueller@6475
   186
wenzelm@4518
   187
## clean
wenzelm@4447
   188
wenzelm@4447
   189
clean:
wenzelm@33450
   190
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
wenzelm@33450
   191
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
wenzelm@33450
   192
	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
wenzelm@33450
   193
	  $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz	\
wenzelm@33450
   194
	  $(LOG)/IOA-ex.gz