src/HOLCF/IsaMakefile
author wenzelm
Sat May 27 21:00:31 2006 +0200 (2006-05-27)
changeset 19739 c58ef2aa5430
parent 19738 1ac610922636
child 19740 6b38551d0798
permissions -rw-r--r--
removed legacy ML scripts;
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@17924
    30
$(OUT)/HOLCF: $(OUT)/HOL Adm.thy Cfun.ML Cfun.thy Cont.ML Cont.thy	\
wenzelm@17924
    31
  Cprod.ML Cprod.thy Discrete.thy Domain.thy Fix.ML Fix.thy Fixrec.thy	\
wenzelm@17924
    32
  Ffun.ML Ffun.thy HOLCF.ML HOLCF.thy Lift.ML Lift.thy One.ML One.thy	\
wenzelm@17924
    33
  Pcpo.ML Pcpo.thy Porder.ML Porder.thy ROOT.ML Sprod.ML Sprod.thy	\
wenzelm@17924
    34
  Ssum.ML Ssum.thy Tr.ML Tr.thy Up.ML Pcpodef.thy pcpodef_package.ML	\
wenzelm@17924
    35
  Up.thy adm_tac.ML cont_consts.ML cont_proc.ML fixrec_package.ML	\
wenzelm@17924
    36
  domain/axioms.ML domain/extender.ML domain/library.ML			\
wenzelm@17924
    37
  domain/syntax.ML domain/theorems.ML holcf_logic.ML ex/Stream.thy	\
wenzelm@17924
    38
  document/root.tex
