src/HOLCF/IsaMakefile
author huffman
Wed Feb 17 08:05:16 2010 -0800 (2010-02-17)
changeset 35167 eba22d68a0a7
parent 33813 0bc8d4f786bd
child 35214 67689d276c70
permissions -rw-r--r--
add theory HOLCF/ex/Strict_Fun.thy
     1 #
     2 # IsaMakefile for HOLCF
     3 #
     4 
     5 ## targets
     6 
     7 default: HOLCF
     8 images: HOLCF IOA
     9 test: HOLCF-IMP HOLCF-ex HOLCF-FOCUS \
    10       IOA-ABP IOA-NTP IOA-Modelcheck IOA-Storage IOA-ex
    11 all: images test
    12 
    13 
    14 ## global settings
    15 
    16 SRC = $(ISABELLE_HOME)/src
    17 OUT = $(ISABELLE_OUTPUT)
    18 LOG = $(OUT)/log
    19 
    20 
    21 ## HOLCF
    22 
    23 HOLCF: HOL $(OUT)/HOLCF
    24 
    25 HOL:
    26 	@cd $(SRC)/HOL; $(ISABELLE_TOOL) make HOL
    27 
    28 $(OUT)/HOLCF: $(OUT)/HOL \
    29   ROOT.ML \
    30   Adm.thy \
    31   Algebraic.thy \
    32   Bifinite.thy \
    33   Cfun.thy \
    34   CompactBasis.thy \
    35   Completion.thy \
    36   Cont.thy \
    37   ConvexPD.thy \
    38   Cprod.thy \
    39   Discrete.thy \
    40   Deflation.thy \
    41   Domain.thy \
    42   Eventual.thy \
    43   Ffun.thy \
    44   Fixrec.thy \
    45   Fix.thy \
    46   HOLCF.thy \
    47   Lift.thy \
    48   LowerPD.thy \
    49   NatIso.thy \
    50   One.thy \
    51   Pcpodef.thy \
    52   Pcpo.thy \
    53   Porder.thy \
    54   Product_Cpo.thy \
    55   Representable.thy \
    56   Sprod.thy \
    57   Ssum.thy \
    58   Sum_Cpo.thy \
    59   Tr.thy \
    60   Universal.thy \
    61   UpperPD.thy \
    62   Up.thy \
    63   Tools/adm_tac.ML \
    64   Tools/cont_consts.ML \
    65   Tools/cont_proc.ML \
    66   Tools/Domain/domain_extender.ML \
    67   Tools/Domain/domain_axioms.ML \
    68   Tools/Domain/domain_isomorphism.ML \
    69   Tools/Domain/domain_library.ML \
    70   Tools/Domain/domain_syntax.ML \
    71   Tools/Domain/domain_theorems.ML \
    72   Tools/fixrec.ML \
    73   Tools/pcpodef.ML \
    74   Tools/repdef.ML \
    75   holcf_logic.ML \
    76   document/root.tex
    77 	@$(ISABELLE_TOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
    78 
    79 
    80 ## HOLCF-IMP
    81 
    82 HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
    83 
    84 $(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
    85   IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
    86 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
    87 
    88 
    89 ## HOLCF-ex
    90 
    91 HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
    92 
    93 $(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
    94   ../HOL/Library/Nat_Infinity.thy \
    95   ex/Dagstuhl.thy \
    96   ex/Dnat.thy \
    97   ex/Domain_ex.thy \
    98   ex/Domain_Proofs.thy \
    99   ex/Fix2.thy \
   100   ex/Fixrec_ex.thy \
   101   ex/Focus_ex.thy \
   102   ex/Hoare.thy \
   103   ex/Loop.thy \
   104   ex/New_Domain.thy \
   105   ex/Powerdomain_ex.thy \
   106   ex/Stream.thy \
   107   ex/Strict_Fun.thy \
   108   ex/ROOT.ML
   109 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
   110 
   111 
   112 ## HOLCF-FOCUS
   113 
   114 HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
   115 
   116 $(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
   117   FOCUS/Fstream.thy FOCUS/FOCUS.thy \
   118   FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
   119   FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
   120 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
   121 
   122 ## IOA
   123 
   124 IOA: HOLCF $(OUT)/IOA
   125 
   126 $(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
   127   IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
   128   IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
   129   IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
   130   IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
   131   IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
   132   IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
   133   IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
   134   IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
   135   IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
   136   IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/automaton.ML
   137 	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
   138 
   139 
   140 ## IOA-ABP
   141 
   142 IOA-ABP: IOA $(LOG)/IOA-ABP.gz
   143 
   144 $(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
   145   IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
   146   IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
   147   IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
   148   IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
   149   IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
   150   IOA/ABP/Spec.thy
   151 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
   152 
   153 ## IOA-NTP
   154 
   155 IOA-NTP: IOA $(LOG)/IOA-NTP.gz
   156 
   157 $(LOG)/IOA-NTP.gz: $(OUT)/IOA \
   158   IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
   159   IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
   160   IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
   161   IOA/NTP/Spec.thy
   162 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
   163 
   164 
   165 ## IOA-Modelcheck
   166 
   167 IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
   168 
   169 $(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
   170   IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
   171   IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
   172 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Modelcheck
   173 
   174 
   175 ## IOA-Storage
   176 
   177 IOA-Storage: IOA $(LOG)/IOA-Storage.gz
   178 
   179 $(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
   180   IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
   181   IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
   182 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
   183 
   184 
   185 ## IOA-ex
   186 
   187 IOA-ex: IOA $(LOG)/IOA-ex.gz
   188 
   189 $(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
   190 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
   191 
   192 
   193 ## clean
   194 
   195 clean:
   196 	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
   197 	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
   198 	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
   199 	  $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz	\
   200 	  $(LOG)/IOA-ex.gz