src/HOLCF/IsaMakefile
author huffman
Sat Oct 16 16:22:42 2010 -0700 (2010-10-16)
changeset 40026 8f8f18a88685
parent 40001 666c3751227c
child 40040 3adb92ee2f22
permissions -rw-r--r--
remove last few dependencies on domain_library.ML and delete it; temporarily disable emptiness check
     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   CompactBasis.thy \
    43   Completion.thy \
    44   Cont.thy \
    45   ConvexPD.thy \
    46   Cprod.thy \
    47   Discrete.thy \
    48   Deflation.thy \
    49   Domain.thy \
    50   Domain_Aux.thy \
    51   Fixrec.thy \
    52   Fix.thy \
    53   Fun_Cpo.thy \
    54   HOLCF.thy \
    55   Lift.thy \
    56   LowerPD.thy \
    57   One.thy \
    58   Pcpodef.thy \
    59   Pcpo.thy \
    60   Porder.thy \
    61   Powerdomains.thy \
    62   Product_Cpo.thy \
    63   Representable.thy \
    64   Sprod.thy \
    65   Ssum.thy \
    66   Tr.thy \
    67   Universal.thy \
    68   UpperPD.thy \
    69   Up.thy \
    70   Tools/cont_consts.ML \
    71   Tools/cont_proc.ML \
    72   Tools/holcf_library.ML \
    73   Tools/Domain/domain_extender.ML \
    74   Tools/Domain/domain_axioms.ML \
    75   Tools/Domain/domain_constructors.ML \
    76   Tools/Domain/domain_isomorphism.ML \
    77   Tools/Domain/domain_take_proofs.ML \
    78   Tools/Domain/domain_theorems.ML \
    79   Tools/fixrec.ML \
    80   Tools/pcpodef.ML \
    81   Tools/repdef.ML \
    82   document/root.tex
    83 	@$(ISABELLE_TOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
    84 
    85 
    86 ## HOLCF-Tutorial
    87 
    88 HOLCF-Tutorial: HOLCF $(LOG)/HOLCF-Tutorial.gz
    89 
    90 $(LOG)/HOLCF-Tutorial.gz: $(OUT)/HOLCF \
    91   Tutorial/Domain_ex.thy \
    92   Tutorial/Fixrec_ex.thy \
    93   Tutorial/New_Domain.thy \
    94   Tutorial/document/root.tex \
    95   Tutorial/ROOT.ML
    96 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF Tutorial
    97 
    98 
    99 ## HOLCF-Library
   100 
   101 HOLCF-Library: HOLCF $(LOG)/HOLCF-Library.gz
   102 
   103 $(LOG)/HOLCF-Library.gz: $(OUT)/HOLCF \
   104   Library/Defl_Bifinite.thy \
   105   Library/List_Cpo.thy \
   106   Library/Stream.thy \
   107   Library/Strict_Fun.thy \
   108   Library/Sum_Cpo.thy \
   109   Library/HOLCF_Library.thy \
   110   Library/ROOT.ML
   111 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF Library
   112 
   113 
   114 ## HOLCF-IMP
   115 
   116 HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
   117 
   118 $(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
   119   IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
   120 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
   121 
   122 
   123 ## HOLCF-ex
   124 
   125 HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
   126 
   127 $(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
   128   ../HOL/Library/Nat_Infinity.thy \
   129   ex/Dagstuhl.thy \
   130   ex/Dnat.thy \
   131   ex/Domain_Proofs.thy \
   132   ex/Fix2.thy \
   133   ex/Focus_ex.thy \
   134   ex/Hoare.thy \
   135   ex/Letrec.thy \
   136   ex/Loop.thy \
   137   ex/Pattern_Match.thy \
   138   ex/Powerdomain_ex.thy \
   139   ex/ROOT.ML
   140 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
   141 
   142 
   143 ## HOLCF-FOCUS
   144 
   145 HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
   146 
   147 $(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF \
   148   Library/Stream.thy \
   149   FOCUS/Fstreams.thy \
   150   FOCUS/Fstream.thy FOCUS/FOCUS.thy \
   151   FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
   152   FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
   153 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
   154 
   155 ## IOA
   156 
   157 IOA: HOLCF $(OUT)/IOA
   158 
   159 $(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
   160   IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
   161   IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
   162   IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
   163   IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
   164   IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
   165   IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
   166   IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
   167   IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
   168   IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
   169   IOA/meta_theory/SimCorrectness.thy
   170 	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
   171 
   172 
   173 ## IOA-ABP
   174 
   175 IOA-ABP: IOA $(LOG)/IOA-ABP.gz
   176 
   177 $(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
   178   IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
   179   IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
   180   IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
   181   IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
   182   IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
   183   IOA/ABP/Spec.thy
   184 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
   185 
   186 ## IOA-NTP
   187 
   188 IOA-NTP: IOA $(LOG)/IOA-NTP.gz
   189 
   190 $(LOG)/IOA-NTP.gz: $(OUT)/IOA \
   191   IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
   192   IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
   193   IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
   194   IOA/NTP/Spec.thy
   195 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
   196 
   197 
   198 ## IOA-Storage
   199 
   200 IOA-Storage: IOA $(LOG)/IOA-Storage.gz
   201 
   202 $(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
   203   IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
   204   IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
   205 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
   206 
   207 
   208 ## IOA-ex
   209 
   210 IOA-ex: IOA $(LOG)/IOA-ex.gz
   211 
   212 $(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
   213 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
   214 
   215 
   216 ## clean
   217 
   218 clean:
   219 	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz	\
   220 	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz $(OUT)/IOA	\
   221 	  $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz $(LOG)/IOA-NTP.gz	\
   222 	  $(LOG)/IOA-Storage.gz $(LOG)/HOLCF-Library.gz		\
   223 	  $(LOG)/IOA-ex.gz $(LOG)/HOLCF-Tutorial.gz