]> matita.cs.unibo.it Git - helm.git/blob - components/tactics/Makefile
Move to OCaml 3.10. Requires debian packages from unstable (soon in testing).
[helm.git] / 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         discriminationTactics.mli substTactic.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 # FG: tactics.ml was (wrongly) $(tactics_mli_deps)
42
43 UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
44 STR=$(shell $(OCAMLFIND) query str)
45 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(STR) str.cma pa_extend.cmo profiling_macros.cma -loc loc"
46 paramodulation/%.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
47 paramodulation/%.cmo: OCAMLC = $(OCAMLC_P4)
48 paramodulation/%.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
49 paramodulation/%.cmx: OCAMLOPT = $(OCAMLOPT_P4)
50
51 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
52 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
53
54 STATS_EXCLUDE = tactics.mli
55
56 include ../../Makefile.defs
57 include ../Makefile.common
58
59 OCAMLOPTIONS+= -I paramodulation
60 OCAMLDEPOPTIONS+= -I paramodulation
61 #PREPROCOPTIONS:=
62 #OCAML_PROF=p -p a