-tactics.mli: tactics.ml *Tactics.mli *Tactic.mli fourierR.mli ring.mli paramodulation/indexing.mli
- @echo " OCAMLC -i $< > $@"
- $(H)echo "(* GENERATED FILE, DO NOT EDIT *)" > $@
- $(H)$(OCAMLC) -I paramodulation -i $< >> $@
+# we omit dependencies since it is a pain when distributing
+tactics_mli_deps = tactics.ml *Tactics.mli *Tactic.mli fourierR.mli ring.mli paramodulation/indexing.mli
+tactics.mli: tactics.ml
+ $(H)echo " OCAMLC -i $$(tactics_mli_deps) > $@"
+ $(H)echo "(* GENERATED FILE, DO NOT EDIT. STAMP:`date` *)" > $@
+ $(H)$(OCAMLC) -I paramodulation -i tactics.ml >> $@
+
+UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
+STR=$(shell $(OCAMLFIND) query str)
+MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(STR) str.cma pa_extend.cmo profiling_macros.cma -loc loc"
+paramodulation/%.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+paramodulation/%.cmo: OCAMLC = $(OCAMLC_P4)
+paramodulation/%.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+paramodulation/%.cmx: OCAMLOPT = $(OCAMLOPT_P4)
+
+depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)