src/HOLCF/IsaMakefile
author oheimb
Thu May 31 16:53:00 2001 +0200 (2001-05-31)
changeset 11350 4c55b020d6ee
parent 8602 f077613e8e7b
child 12027 1281e9bf57f6
permissions -rw-r--r--
added FOCUS including the One-Element Buffer by Manfred Broy
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@4518
    28
	@cd $(SRC)/HOL; $(ISATOOL) make HOL
wenzelm@2494
    29
wenzelm@4518
    30
$(OUT)/HOLCF: $(OUT)/HOL Cfun1.ML Cfun1.thy Cfun2.ML Cfun2.thy \
wenzelm@4518
    31
  Cfun3.ML Cfun3.thy Cont.ML Cont.thy Cprod1.ML Cprod1.thy Cprod2.ML \
wenzelm@4518
    32
  Cprod2.thy Cprod3.ML Cprod3.thy Discrete.ML Discrete.thy Discrete0.ML \
wenzelm@4518
    33
  Discrete0.thy Discrete1.ML Discrete1.thy Fix.ML Fix.thy Fun1.ML \
wenzelm@4518
    34
  Fun1.thy Fun2.ML Fun2.thy Fun3.ML Fun3.thy HOLCF.ML HOLCF.thy Lift.ML \
wenzelm@4518
    35
  Lift.thy Lift1.ML Lift1.thy Lift2.ML Lift2.thy Lift3.ML Lift3.thy \
wenzelm@4518
    36
  One.ML One.thy Pcpo.ML Pcpo.thy Porder.ML Porder.thy Porder0.ML \
wenzelm@4518
    37
  Porder0.thy ROOT.ML Sprod0.ML Sprod0.thy Sprod1.ML Sprod1.thy \
wenzelm@4518
    38
  Sprod2.ML Sprod2.thy Sprod3.ML Sprod3.thy Ssum0.ML Ssum0.thy Ssum1.ML \
wenzelm@4518
    39
  Ssum1.thy Ssum2.ML Ssum2.thy Ssum3.ML Ssum3.thy Tr.ML Tr.thy Up1.ML \
wenzelm@4518
    40
  Up1.thy Up2.ML Up2.thy Up3.ML Up3.thy adm.ML cont_consts.ML \
wenzelm@4518
    41
  domain/axioms.ML domain/extender.ML domain/interface.ML \
wenzelm@4518
    42
  domain/library.ML domain/syntax.ML domain/theorems.ML holcf_logic.ML
wenzelm@6213
    43
	@$(ISATOOL) usedir -b -r $(OUT)/HOL HOLCF
wenzelm@2494
    44
wenzelm@4518
    45
wenzelm@4518
    46
## HOLCF-IMP
wenzelm@2494
    47
wenzelm@4518
    48
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
wenzelm@4518
    49
wenzelm@4518
    50
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/Denotational.ML \
wenzelm@4518
    51
  IMP/Denotational.thy IMP/ROOT.ML
wenzelm@4518
    52
	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
wenzelm@2494
    53
wenzelm@2494
    54
wenzelm@4518
    55
## HOLCF-ex
wenzelm@4518
    56
wenzelm@4518
    57
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
wenzelm@2494
    58
wenzelm@4518
    59
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF ex/Dagstuhl.ML ex/Dagstuhl.thy \
wenzelm@4518
    60
  ex/Dnat.ML ex/Dnat.thy ex/Fix2.ML ex/Fix2.thy ex/Focus_ex.ML \
wenzelm@4518
    61
  ex/Focus_ex.thy ex/Hoare.ML ex/Hoare.thy ex/Loop.ML ex/Loop.thy \
oheimb@11350
    62
  ex/ROOT.ML ex/Stream.ML ex/Stream.thy ex/loeckx.ML \
oheimb@11350
    63
  ../HOL/Library/Nat_Infinity.thy 
wenzelm@4518
    64
	@$(ISATOOL) usedir $(OUT)/HOLCF ex
mueller@3081
    65
mueller@3081
    66
oheimb@11350
    67
## HOLCF-FOCUS
oheimb@11350
    68
oheimb@11350
    69
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
    70
oheimb@11350
    71
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstream.thy FOCUS/Fstream.ML \
oheimb@11350
    72
  FOCUS/FOCUS.thy FOCUS/FOCUS.ML \
oheimb@11350
    73
  FOCUS/Stream_adm.thy FOCUS/Stream_adm.ML  ../HOL/Library/Continuity.thy \
oheimb@11350
    74
  FOCUS/Buffer.thy FOCUS/Buffer.ML FOCUS/Buffer_adm.thy FOCUS/Buffer_adm.ML
