X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2FMakefile;h=85462109008f2e3369dd82824a5d1e705b842e1f;hb=4c2a5e7da43e15d9a5f35d65f6bd6eda9a117d93;hp=94c4c28dfcf453741670e853d0216e26d1283c92;hpb=c3af85c9492385a7a0de0f5aa57df241ee0bd553;p=helm.git diff --git a/helm/ocaml/paramodulation/Makefile b/helm/ocaml/paramodulation/Makefile index 94c4c28df..854621090 100644 --- a/helm/ocaml/paramodulation/Makefile +++ b/helm/ocaml/paramodulation/Makefile @@ -1,29 +1,15 @@ PACKAGE = paramodulation -REQUIRES = \ - helm-registry \ - helm-cic_transformations \ - helm-tactics \ - helm-cic_disambiguation \ - mysql - INTERFACE_FILES = \ utils.mli \ - inference.mli + inference.mli\ + equality_indexing.mli IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) \ - trie.ml \ - path_indexing.ml \ - discrimination_tree.ml \ indexing.ml \ saturation.ml -# saturate_main.ml -# test_indexing.ml - - -include ../helm/ocaml/Makefile.common - +include ../Makefile.common paramodulation.cmo: $(IMPLEMENTATION_FILES:%.ml=%.cmo) $(OCAMLC) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmo) @@ -40,13 +26,11 @@ $(ARCHIVE_OPT): paramodulation.cmx $(LIBRARIES_OPT) $(OCAMLOPT) $(OCAMLARCHIVEOPTIONS) -a -o $@ \ paramodulation.cmx -PARAMOD_OBJS = $(IMPLEMENTATION_FILES:%.ml=%.cmo) \ - saturate_main.cmo -PARAMOD_OBJS_OPT = $(IMPLEMENTATION_FILES:%.ml=%.cmx) \ - saturate_main.cmx - -saturate: $(PARAMOD_OBJS) $(LIBRARIES) - $(OCAMLC) -thread -linkpkg -o $@ $(PARAMOD_OBJS) +PARAMOD_OBJS = $(IMPLEMENTATION_FILES:%.ml=%.cmo) +PARAMOD_OBJS_OPT = $(IMPLEMENTATION_FILES:%.ml=%.cmx) -saturate.opt: $(PARAMOD_OBJS_OPT) $(LIBRARIES) - $(OCAMLOPT) -thread -linkpkg -o $@ $(PARAMOD_OBJS_OPT) +LOCALLINKOPTS = -package helm-cic_disambiguation,helm-content_pres,helm-grafite,helm-grafite_parser +saturate: saturate_main.ml $(PARAMOD_OBJS) $(LIBRARIES) + $(OCAMLC) $(LOCALLINKOPTS) -thread -linkpkg -o $@ $(PARAMOD_OBJS) $< +saturate.opt: saturate_main.ml $(PARAMOD_OBJS_OPT) $(LIBRARIES) + $(OCAMLOPT) $(LOCALLINKOPTS) -thread -linkpkg -o $@ $(PARAMOD_OBJS_OPT) $<