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