src/HOL/HOLCF/IsaMakefile
author huffman
Fri Dec 17 16:43:45 2010 -0800 (2010-12-17)
changeset 41284 6d66975b711f
parent 41112 866148b76247
child 41285 efd23c1d9886
permissions -rw-r--r--
renamed CompactBasis.thy to Compact_Basis.thy
     1 #
     2 # IsaMakefile for HOLCF
     3 #
     4 
     5 ## targets
     6 
     7 default: HOLCF
     8 images: HOLCF IOA
     9 test: \
    10   HOLCF-FOCUS \
    11   HOLCF-IMP \
    12   HOLCF-Library \
    13   HOLCF-Tutorial \
    14   HOLCF-ex \
    15   IOA-ABP \
    16   IOA-NTP \
    17   IOA-Storage \
    18   IOA-ex
    19 all: images test
    20 
    21 
    22 ## global settings
    23 
    24 SRC = $(ISABELLE_HOME)/src
    25 OUT = $(ISABELLE_OUTPUT)
    26 LOG = $(OUT)/log
    27 
    28 
    29 ## HOLCF
    30 
    31 HOLCF: HOL $(OUT)/HOLCF
    32 
    33 HOL:
    34 	@cd $(SRC)/HOL; $(ISABELLE_TOOL) make HOL
    35 
    36 $(OUT)/HOLCF: $(OUT)/HOL \
    37   ROOT.ML \
    38   Adm.thy \
    39   Algebraic.thy \
    40   Bifinite.thy \
    41   Cfun.thy \
    42   Compact_Basis.thy \
    43   Completion.thy \
    44   Cont.thy \
    45   ConvexPD.thy \
    46   Cpodef.thy \
    47   Cprod.thy \
    48   Discrete.thy \
    49   Deflation.thy \
    50   Domain.thy \
    51   Domain_Aux.thy \
    52   Fixrec.thy \
    53   Fix.thy \
    54   Fun_Cpo.thy \
    55   HOLCF.thy \
    56   Lift.thy \
    57   LowerPD.thy \
    58   Map_Functions.thy \
    59   One.thy \
    60   Pcpo.thy \
    61   Plain_HOLCF.thy \
    62   Porder.thy \
    63   Powerdomains.thy \
    64   Product_Cpo.thy \
    65   Sfun.thy \
    66   Sprod.thy \
    67   Ssum.thy \
    68   Tr.thy \
    69   Universal.thy \
    70   UpperPD.thy \
    71   Up.thy \
    72   Tools/cont_consts.ML \
    73   Tools/cont_proc.ML \
    74   Tools/holcf_library.ML \
    75   Tools/Domain/domain.ML \
    76   Tools/Domain/domain_axioms.ML \
    77   Tools/Domain/domain_constructors.ML \
    78   Tools/Domain/domain_induction.ML \
    79   Tools/Domain/domain_isomorphism.ML \
    80   Tools/Domain/domain_take_proofs.ML \
    81   Tools/cpodef.ML \
    82   Tools/domaindef.ML \
    83   Tools/fixrec.ML \
    84   document/root.tex
    85 	@$(ISABELLE_TOOL) usedir -b -g true $(OUT)/HOL HOLCF
    86 
    87 
    88 ## HOLCF-Tutorial
    89 
    90 HOLCF-Tutorial: HOLCF $(LOG)/HOLCF-Tutorial.gz
    91 
    92 $(LOG)/HOLCF-Tutorial.gz: $(OUT)/HOLCF \
    93   Tutorial/Domain_ex.thy \
    94   Tutorial/Fixrec_ex.thy \
    95   Tutorial/New_Domain.thy \
    96   Tutorial/document/root.tex \
    97   Tutorial/ROOT.ML
    98 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF Tutorial
    99 
   100 
   101 ## HOLCF-Library
   102 
   103 HOLCF-Library: HOLCF $(LOG)/HOLCF-Library.gz
   104 
   105 $(LOG)/HOLCF-Library.gz: $(OUT)/HOLCF \
   106   Library/Defl_Bifinite.thy \
   107   Library/Bool_Discrete.thy \
   108   Library/Char_Discrete.thy \
   109   Library/HOL_Cpo.thy \
   110   Library/Int_Discrete.thy \
   111   Library/List_Cpo.thy \
   112   Library/List_Predomain.thy \
   113   Library/Nat_Discrete.thy \
   114   Library/Option_Cpo.thy \
   115   Library/Stream.thy \
   116   Library/Sum_Cpo.thy \
   117   Library/HOLCF_Library.thy \
   118   Library/ROOT.ML
   119 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF Library
   120 
   121 
   122 ## HOLCF-IMP
   123 
   124 HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
   125 
   126 $(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
   127   IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
   128 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
   129 
   130 
   131 ## HOLCF-ex
   132 
   133 HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
   134 
   135 $(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
   136   ../Library/Nat_Infinity.thy \
   137   ex/Dagstuhl.thy \
   138   ex/Dnat.thy \
   139   ex/Domain_Proofs.thy \
   140   ex/Fix2.thy \
   141   ex/Focus_ex.thy \
   142   ex/Hoare.thy \
   143   ex/Letrec.thy \
   144   ex/Loop.thy \
   145   ex/Pattern_Match.thy \
   146   ex/Powerdomain_ex.thy \
   147   ex/ROOT.ML
   148 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
   149 
   150 
   151 ## HOLCF-FOCUS
   152 
   153 HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
   154 
   155 $(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF \
   156   Library/Stream.thy \
   157   FOCUS/Fstreams.thy \
   158   FOCUS/Fstream.thy FOCUS/FOCUS.thy \
   159   FOCUS/Stream_adm.thy ../Library/Continuity.thy \
   160   FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
   161 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
   162 
   163 ## IOA
   164 
   165 IOA: HOLCF $(OUT)/IOA
   166 
   167 $(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
   168   IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
   169   IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
   170   IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
   171   IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
   172   IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
   173   IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
   174   IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
   175   IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
   176   IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
   177   IOA/meta_theory/SimCorrectness.thy
   178 	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
   179 
   180 
   181 ## IOA-ABP
   182 
   183 IOA-ABP: IOA $(LOG)/IOA-ABP.gz
   184 
   185 $(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
   186   IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
   187   IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
   188   IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
   189   IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
   190   IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
   191   IOA/ABP/Spec.thy
   192 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
   193 
   194 ## IOA-NTP
   195 
   196 IOA-NTP: IOA $(LOG)/IOA-NTP.gz
   197 
   198 $(LOG)/IOA-NTP.gz: $(OUT)/IOA \
   199   IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
   200   IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
   201   IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
   202   IOA/NTP/Spec.thy
   203 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
   204 
   205 
   206 ## IOA-Storage
   207 
   208 IOA-Storage: IOA $(LOG)/IOA-Storage.gz
   209 
   210 $(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
   211   IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
   212   IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
   213 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
   214 
   215 
   216 ## IOA-ex
   217 
   218 IOA-ex: IOA $(LOG)/IOA-ex.gz
   219 
   220 $(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
   221 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
   222 
   223 
   224 ## clean
   225 
   226 clean:
   227 	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
   228 	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
   229 	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
   230 	  $(LOG)/IOA-Storage.gz $(LOG)/HOLCF-Library.gz		\
   231 	  $(LOG)/IOA-ex.gz $(LOG)/HOLCF-Tutorial.gz