src/HOL/IsaMakefile
author slotosch
Fri, 04 Apr 1997 16:04:28 +0200
changeset 2909 22a8a97b66be
parent 2900 d5e1a2b869a2
child 2919 953a47dc0519
permissions -rw-r--r--
Added Example Quot CVS ----------------------------------------------------------------------
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     1
#
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     2
# $Id$
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     3
#
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     4
# IsaMakefile for HOL
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     5
#
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     6
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     7
#### Base system
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     8
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
     9
OUT = $(ISABELLE_OUTPUT_DIR)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    10
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    11
NAMES = HOL Ord Set Fun subset equalities Prod Relation Trancl Sum WF \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    12
	mono Lfp Gfp Nat intr_elim indrule Inductive Finite Arith \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    13
	Sexp Univ List RelPow Option
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    14
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    15
FILES = ROOT.ML add_ind_def.ML datatype.ML hologic.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    16
	ind_syntax.ML cladata.ML simpdata.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    17
	typedef.ML thy_syntax.ML thy_data.ML ../Pure/section_utils.ML \
2889
a86f3b5f3cc7 Added blast.ML as a dependency
paulson
parents: 2827
diff changeset
    18
	../Provers/hypsubst.ML ../Provers/classical.ML ../Provers/blast.ML \
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    19
	../Provers/simplifier.ML ../Provers/splitter.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    20
	$(NAMES:%=%.thy) $(NAMES:%=%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    21
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    22
$(OUT)/HOL: $(OUT)/Pure $(FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
    23
	@$(ISATOOL) usedir -b $(OUT)/Pure HOL
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    24
	@chmod -w $@
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    25
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    26
$(OUT)/Pure:
2473
3eb12c85846c minor tuning;
wenzelm
parents: 2448
diff changeset
    27
	@cd ../Pure; $(ISATOOL) make
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    28
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    29
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    30
## TFL (requires integration into HOL proper)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    31
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    32
TFL_NAMES = mask tfl thms thry usyntax utils
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    33
TFL_FILES = ../TFL/ROOT.ML ../TFL/sys.sml \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    34
            $(TFL_NAMES:%=../TFL/%.sig) $(TFL_NAMES:%=../TFL/%.sml)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    35
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    36
TFL:	$(OUT)/HOL $(TFL_FILES)
2607
a224a2865e05 TFL: missing -q option!
wenzelm
parents: 2545
diff changeset
    37
	@$(ISABELLE) -qe 'exit_use_dir"../TFL"; quit();' HOL
2473
3eb12c85846c minor tuning;
wenzelm
parents: 2448
diff changeset
    38
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    39
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    40
2473
3eb12c85846c minor tuning;
wenzelm
parents: 2448
diff changeset
    41
#### Tests and examples
3eb12c85846c minor tuning;
wenzelm
parents: 2448
diff changeset
    42
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    43
## IMP-semantics example
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    44
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    45
IMP_NAMES = Expr Com Natural Transition Denotation Hoare VC
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    46
IMP_FILES = IMP/ROOT.ML $(IMP_NAMES:%=IMP/%.thy) $(IMP_NAMES:%=IMP/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    47
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    48
IMP:	$(OUT)/HOL $(IMP_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
    49
	@$(ISATOOL) usedir $(OUT)/HOL IMP
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    50
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    51
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    52
## Hoare logic
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    53
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    54
Hoare_NAMES = Hoare Arith2 Examples
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    55
Hoare_FILES = Hoare/ROOT.ML $(Hoare_NAMES:%=Hoare/%.thy) \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    56
	      $(Hoare_NAMES:%=Hoare/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    57
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    58
Hoare:	$(OUT)/HOL $(Hoare_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
    59
	@$(ISATOOL) usedir $(OUT)/HOL Hoare
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    60
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    61
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    62
## The integers in HOL
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    63
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    64
INTEG_NAMES = Equiv Integ Group Ring Lagrange IntRingDefs IntRing
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    65
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    66
INTEG_FILES = Integ/ROOT.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    67
	      $(INTEG_NAMES:%=Integ/%.thy) $(INTEG_NAMES:%=Integ/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    68
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    69
Integ:	$(OUT)/HOL $(INTEG_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
    70
	@$(ISATOOL) usedir $(OUT)/HOL Integ
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    71
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    72
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    73
## I/O Automata
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    74
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    75
IOA_NTP_NAMES = Abschannel Action Correctness Impl Lemmas Multiset Packet \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    76
		Receiver Sender
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    77
IOA_ABP_NAMES = Action Correctness Lemmas
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    78
IOA_MT_NAMES = Asig IOA Solve
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    79
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    80
IOA_FILES = IOA/NTP/ROOT.ML IOA/ABP/ROOT.ML IOA/NTP/Spec.thy \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    81
 $(IOA_NTP_NAMES:%=IOA/NTP/%.thy) $(IOA_NTP_NAMES:%=IOA/NTP/%.ML) \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    82
 IOA/ABP/Abschannel.thy IOA/ABP/Abschannel_finite.thy IOA/ABP/Env.thy \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    83
 IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy IOA/ABP/Packet.thy \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    84
 IOA/ABP/Receiver.thy IOA/ABP/Sender.thy IOA/ABP/Spec.thy \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    85
 $(IOA_ABP_NAMES:%=IOA/ABP/%.thy) $(IOA_ABP_NAMES:%=IOA/ABP/%.ML) \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    86
 $(IOA_MT_NAMES:%=IOA/meta_theory/%.thy) $(IOA_MT_NAMES:%=IOA/meta_theory/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    87
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    88
IOA:	$(OUT)/HOL $(IOA_FILES)
2827
cce436a62740 improved session names;
wenzelm
parents: 2826
diff changeset
    89
	@$(ISATOOL) usedir -s IOA-NTP $(OUT)/HOL IOA/NTP
cce436a62740 improved session names;
wenzelm
parents: 2826
diff changeset
    90
	@$(ISATOOL) usedir -s IOA-ABP $(OUT)/HOL IOA/ABP
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    91
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    92
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    93
## Authentication & Security Protocols
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    94
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    95
Auth_NAMES = Message Shared NS_Shared OtwayRees OtwayRees_AN OtwayRees_Bad \
2473
3eb12c85846c minor tuning;
wenzelm
parents: 2448
diff changeset
    96
	     Recur WooLam Yahalom Yahalom2 Public NS_Public_Bad NS_Public
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    97
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    98
AUTH_FILES = Auth/ROOT.ML $(AUTH_NAMES:%=Auth/%.thy) $(AUTH_NAMES:%=Auth/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
    99
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   100
Auth:	$(OUT)/HOL $(AUTH_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   101
	@$(ISATOOL) usedir $(OUT)/HOL Auth
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   102
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   103
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   104
## Properties of substitutions
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   105
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   106
SUBST_NAMES = AList Setplus Subst Unifier UTerm UTLemmas
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   107
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   108
SUBST_FILES = Subst/ROOT.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   109
	      $(SUBST_NAMES:%=Subst/%.thy) $(SUBST_NAMES:%=Subst/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   110
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   111
Subst:	$(OUT)/HOL $(SUBST_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   112
	@$(ISATOOL) usedir $(OUT)/HOL Subst
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   113
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   114
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   115
## Confluence of Lambda-calculus
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   116
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   117
LAMBDA_NAMES = Lambda ParRed Commutation Eta
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   118
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   119
LAMBDA_FILES = Lambda/ROOT.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   120
	      $(LAMBDA_NAMES:%=Lambda/%.thy) $(LAMBDA_NAMES:%=Lambda/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   121
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   122
Lambda:	 $(OUT)/HOL $(LAMBDA_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   123
	@$(ISATOOL) usedir $(OUT)/HOL Lambda
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   124
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   125
2527
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   126
## Type inference without let
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   127
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   128
W0_NAMES = I Maybe MiniML Type W
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   129
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   130
W0_FILES = W0/ROOT.ML \
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   131
	      $(W0_NAMES:%=W0/%.thy) $(W0_NAMES:%=W0/%.ML)
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   132
2527
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   133
W0: $(OUT)/HOL $(W0_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   134
	@$(ISATOOL) usedir $(OUT)/HOL W0
2527
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   135
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   136
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   137
## Type inference with let
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   138
0ba3755ce398 Added W0 and modified MiniML.
nipkow
parents: 2473
diff changeset
   139
MINIML_NAMES = Generalize Instance Maybe MiniML Type W
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   140
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   141
MINIML_FILES = MiniML/ROOT.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   142
	      $(MINIML_NAMES:%=MiniML/%.thy) $(MINIML_NAMES:%=MiniML/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   143
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   144
MiniML: $(OUT)/HOL $(MINIML_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   145
	@$(ISATOOL) usedir $(OUT)/HOL MiniML
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   146
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   147
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   148
## Lexical analysis
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   149
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   150
LEX_FILES = Auto AutoChopper Chopper Prefix
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   151
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   152
LEX_FILES = Lex/ROOT.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   153
	    $(LEX_NAMES:%=Lex/%.thy) $(LEX_NAMES:%=Lex/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   154
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   155
Lex:	$(OUT)/HOL $(LEX_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   156
	@$(ISATOOL) usedir $(OUT)/HOL Lex
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   157
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   158
2545
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   159
## Axiomatic type classes examples
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   160
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   161
AXC_GROUP_FILES = Group.ML Group.thy GroupDefs.ML GroupDefs.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   162
	GroupInsts.thy Monoid.thy MonoidGroupInsts.thy ROOT.ML Sigs.thy
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   163
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   164
AXC_LATTICE_FILES = CLattice.ML CLattice.thy LatInsts.ML LatInsts.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   165
	LatMorph.ML LatMorph.thy LatPreInsts.ML LatPreInsts.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   166
	Lattice.ML Lattice.thy OrdDefs.ML OrdDefs.thy OrdInsts.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   167
	Order.ML Order.thy ROOT.ML tools.ML
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   168
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   169
AXC_TUTORIAL_FILES = BoolGroupInsts.thy Group.ML Group.thy Monoid.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   170
	MonoidGroupInsts.thy ProdGroupInsts.thy Product.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   171
	ProductInsts.thy ROOT.ML Semigroup.thy Semigroups.thy Sigs.thy \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   172
	Xor.ML Xor.thy
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   173
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   174
AXCLASSES_FILES = AxClasses/ROOT.ML \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   175
	$(AXC_GROUP_FILES:%=AxClasses/Group/%) \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   176
	$(AXC_LATTICE_FILES:%=AxClasses/Lattice/%) \
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   177
	$(AXC_TUTORIAL_FILES:%=AxClasses/Tutorial/%)
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   178
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   179
AxClasses: $(OUT)/HOL $(AXCLASSES_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   180
	@$(ISATOOL) usedir $(OUT)/HOL AxClasses
2827
cce436a62740 improved session names;
wenzelm
parents: 2826
diff changeset
   181
	@$(ISATOOL) usedir -s AxClasses-Group $(OUT)/HOL AxClasses/Group
cce436a62740 improved session names;
wenzelm
parents: 2826
diff changeset
   182
	@$(ISATOOL) usedir -s AxClasses-Lattice $(OUT)/HOL AxClasses/Lattice
cce436a62740 improved session names;
wenzelm
parents: 2826
diff changeset
   183
	@$(ISATOOL) usedir -s AxClasses-Tutorial $(OUT)/HOL AxClasses/Tutorial
2545
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   184
d10abc8c11fb added AxClasses test;
wenzelm
parents: 2527
diff changeset
   185
2909
22a8a97b66be Added Example Quot
slotosch
parents: 2900
diff changeset
   186
## Higher-order quotients and example fractionals
2900
d5e1a2b869a2 added Quot examples;
wenzelm
parents: 2889
diff changeset
   187
2909
22a8a97b66be Added Example Quot
slotosch
parents: 2900
diff changeset
   188
QUOT_FILES = Quot/ROOT.ML Quot/PER0.thy Quot/PER0.ML Quot/PER.thy Quot/PER.ML \
22a8a97b66be Added Example Quot
slotosch
parents: 2900
diff changeset
   189
	Quot/HQUOT.thy Quot/HQUOT.ML Quot/NPAIR.thy Quot/NPAIR.ML \
22a8a97b66be Added Example Quot
slotosch
parents: 2900
diff changeset
   190
	Quot/FRACT.thy Quot/FRACT.ML
2900
d5e1a2b869a2 added Quot examples;
wenzelm
parents: 2889
diff changeset
   191
Quot:	$(OUT)/HOL $(QUOT_FILES)
d5e1a2b869a2 added Quot examples;
wenzelm
parents: 2889
diff changeset
   192
	@$(ISATOOL) usedir $(OUT)/HOL Quot
d5e1a2b869a2 added Quot examples;
wenzelm
parents: 2889
diff changeset
   193
d5e1a2b869a2 added Quot examples;
wenzelm
parents: 2889
diff changeset
   194
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   195
## Miscellaneous examples
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   196
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   197
EX_NAMES = String BT Perm Comb InSort Qsort LexProd \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   198
	   Puzzle Mutil Primes NatSum SList LList Acc PropLog Term Simult MT
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   199
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   200
EX_FILES = ex/ROOT.ML ex/cla.ML ex/meson.ML ex/mesontest.ML ex/rel.ML \
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   201
	   ex/set.ML $(EX_NAMES:%=ex/%.thy) $(EX_NAMES:%=ex/%.ML)
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   202
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   203
ex:	$(OUT)/HOL $(EX_FILES)
2826
0b0d9e3bc661 isatool usedir;
wenzelm
parents: 2635
diff changeset
   204
	@$(ISATOOL) usedir $(OUT)/HOL ex
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   205
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   206
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   207
## Full test
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   208
2635
835820c1591d cosmetic
oheimb
parents: 2607
diff changeset
   209
test:	$(OUT)/HOL \
2900
d5e1a2b869a2 added Quot examples;
wenzelm
parents: 2889
diff changeset
   210
	TFL IMP Hoare Lex Integ Auth Subst Lambda W0 MiniML IOA AxClasses Quot ex
2448
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   211
	echo 'Test examples ran successfully' > test
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   212
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   213
61337170db84 IsaMakefile for HOL;
wenzelm
parents:
diff changeset
   214
.PRECIOUS: $(OUT)/Pure $(OUT)/HOL