src/HOL/HOLCF/IsaMakefile
author huffman
Sat Nov 27 16:08:10 2010 -0800 (2010-11-27)
changeset 40774 0437dbc127b3
parent 40772 src/HOLCF/IsaMakefile@c8b52f9e1680
child 41112 866148b76247
permissions -rw-r--r--
moved directory src/HOLCF to src/HOL/HOLCF;
added HOLCF theories to src/HOL/IsaMakefile;
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@40772
    46
  Cpodef.thy \
huffman@27420
    47
  Cprod.thy \
huffman@27420
    48
  Discrete.thy \
huffman@27420
    49
  Deflation.thy \
huffman@27420
    50
  Domain.thy \
huffman@35652
    51
  Domain_Aux.thy \
huffman@27420
    52
  Fixrec.thy \
huffman@27420
    53
  Fix.thy \
huffman@40001
    54
  Fun_Cpo.thy \
huffman@27420
    55
  HOLCF.thy \
huffman@27420
    56
  Lift.thy \
huffman@27420
    57
  LowerPD.thy \
huffman@40502
    58
  Map_Functions.thy \
huffman@27420
    59
  One.thy \
huffman@27420
    60
  Pcpo.thy \
huffman@40502
    61
  Plain_HOLCF.thy \
huffman@27420
    62
  Porder.thy \
huffman@35473
    63
  Powerdomains.thy \
huffman@29530
    64
  Product_Cpo.thy \
huffman@40592
    65
  Sfun.thy \
huffman@27420
    66
  Sprod.thy \
huffman@27420
    67
  Ssum.thy \
huffman@27420
    68
  Tr.thy \
huffman@27420
    69
  Universal.thy \
huffman@27420
    70
  UpperPD.thy \
huffman@27420
    71
  Up.thy \
huffman@27420
    72
  Tools/cont_consts.ML \
huffman@27420
    73
  Tools/cont_proc.ML \
huffman@35475
    74
  Tools/holcf_library.ML \
huffman@40040
    75
  Tools/Domain/domain.ML \
haftmann@32126
    76
  Tools/Domain/domain_axioms.ML \
huffman@35473
    77
  Tools/Domain/domain_constructors.ML \
huffman@40040
    78
  Tools/Domain/domain_induction.ML \
huffman@33795
    79
  Tools/Domain/domain_isomorphism.ML \
huffman@35530
    80
  Tools/Domain/domain_take_proofs.ML \
huffman@40772
    81
  Tools/cpodef.ML \
huffman@40575
    82
  Tools/domaindef.ML \
haftmann@31738
    83
  Tools/fixrec.ML \
huffman@27420
    84
  document/root.tex
huffman@40774
    85
	@$(ISABELLE_TOOL) usedir -b -g true $(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@39999
   106
  Library/Defl_Bifinite.thy \
huffman@39143
   107
  Library/List_Cpo.thy \
huffman@37110
   108
  Library/Stream.thy \
huffman@37111
   109
  Library/Sum_Cpo.thy \
huffman@37110
   110
  Library/HOLCF_Library.thy \
wenzelm@38137
   111
  Library/ROOT.ML
wenzelm@38137
   112
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF Library
huffman@37110
   113
huffman@37110
   114
wenzelm@4518
   115
## HOLCF-IMP
wenzelm@2494
   116
wenzelm@4518
   117
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
wenzelm@4518
   118
kleing@12433
   119
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
wenzelm@12599
   120
  IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
wenzelm@28500
   121
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
wenzelm@2494
   122
wenzelm@2494
   123
wenzelm@4518
   124
## HOLCF-ex
wenzelm@4518
   125
wenzelm@4518
   126
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
wenzelm@2494
   127
huffman@30920
   128
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
huffman@40774
   129
  ../Library/Nat_Infinity.thy \
huffman@30920
   130
  ex/Dagstuhl.thy \
huffman@30920
   131
  ex/Dnat.thy \
huffman@35167
   132
  ex/Domain_Proofs.thy \
huffman@30920
   133
  ex/Fix2.thy \
huffman@30920
   134
  ex/Focus_ex.thy \
huffman@30920
   135
  ex/Hoare.thy \
huffman@35932
   136
  ex/Letrec.thy \
huffman@30920
   137
  ex/Loop.thy \
huffman@37109
   138
  ex/Pattern_Match.thy \
huffman@29992
   139
  ex/Powerdomain_ex.thy \
huffman@30920
   140
  ex/ROOT.ML
wenzelm@28500
   141
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
mueller@3081
   142
mueller@3081
   143
oheimb@11350
   144
## HOLCF-FOCUS
oheimb@11350
   145
oheimb@11350
   146
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
   147
huffman@35214
   148
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF \
huffman@37110
   149
  Library/Stream.thy \
huffman@35214
   150
  FOCUS/Fstreams.thy \
huffman@19759
   151
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@40774
   152
  FOCUS/Stream_adm.thy ../Library/Continuity.thy \
huffman@19759
   153
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
wenzelm@28500
   154
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
   155
wenzelm@4518
   156
## IOA
wenzelm@4518
   157
wenzelm@4518
   158
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
   159
wenzelm@19741
   160
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
   161
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
   162
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
   163
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
   164
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
   165
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
   166
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
   167
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
   168
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
   169
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
wenzelm@37785
   170
  IOA/meta_theory/SimCorrectness.thy
wenzelm@28500
   171
	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   172
mueller@3081
   173
wenzelm@4518
   174
## IOA-ABP
wenzelm@4518
   175
wenzelm@4518
   176
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   177
wenzelm@4518
   178
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   179
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   180
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   181
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   182
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   183
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   184
  IOA/ABP/Spec.thy
wenzelm@28500
   185
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
mueller@3081
   186
wenzelm@4518
   187
## IOA-NTP
wenzelm@4518
   188
wenzelm@4518
   189
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   190
wenzelm@19739
   191
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   192
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   193
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   194
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   195
  IOA/NTP/Spec.thy
wenzelm@28500
   196
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
mueller@3081
   197
wenzelm@3951
   198
wenzelm@6010
   199
## IOA-Storage
wenzelm@6010
   200
wenzelm@6010
   201
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   202
wenzelm@19740
   203
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   204
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   205
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@28500
   206
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   207
wenzelm@6010
   208
mueller@6475
   209
## IOA-ex
mueller@6475
   210
mueller@6475
   211
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   212
wenzelm@19740
   213
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
wenzelm@28500
   214
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
mueller@6475
   215
mueller@6475
   216
wenzelm@4518
   217
## clean
wenzelm@4447
   218
wenzelm@4447
   219
clean:
wenzelm@33450
   220
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
wenzelm@33450
   221
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
wenzelm@33450
   222
	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
wenzelm@37779
   223
	  $(LOG)/IOA-Storage.gz $(LOG)/HOLCF-Library.gz		\
huffman@37000
   224
	  $(LOG)/IOA-ex.gz $(LOG)/HOLCF-Tutorial.gz