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