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