huffman@15586
    39
	@$(ISATOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
wenzelm@2494
    40
wenzelm@4518
    41
wenzelm@4518
    42
## HOLCF-IMP
wenzelm@2494
    43
wenzelm@4518
    44
HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
wenzelm@4518
    45
kleing@12433
    46
$(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
wenzelm@12599
    47
  IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
wenzelm@4518
    48
	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
wenzelm@2494
    49
wenzelm@2494
    50
wenzelm@4518
    51
## HOLCF-ex
wenzelm@4518
    52
wenzelm@4518
    53
HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
wenzelm@2494
    54
wenzelm@4518
    55
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF ex/Dagstuhl.ML ex/Dagstuhl.thy \
wenzelm@12035
    56
  ex/Dnat.thy ex/Fix2.ML ex/Fix2.thy ex/Focus_ex.ML \
wenzelm@4518
    57
  ex/Focus_ex.thy ex/Hoare.ML ex/Hoare.thy ex/Loop.ML ex/Loop.thy \
huffman@18073
    58
  ex/ROOT.ML ex/Fixrec_ex.thy \
oheimb@11350
    59
  ../HOL/Library/Nat_Infinity.thy 
wenzelm@4518
    60
	@$(ISATOOL) usedir $(OUT)/HOLCF ex
mueller@3081
    61
mueller@3081
    62
oheimb@11350
    63
## HOLCF-FOCUS
oheimb@11350
    64
oheimb@11350
    65
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
    66
oheimb@15188
    67
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
oheimb@15188
    68
  FOCUS/Fstream.thy FOCUS/Fstream.ML \
oheimb@11350
    69
  FOCUS/FOCUS.thy FOCUS/FOCUS.ML \
oheimb@11350
    70
  FOCUS/Stream_adm.thy FOCUS/Stream_adm.ML  ../HOL/Library/Continuity.thy \
oheimb@11350
    71
  FOCUS/Buffer.thy FOCUS/Buffer.ML FOCUS/Buffer_adm.thy FOCUS/Buffer_adm.ML
oheimb@11350
    72
	@$(ISATOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
    73
wenzelm@4518
    74
## IOA
wenzelm@4518
    75
wenzelm@4518
    76
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
    77
wenzelm@4518
    78
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy \
mueller@3081
    79
  IOA/meta_theory/Asig.ML IOA/meta_theory/Asig.thy \
mueller@3081
    80
  IOA/meta_theory/CompoScheds.thy IOA/meta_theory/CompoExecs.ML \
mueller@3081
    81
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/CompoScheds.ML \
mueller@3081
    82
  IOA/meta_theory/CompoTraces.ML IOA/meta_theory/Sequence.ML \
mueller@3081
    83
  IOA/meta_theory/Seq.thy IOA/meta_theory/RefCorrectness.thy \
mueller@3081
    84
  IOA/meta_theory/Automata.thy IOA/meta_theory/Traces.ML \
huffman@19550
    85
  IOA/meta_theory/RefMappings.ML \
mueller@3081
    86
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/ShortExecutions.ML \
paulson@15408
    87
  IOA/meta_theory/IOA.thy \
mueller@3081
    88
  IOA/meta_theory/Sequence.thy IOA/meta_theory/Automata.ML \
mueller@3081
    89
  IOA/meta_theory/CompoExecs.thy IOA/meta_theory/RefMappings.thy \
mueller@3081
    90
  IOA/meta_theory/RefCorrectness.ML IOA/meta_theory/Compositionality.ML \
mueller@4562
    91
  IOA/meta_theory/Compositionality.thy \
mueller@4562
    92
  IOA/meta_theory/TL.thy IOA/meta_theory/TL.ML IOA/meta_theory/TLS.thy \
mueller@4562
    93
  IOA/meta_theory/TLS.ML IOA/meta_theory/LiveIOA.thy IOA/meta_theory/LiveIOA.ML \
mueller@4562
    94
  IOA/meta_theory/Pred.thy IOA/meta_theory/Abstraction.thy \
mueller@6475
    95
  IOA/meta_theory/Abstraction.ML \
mueller@4566
    96
  IOA/meta_theory/Simulations.thy IOA/meta_theory/Simulations.ML \
mueller@6475
    97
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/SimCorrectness.ML \
wenzelm@17924
    98
  IOA/meta_theory/ioa_package.ML 
wenzelm@4518
    99
	@cd IOA; $(ISATOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
   100
mueller@3081
   101
wenzelm@4518
   102
## IOA-ABP
wenzelm@4518
   103
wenzelm@4518
   104
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
   105
wenzelm@4518
   106
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
   107
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
   108
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
   109
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
   110
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
   111
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
   112
  IOA/ABP/Spec.thy
mueller@3081
   113
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ABP
mueller@3081
   114
wenzelm@4518
   115
## IOA-NTP
wenzelm@4518
   116
wenzelm@4518
   117
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   118
wenzelm@19739
   119
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   120
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   121
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   122
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   123
  IOA/NTP/Spec.thy
mueller@3081
   124
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA NTP
mueller@3081
   125
wenzelm@3951
   126
mueller@6475
   127
## IOA-Modelcheck
mueller@6475
   128
mueller@6475
   129
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   130
mueller@6475
   131
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML IOA/Modelcheck/Cockpit.ML\
mueller@6475
   132
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.ML IOA/Modelcheck/MuIOA.thy \
mueller@6475
   133
  IOA/Modelcheck/MuIOAOracle.ML IOA/Modelcheck/MuIOAOracle.thy \
mueller@6475
   134
  IOA/Modelcheck/Ring3.ML IOA/Modelcheck/Ring3.thy 
mueller@6475
   135
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   136
mueller@6475
   137
wenzelm@6010
   138
## IOA-Storage
wenzelm@6010
   139
wenzelm@6010
   140
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   141
wenzelm@17238
   142
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy IOA/Storage/Correctness.ML \
wenzelm@17238
   143
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   144
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@6010
   145
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   146
wenzelm@6010
   147
mueller@6475
   148
## IOA-ex
mueller@6475
   149
mueller@6475
   150
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   151
mueller@6475
   152
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML \
mueller@6475
   153
  IOA/ex/TrivEx.thy IOA/ex/TrivEx.ML \
mueller@6475
   154
  IOA/ex/TrivEx2.thy IOA/ex/TrivEx2.ML 
mueller@6475
   155
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ex
mueller@6475
   156
mueller@6475
   157
wenzelm@4518
   158
## clean
wenzelm@4447
   159
wenzelm@4447
   160
clean:
wenzelm@4518
   161
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
oheimb@11350
   162
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
oheimb@11350
   163
          $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
mueller@6475
   164
	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz