]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/tactics/Makefile
transcript: now we can generate procedural output
[helm.git] / helm / software / components / tactics / Makefile
1 PACKAGE = tactics
2
3 INTERFACE_FILES = \
4         proofEngineTypes.mli \
5         proofEngineHelpers.mli proofEngineReduction.mli \
6         continuationals.mli \
7         tacticals.mli reductionTactics.mli proofEngineStructuralRules.mli \
8         primitiveTactics.mli hashtbl_equiv.mli metadataQuery.mli \
9         universe.mli \
10         autoTypes.mli \
11         autoCache.mli \
12         paramodulation/utils.mli \
13         closeCoercionGraph.mli \
14         paramodulation/subst.mli \
15         paramodulation/equality.mli\
16         paramodulation/founif.mli\
17         paramodulation/equality_indexing.mli\
18         paramodulation/indexing.mli \
19         paramodulation/saturation.mli \
20         variousTactics.mli \
21         compose.mli \
22         introductionTactics.mli eliminationTactics.mli negationTactics.mli \
23         equalityTactics.mli \
24         auto.mli \
25         destructTactic.mli \
26         inversion.mli inversion_principle.mli ring.mli setoids.mli \
27         fourier.mli fourierR.mli fwdSimplTactic.mli history.mli \
28         statefulProofEngine.mli tactics.mli declarative.mli
29
30 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
31
32
33 all:
34
35 # we omit dependencies since it is a pain when distributing
36 tactics_mli_deps = tactics.ml *Tactics.mli *Tactic.mli fourierR.mli ring.mli paramodulation/indexing.mli
37 tactics.mli: tactics.ml
38         $(H)echo "  OCAMLC -i $$(tactics_mli_deps) > $@"
39         $(H)echo "(* GENERATED FILE, DO NOT EDIT. STAMP:`date` *)" > $@
40         $(H)$(OCAMLC) -I paramodulation -i tactics.ml >> $@
41
42 UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
43 STR=$(shell $(OCAMLFIND) query str)
44 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(STR) str.cma pa_extend.cmo profiling_macros.cma -loc loc"
45 paramodulation/%.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
46 paramodulation/%.cmo: OCAMLC = $(OCAMLC_P4)
47 paramodulation/%.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
48 paramodulation/%.cmx: OCAMLOPT = $(OCAMLOPT_P4)
49
50 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
51 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
52
53 STATS_EXCLUDE = tactics.mli
54
55 include ../../Makefile.defs
56 include ../Makefile.common
57
58 OCAMLOPTIONS+= -I paramodulation
59 OCAMLDEPOPTIONS+= -I paramodulation
60 #PREPROCOPTIONS:=
61 #OCAML_PROF=p -p a