]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/paramodulation/Makefile
ocaml 3.09 transition
[helm.git] / helm / ocaml / paramodulation / Makefile
index 321f5fba7a4e944e738eb849ed2e7b76e8a157c2..7a3dbf626cfd1ba945f8add6e28c1428998653da 100644 (file)
@@ -4,7 +4,7 @@ REQUIRES = \
        helm-registry \
        helm-cic_transformations \
        helm-tactics \
-       helm-cic_textual_parser2 \
+       helm-cic_disambiguation \
        mysql
 
 INTERFACE_FILES = \
@@ -24,6 +24,22 @@ IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) \
 
 include ../Makefile.common
 
+
+paramodulation.cmo: $(IMPLEMENTATION_FILES:%.ml=%.cmo)
+       $(OCAMLC) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmo)
+
+paramodulation.cmx: $(IMPLEMENTATION_FILES:%.ml=%.cmx)
+       $(OCAMLOPT) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmx)
+
+
+$(ARCHIVE): paramodulation.cmo $(LIBRARIES)
+       $(OCAMLC) $(OCAMLARCHIVEOPTIONS) -a -o $@ \
+               paramodulation.cmo
+
+$(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) \