src/HOLCF/IsaMakefile
author nipkow
Tue Oct 23 22:48:25 2007 +0200 (2007-10-23)
changeset 25161 aa8474398030
parent 23152 9497234a2743
child 26456 a63501938ce1
permissions -rw-r--r--
changed back from ~=0 to >0
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@23152
    30
$(OUT)/HOLCF: $(OUT)/HOL Adm.thy Cfun.thy Cont.thy Cprod.thy			\
wenzelm@23152
    31
  Discrete.thy Domain.thy Ffun.thy Fix.thy Fixrec.thy HOLCF.thy Lift.thy	\
wenzelm@23152
    32
  One.thy Pcpo.thy Pcpodef.thy Porder.thy ROOT.ML Sprod.thy Ssum.thy		\
wenzelm@23152
    33
  Tools/adm_tac.ML Tools/cont_consts.ML Tools/cont_proc.ML			\
wenzelm@23152
    34
  Tools/domain/domain_extender.ML Tools/domain/domain_axioms.ML			\
wenzelm@23152
    35
  Tools/domain/domain_library.ML Tools/domain/domain_syntax.ML			\
wenzelm@23152
    36
  Tools/domain/domain_theorems.ML Tools/fixrec_package.ML			\
nipkow@25161
    37
  Tools/pcpodef_package.ML Tr.thy Up.thy document/root.tex	\
wenzelm@23152
    38
  holcf_logic.ML
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
nipkow@25161
    55
$(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF ex/Stream.thy ex/Dagstuhl.thy \
wenzelm@19742
    56
  ex/Dnat.thy ex/Fix2.thy ex/Focus_ex.thy ex/Hoare.thy ex/Loop.thy \
wenzelm@19742
    57
  ex/ROOT.ML ex/Fixrec_ex.thy ../HOL/Library/Nat_Infinity.thy
wenzelm@4518
    58
	@$(ISATOOL) usedir $(OUT)/HOLCF ex
mueller@3081
    59
mueller@3081
    60
oheimb@11350
    61
## HOLCF-FOCUS
oheimb@11350
    62
oheimb@11350
    63
HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
oheimb@11350
    64
oheimb@15188
    65
$(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
huffman@19759
    66
  FOCUS/Fstream.thy FOCUS/FOCUS.thy \
huffman@19759
    67
  FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
huffman@19759
    68
  FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
oheimb@11350
    69
	@$(ISATOOL) usedir $(OUT)/HOLCF FOCUS
oheimb@11350
    70
wenzelm@4518
    71
## IOA
wenzelm@4518
    72
wenzelm@4518
    73
IOA: HOLCF $(OUT)/IOA
wenzelm@4518
    74
wenzelm@19741
    75
$(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
wenzelm@19741
    76
  IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
wenzelm@19741
    77
  IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
wenzelm@19741
    78
  IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
wenzelm@19741
    79
  IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
wenzelm@19741
    80
  IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
wenzelm@19741
    81
  IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
wenzelm@19741
    82
  IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
wenzelm@19741
    83
  IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
wenzelm@19741
    84
  IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
wenzelm@19741
    85
  IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/ioa_package.ML
wenzelm@4518
    86
	@cd IOA; $(ISATOOL) usedir -b $(OUT)/HOLCF IOA
mueller@3081
    87
mueller@3081
    88
wenzelm@4518
    89
## IOA-ABP
wenzelm@4518
    90
wenzelm@4518
    91
IOA-ABP: IOA $(LOG)/IOA-ABP.gz
mueller@3081
    92
wenzelm@4518
    93
$(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
nipkow@8602
    94
  IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
wenzelm@19738
    95
  IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
wenzelm@4518
    96
  IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
wenzelm@19738
    97
  IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
wenzelm@4518
    98
  IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
wenzelm@4518
    99
  IOA/ABP/Spec.thy
mueller@3081
   100
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ABP
mueller@3081
   101
wenzelm@4518
   102
## IOA-NTP
wenzelm@4518
   103
wenzelm@4518
   104
IOA-NTP: IOA $(LOG)/IOA-NTP.gz
wenzelm@4518
   105
wenzelm@19739
   106
$(LOG)/IOA-NTP.gz: $(OUT)/IOA \
wenzelm@19739
   107
  IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
wenzelm@19739
   108
  IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
wenzelm@19739
   109
  IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
wenzelm@4518
   110
  IOA/NTP/Spec.thy
mueller@3081
   111
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA NTP
mueller@3081
   112
wenzelm@3951
   113
mueller@6475
   114
## IOA-Modelcheck
mueller@6475
   115
mueller@6475
   116
IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
mueller@6475
   117
wenzelm@19764
   118
$(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
wenzelm@22819
   119
  IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
wenzelm@22819
   120
  IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
mueller@6475
   121
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Modelcheck
mueller@6475
   122
mueller@6475
   123
wenzelm@6010
   124
## IOA-Storage
wenzelm@6010
   125
wenzelm@6010
   126
IOA-Storage: IOA $(LOG)/IOA-Storage.gz
wenzelm@6010
   127
wenzelm@19740
   128
$(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
wenzelm@17238
   129
  IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
wenzelm@6011
   130
  IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
wenzelm@6010
   131
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Storage
wenzelm@6010
   132
wenzelm@6010
   133
mueller@6475
   134
## IOA-ex
mueller@6475
   135
mueller@6475
   136
IOA-ex: IOA $(LOG)/IOA-ex.gz
mueller@6475
   137
wenzelm@19740
   138
$(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
mueller@6475
   139
	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ex
mueller@6475
   140
mueller@6475
   141
wenzelm@4518
   142
## clean
wenzelm@4447
   143
wenzelm@4447
   144
clean:
wenzelm@4518
   145
	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
oheimb@11350
   146
	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
oheimb@11350
   147
          $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
mueller@6475
   148
	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz