X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2FMakefile;h=ff724fa6c900fb048e92083ae0ac0f1871450e5e;hb=1bf23558e2145bcc125102d61f1ca17643d0fd02;hp=a21e59af7251a09a4c35768a88b78075a5ac7ef4;hpb=61380673d7cff22e19041260cbba4a9cbf5c09c5;p=helm.git diff --git a/helm/ocaml/paramodulation/Makefile b/helm/ocaml/paramodulation/Makefile index a21e59af7..ff724fa6c 100644 --- a/helm/ocaml/paramodulation/Makefile +++ b/helm/ocaml/paramodulation/Makefile @@ -1,12 +1,5 @@ PACKAGE = paramodulation -REQUIRES = \ - helm-registry \ - helm-cic_transformations \ - helm-tactics \ - helm-cic_textual_parser2 \ - mysql - INTERFACE_FILES = \ utils.mli \ inference.mli @@ -18,13 +11,8 @@ IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) \ indexing.ml \ saturation.ml -# saturate_main.ml -# test_indexing.ml - - include ../Makefile.common - paramodulation.cmo: $(IMPLEMENTATION_FILES:%.ml=%.cmo) $(OCAMLC) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmo) @@ -40,13 +28,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 +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) $<