oheimb@11350
    75
	@$(ISATOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
    76
wenzelm@4518
    77
## IOA
wenzelm@4518
    78
wenzelm@4518
    79
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
    80
wenzelm@4518
    81
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy \
mueller@3081
    82
  IOA/meta_theory/Asig.ML IOA/meta_theory/Asig.thy \
mueller@3081
    83
  IOA/meta_theory/CompoScheds.thy IOA/meta_theory/CompoExecs.ML \
mueller@3081
    84
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/CompoScheds.ML \
mueller@3081
    85
  IOA/meta_theory/CompoTraces.ML IOA/meta_theory/Sequence.ML \
mueller@3081
    86
  IOA/meta_theory/Seq.thy IOA/meta_theory/RefCorrectness.thy \
mueller@3081
    87
  IOA/meta_theory/Automata.thy IOA/meta_theory/Traces.ML \
mueller@3081
    88
  IOA/meta_theory/Seq.ML IOA/meta_theory/RefMappings.ML \
mueller@3081
    89
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/ShortExecutions.ML \
mueller@3081
    90
  IOA/meta_theory/IOA.thy IOA/meta_theory/IOA.ML \
mueller@3081
    91
  IOA/meta_theory/Sequence.thy IOA/meta_theory/Automata.ML \
mueller@3081
    92
  IOA/meta_theory/CompoExecs.thy IOA/meta_theory/RefMappings.thy \
mueller@3081
    93
  IOA/meta_theory/RefCorrectness.ML IOA/meta_theory/Compositionality.ML \
mueller@4562
    94
  IOA/meta_theory/Compositionality.thy \
mueller@4562
    95
  IOA/meta_theory/TL.thy IOA/meta_theory/TL.ML IOA/meta_theory/TLS.thy \
mueller@4562
    96
  IOA/meta_theory/TLS.ML IOA/meta_theory/LiveIOA.thy IOA/meta_theory/LiveIOA.ML \
mueller@4562
    97
  IOA/meta_theory/Pred.thy IOA/meta_theory/Abstraction.thy \
mueller@6475
    98
  IOA/meta_theory/Abstraction.ML \
mueller@4566
    99
  IOA/meta_theory/Simulations.thy IOA/meta_theory/Simulations.ML \
mueller@6475
   100
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/SimCorrectness.ML \
mueller@6475
   101
  IOA/meta_theory/ioa_syn.ML IOA/meta_theory/ioa_package.ML 
wenzelm@4518
   102
	@cd IOA; $(ISATOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   103
mueller@3081
   104
wenzelm@4518
   105
## IOA-ABP
wenzelm@4518
   106
wenzelm@4518
   107
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   108
wenzelm@4518
   109
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   110
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@4518
   111
  IOA/ABP/Check.ML IOA/ABP/Correctness.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   112
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@4518
   113
  IOA/ABP/Lemmas.ML IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   114
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   115
  IOA/ABP/Spec.thy
mueller@3081
   116
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ABP
mueller@3081
   117
wenzelm@4518
   118
## IOA-NTP
wenzelm@4518
   119
wenzelm@4518
   120
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   121
wenzelm@4518
   122
$(LOG)/IOA-NTP.gz: $(OUT)/IOA IOA/NTP/Abschannel.ML \
nipkow@8602
   123
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy \
wenzelm@4518
   124
  IOA/NTP/Correctness.ML IOA/NTP/Correctness.thy IOA/NTP/Impl.ML \
wenzelm@4518
   125
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.ML IOA/NTP/Lemmas.thy \
wenzelm@4518
   126
  IOA/NTP/Multiset.ML IOA/NTP/Multiset.thy IOA/NTP/Packet.ML \
wenzelm@4518
   127
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.ML \
wenzelm@4518
   128
  IOA/NTP/Receiver.thy IOA/NTP/Sender.ML IOA/NTP/Sender.thy \
wenzelm@4518
   129
  IOA/NTP/Spec.thy
mueller@3081
   130
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA NTP
mueller@3081
   131
wenzelm@3951
   132
mueller@6475
   133
## IOA-Modelcheck
mueller@6475
   134
mueller@6475
   135
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   136
mueller@6475
   137
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML IOA/Modelcheck/Cockpit.ML\
mueller@6475
   138
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.ML IOA/Modelcheck/MuIOA.thy \
mueller@6475
   139
  IOA/Modelcheck/MuIOAOracle.ML IOA/Modelcheck/MuIOAOracle.thy \
mueller@6475
   140
  IOA/Modelcheck/Ring3.ML IOA/Modelcheck/Ring3.thy 
mueller@6475
   141
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   142
mueller@6475
   143
wenzelm@6010
   144
## IOA-Storage
wenzelm@6010
   145
wenzelm@6010
   146
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   147
wenzelm@6011
   148
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.ML \
wenzelm@6011
   149
  IOA/Storage/Action.thy IOA/Storage/Correctness.ML \
wenzelm@6011
   150
  IOA/Storage/Correctness.thy IOA/Storage/Impl.ML IOA/Storage/Impl.thy \
wenzelm@6011
   151
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@6010
   152
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   153
wenzelm@6010
   154
mueller@6475
   155
## IOA-ex
mueller@6475
   156
mueller@6475
   157
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   158
mueller@6475
   159
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML \
mueller@6475
   160
  IOA/ex/TrivEx.thy IOA/ex/TrivEx.ML \
mueller@6475
   161
  IOA/ex/TrivEx2.thy IOA/ex/TrivEx2.ML 
mueller@6475
   162
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ex
mueller@6475
   163
mueller@6475
   164
wenzelm@4518
   165
## clean
wenzelm@4447
   166
wenzelm@4447
   167
clean:
wenzelm@4518
   168
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
oheimb@11350
   169
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
oheimb@11350
   170
          $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
mueller@6475
   171
	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz