]> matita.cs.unibo.it Git - helm.git/blob - components/tactics/Makefile
Up to absolute value
[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         autoTypes.mli \
10         autoCache.mli \
11         paramodulation/utils.mli \
12         paramodulation/subst.mli\
13         paramodulation/equality.mli\
14         paramodulation/founif.mli\
15         paramodulation/equality_indexing.mli\
16         paramodulation/indexing.mli \
17         paramodulation/saturation.mli \
18         variousTactics.mli \
19         introductionTactics.mli eliminationTactics.mli negationTactics.mli \
20         equalityTactics.mli \
21         auto.mli \
22         autoTactic.mli \
23         discriminationTactics.mli \
24         inversion.mli inversion_principle.mli ring.mli setoids.mli \
25         fourier.mli fourierR.mli fwdSimplTactic.mli history.mli \
26         statefulProofEngine.mli tactics.mli declarative.mli
27
28 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
29
30
31 all:
32
33 # we omit dependencies since it is a pain when distributing
34 tactics_mli_deps=tactics.ml *Tactics.mli *Tactic.mli fourierR.mli ring.mli paramodulation/indexing.mli
35 tactics.mli: tactics.ml
36         $(H)echo "  OCAMLC -i $$(tactics_mli_deps) > $@"
37         $(H)echo "(* GENERATED FILE, DO NOT EDIT. STAMP:`date` *)" > $@
38         $(H)$(OCAMLC) -I paramodulation -i tactics.ml >> $@
39 # FG: tactics.ml was (wrongly) $(tactics_mli_deps)
40
41 UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
42 STR=$(shell $(OCAMLFIND) query str)
43 MY_SYNTAXOPTIONS = -pp "camlp4o -I $(UTF8DIR) -I $(STR) str.cma pa_extend.cmo profiling_macros.cma -loc loc"
44 paramodulation/%.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
45 paramodulation/%.cmo: OCAMLC = $(OCAMLC_P4)
46 paramodulation/%.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
47 paramodulation/%.cmx: OCAMLOPT = $(OCAMLOPT_P4)
48
49 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
50 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
51
52 STATS_EXCLUDE = tactics.mli
53
54 include ../../Makefile.defs
55 include ../Makefile.common
56
57 OCAMLOPTIONS+= -I paramodulation
58 OCAMLDEPOPTIONS+= -I paramodulation