src/HOLCF/IsaMakefile
author mueller
Wed, 30 Apr 1997 12:06:18 +0200
changeset 3081 71c54eb8ed1d
parent 3057 a5a42ff18a40
child 3118 24dae6222579
permissions -rw-r--r--
added IOA (meta theory and ABP, NTP examples);
     1 #
     2 # $Id$
     3 #
     4 # IsaMakefile for HOLCF
     5 #
     6 
     7 #### Base system
     8 
     9 OUT = $(ISABELLE_OUTPUT_DIR)
    10 
    11 THYS = Porder.thy Porder0.thy Pcpo.thy \
    12        Fun1.thy Fun2.thy Fun3.thy \
    13        Cfun1.thy Cfun2.thy Cfun3.thy Cont.thy \
    14        Cprod1.thy Cprod2.thy Cprod3.thy \
    15        Sprod0.thy Sprod1.thy Sprod2.thy Sprod3.thy \
    16        Ssum0.thy Ssum1.thy Ssum2.thy Ssum3.thy \
    17        Up1.thy Up2.thy Up3.thy Fix.thy ccc1.thy \
    18        One.thy Tr.thy\
    19        Discrete0.thy Discrete1.thy Discrete.thy\
    20        Lift1.thy Lift2.thy Lift3.thy HOLCF.thy
    21 
    22 ONLYTHYS = Lift.thy
    23 
    24 FILES = ROOT.ML $(THYS) $(ONLYTHYS) $(THYS:.thy=.ML) \
    25         ax_ops/holcflogic.ML ax_ops/thy_axioms.ML \
    26         ax_ops/thy_ops.ML    ax_ops/thy_syntax.ML \
    27         domain/library.ML  domain/syntax.ML   domain/axioms.ML \
    28         domain/theorems.ML domain/extender.ML domain/interface.ML
    29 
    30 $(OUT)/HOLCF: $(OUT)/HOL $(FILES)
    31 	@$(ISATOOL) usedir -b $(OUT)/HOL HOLCF
    32 	@chmod -w $@
    33 
    34 $(OUT)/HOL:
    35 	@cd ../HOL; $(ISATOOL) make
    36 
    37 
    38 
    39 #### Tests and examples
    40 
    41 ## IOA meta theory and examples
    42 
    43 
    44 IOA_FILES = IOA/ROOT.ML IOA/meta_theory/Traces.thy \
    45   IOA/meta_theory/Asig.ML IOA/meta_theory/Asig.thy \
    46   IOA/meta_theory/CompoScheds.thy IOA/meta_theory/CompoExecs.ML \
    47   IOA/meta_theory/CompoTraces.thy IOA/meta_theory/CompoScheds.ML \
    48   IOA/meta_theory/CompoTraces.ML IOA/meta_theory/Sequence.ML \
    49   IOA/meta_theory/Seq.thy IOA/meta_theory/RefCorrectness.thy \
    50   IOA/meta_theory/Automata.thy IOA/meta_theory/Traces.ML \
    51   IOA/meta_theory/Seq.ML IOA/meta_theory/RefMappings.ML \
    52   IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/ShortExecutions.ML \
    53   IOA/meta_theory/IOA.thy IOA/meta_theory/IOA.ML \
    54   IOA/meta_theory/Sequence.thy IOA/meta_theory/Automata.ML \
    55   IOA/meta_theory/CompoExecs.thy IOA/meta_theory/RefMappings.thy \
    56   IOA/meta_theory/RefCorrectness.ML IOA/meta_theory/Compositionality.ML \
    57   IOA/meta_theory/Compositionality.thy
    58 
    59 
    60 IOA_ABP_FILES = IOA/ABP/Abschannel.thy \
    61   IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.ML \
    62   IOA/ABP/Action.thy IOA/ABP/Check.ML \
    63   IOA/ABP/Correctness.ML IOA/ABP/Correctness.thy \
    64   IOA/ABP/Env.thy IOA/ABP/Impl.thy \
    65   IOA/ABP/Impl_finite.thy IOA/ABP/Lemmas.ML \
    66   IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
    67   IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy \
    68   IOA/ABP/Sender.thy IOA/ABP/Spec.thy 
    69 
    70 
    71 IOA_NTP_FILES = IOA/NTP/Abschannel.ML \
    72   IOA/NTP/Abschannel.thy IOA/NTP/Action.ML  \
    73   IOA/NTP/Action.thy IOA/NTP/Correctness.ML \
    74   IOA/NTP/Correctness.thy IOA/NTP/Impl.ML \
    75   IOA/NTP/Impl.thy IOA/NTP/Lemmas.ML \
    76   IOA/NTP/Lemmas.thy IOA/NTP/Multiset.ML \
    77   IOA/NTP/Multiset.thy IOA/NTP/Packet.ML \
    78   IOA/NTP/Packet.thy IOA/NTP/ROOT.ML \
    79   IOA/NTP/Receiver.ML IOA/NTP/Receiver.thy \
    80   IOA/NTP/Sender.ML IOA/NTP/Sender.thy \
    81   IOA/NTP/Spec.thy 
    82 
    83  
    84 IOA: $(OUT)/HOLCF $(IOA_FILES)
    85 	@cd IOA; $(ISATOOL) usedir -b $(OUT)/HOLCF IOA
    86 
    87 IOA_ABP: $(OUT)/IOA $(IOA_ABP_FILES)
    88 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA ABP
    89 
    90 IOA_NTP: $(OUT)/IOA $(IOA_NTP_FILES)
    91 	@cd IOA; $(ISATOOL) usedir $(OUT)/IOA NTP
    92 
    93 ## IMP
    94 
    95 IMP_THYS = IMP/Denotational.thy
    96 IMP_FILES = IMP/ROOT.ML $(IMP_THYS) $(IMP_THYS:.thy=.ML)
    97 
    98 IMP:	$(OUT)/HOLCF $(IMP_FILES)
    99 	@$(ISATOOL) usedir $(OUT)/HOLCF IMP
   100 
   101 ## Miscellaneous examples
   102 
   103 EX_THYS = ex/Classlib.thy ex/Witness.thy\
   104 	  ex/Dnat.thy ex/Dlist.thy ex/Stream.thy\
   105 	  ex/Dagstuhl.thy ex/Focus_ex.thy ex/Fix2.thy\
   106 	  ex/Hoare.thy ex/Loop.thy
   107 
   108 EX_FILES = ex/ROOT.ML ex/loeckx.ML $(EX_THYS) $(EX_THYS:.thy=.ML)
   109 
   110 EX:	ex/ROOT.ML $(EX_FILES)
   111 	@$(ISATOOL) usedir $(OUT)/HOLCF ex
   112 
   113 ## Full test
   114 
   115 test:	$(OUT)/HOLCF IOA IOA_ABP IOA_NTP IMP EX
   116 	echo 'Test examples ran successfully' > test
   117 
   118 .PRECIOUS: $(OUT)/HOL $(OUT)/HOLCF