src/HOLCF/IsaMakefile
author huffman
Wed Nov 10 17:56:08 2010 -0800 (2010-11-10)
changeset 40502 8e92772bc0e8
parent 40040 3adb92ee2f22
child 40504 7c6265ba6d43
permissions -rw-r--r--
move map functions to new theory file Map_Functions; add theory file Plain_HOLCF
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
  Fixrec.thy \
huffman@27420
    52
  Fix.thy \
huffman@40001
    53
  Fun_Cpo.thy \
huffman@27420
    54
  HOLCF.thy \
huffman@27420
    55
  Lift.thy \
huffman@27420
    56
  LowerPD.thy \
huffman@40502
    57
  Map_Functions.thy \
huffman@27420
    58
  One.thy \
huffman@27420
    59
  Pcpodef.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@33783
    65
  Representable.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 \
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@39999
   106
  Library/Defl_Bifinite.thy \
huffman@39143
   107
  Library/List_Cpo.thy \
huffman@37110
   108
  Library/Stream.thy \
huffman@37110
   109
  Library/Strict_Fun.thy \
huffman@37111
   110
  Library/Sum_Cpo.thy \
huffman@37110
   111
  Library/HOLCF_Library.thy \
wenzelm@38137
   112
  Library/ROOT.ML
wenzelm@38137
   113
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF Library
huffman@37110
   114
huffman@37110
   115
wenzelm@4518
   116
## HOLCF-IMP
wenzelm@2494
   117
wenzelm@4518
   118
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
wenzelm@4518
   119
kleing@12433
   120
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
wenzelm@12599
   121
  IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
wenzelm@28500
   122
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
wenzelm@2494
   123
wenzelm@2494
   124
wenzelm@4518
   125
## HOLCF-ex
wenzelm@4518
   126
wenzelm@4518
   127
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
wenzelm@2494
   128
huffman@30920
   129
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
huffman@30920
   130
  ../HOL/Library/Nat_Infinity.thy \
huffman@30920
   131
  ex/Dagstuhl.thy \
huffman@30920
   132
  ex/Dnat.thy \
huffman@35167
   133
  ex/Domain_Proofs.thy \
huffman@30920
   134
  ex/Fix2.thy \
huffman@30920
   135
  ex/Focus_ex.thy \
huffman@30920
   136
  ex/Hoare.thy \
huffman@35932
   137
  ex/Letrec.thy \
huffman@30920
   138
  ex/Loop.thy \
huffman@37109
   139
  ex/Pattern_Match.thy \
huffman@29992
   140
  ex/Powerdomain_ex.thy \
huffman@30920
   141
  ex/ROOT.ML
wenzelm@28500
   142
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
mueller@3081
   143
mueller@3081
   144
oheimb@11350
   145
## HOLCF-FOCUS
oheimb@11350
   146
oheimb@11350
   147
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
   148
huffman@35214
   149
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF \
huffman@37110
   150
  Library/Stream.thy \
huffman@35214
   151
  FOCUS/Fstreams.thy \
huffman@19759
   152
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@19759
   153
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
huffman@19759
   154
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
wenzelm@28500
   155
	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
   156
wenzelm@4518
   157
## IOA
wenzelm@4518
   158
wenzelm@4518
   159
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
   160
wenzelm@19741
   161
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
   162
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
   163
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
   164
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
   165
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
   166
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
   167
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
   168
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
   169
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
   170
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
wenzelm@37785
   171
  IOA/meta_theory/SimCorrectness.thy
wenzelm@28500
   172
	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   173
mueller@3081
   174
wenzelm@4518
   175
## IOA-ABP
wenzelm@4518
   176
wenzelm@4518
   177
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   178
wenzelm@4518
   179
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   180
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   181
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   182
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   183
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   184
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   185
  IOA/ABP/Spec.thy
wenzelm@28500
   186
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
mueller@3081
   187
wenzelm@4518
   188
## IOA-NTP
wenzelm@4518
   189
wenzelm@4518
   190
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   191
wenzelm@19739
   192
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   193
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   194
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   195
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   196
  IOA/NTP/Spec.thy
wenzelm@28500
   197
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
mueller@3081
   198
wenzelm@3951
   199
wenzelm@6010
   200
## IOA-Storage
wenzelm@6010
   201
wenzelm@6010
   202
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   203
wenzelm@19740
   204
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   205
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   206
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@28500
   207
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   208
wenzelm@6010
   209
mueller@6475
   210
## IOA-ex
mueller@6475
   211
mueller@6475
   212
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   213
wenzelm@19740
   214
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
wenzelm@28500
   215
	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
mueller@6475
   216
mueller@6475
   217
wenzelm@4518
   218
## clean
wenzelm@4447
   219
wenzelm@4447
   220
clean:
wenzelm@33450
   221
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
wenzelm@33450
   222
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
wenzelm@33450
   223
	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
wenzelm@37779
   224
	  $(LOG)/IOA-Storage.gz $(LOG)/HOLCF-Library.gz		\
huffman@37000
   225
	  $(LOG)/IOA-ex.gz $(LOG)/HOLCF-Tutorial.gz