src/HOLCF/IsaMakefile
author haftmann
Tue Jul 10 17:30:50 2007 +0200 (2007-07-10)
changeset 23709 fd31da8f752a
parent 23152 9497234a2743
child 25161 aa8474398030
permissions -rw-r--r--
moved lfp_induct2 here
     1 #
     2 # $Id$
     3 #
     4 # IsaMakefile for HOLCF
     5 #
     6 
     7 ## targets
     8 
     9 default: HOLCF
    10 images: HOLCF IOA
    11 test: HOLCF-IMP HOLCF-ex HOLCF-FOCUS \
    12       IOA-ABP IOA-NTP IOA-Modelcheck IOA-Storage IOA-ex
    13 all: images test
    14 
    15 
    16 ## global settings
    17 
    18 SRC = $(ISABELLE_HOME)/src
    19 OUT = $(ISABELLE_OUTPUT)
    20 LOG = $(OUT)/log
    21 
    22 
    23 ## HOLCF
    24 
    25 HOLCF: HOL $(OUT)/HOLCF
    26 
    27 HOL:
    28 	@cd $(SRC)/HOL; $(ISATOOL) make HOL
    29 
    30 $(OUT)/HOLCF: $(OUT)/HOL Adm.thy Cfun.thy Cont.thy Cprod.thy			\
    31   Discrete.thy Domain.thy Ffun.thy Fix.thy Fixrec.thy HOLCF.thy Lift.thy	\
    32   One.thy Pcpo.thy Pcpodef.thy Porder.thy ROOT.ML Sprod.thy Ssum.thy		\
    33   Tools/adm_tac.ML Tools/cont_consts.ML Tools/cont_proc.ML			\
    34   Tools/domain/domain_extender.ML Tools/domain/domain_axioms.ML			\
    35   Tools/domain/domain_library.ML Tools/domain/domain_syntax.ML			\
    36   Tools/domain/domain_theorems.ML Tools/fixrec_package.ML			\
    37   Tools/pcpodef_package.ML Tr.thy Up.thy document/root.tex ex/Stream.thy	\
    38   holcf_logic.ML
    39 	@$(ISATOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
    40 
    41 
    42 ## HOLCF-IMP
    43 
    44 HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
    45 
    46 $(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
    47   IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
    48 	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
    49 
    50 
    51 ## HOLCF-ex
    52 
    53 HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
    54 
    55 $(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF ex/Dagstuhl.thy \
    56   ex/Dnat.thy ex/Fix2.thy ex/Focus_ex.thy ex/Hoare.thy ex/Loop.thy \
    57   ex/ROOT.ML ex/Fixrec_ex.thy ../HOL/Library/Nat_Infinity.thy
    58 	@$(ISATOOL) usedir $(OUT)/HOLCF ex
    59 
    60 
    61 ## HOLCF-FOCUS
    62 
    63 HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
    64 
    65 $(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
    66   FOCUS/Fstream.thy FOCUS/FOCUS.thy \
    67   FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
    68   FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
    69 	@$(ISATOOL) usedir $(OUT)/HOLCF FOCUS
    70 
    71 ## IOA
    72 
    73 IOA: HOLCF $(OUT)/IOA
    74 
    75 $(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
    76   IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
    77   IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
    78   IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
    79   IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
    80   IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
    81   IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
    82   IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
    83   IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
    84   IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
    85   IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/ioa_package.ML
    86 	@cd IOA; $(ISATOOL) usedir -b $(OUT)/HOLCF IOA
    87 
    88 
    89 ## IOA-ABP
    90 
    91 IOA-ABP: IOA $(LOG)/IOA-ABP.gz
    92 
    93 $(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
    94   IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
    95   IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
    96   IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
    97   IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
    98   IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
    99   IOA/ABP/Spec.thy
   100 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ABP
   101 
   102 ## IOA-NTP
   103 
   104 IOA-NTP: IOA $(LOG)/IOA-NTP.gz
   105 
   106 $(LOG)/IOA-NTP.gz: $(OUT)/IOA \
   107   IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
   108   IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
   109   IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
   110   IOA/NTP/Spec.thy
   111 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA NTP
   112 
   113 
   114 ## IOA-Modelcheck
   115 
   116 IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
   117 
   118 $(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
   119   IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
   120   IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
   121 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Modelcheck
   122 
   123 
   124 ## IOA-Storage
   125 
   126 IOA-Storage: IOA $(LOG)/IOA-Storage.gz
   127 
   128 $(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
   129   IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
   130   IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
   131 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA Storage
   132 
   133 
   134 ## IOA-ex
   135 
   136 IOA-ex: IOA $(LOG)/IOA-ex.gz
   137 
   138 $(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
   139 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ex
   140 
   141 
   142 ## clean
   143 
   144 clean:
   145 	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
   146 	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
   147           $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
   148 	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz