]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mlminidom/Makefile.in
http:/ ==> http://
[helm.git] / helm / DEVEL / mlminidom / Makefile.in
index be70e3224911d4be144f0dc2647eec291852fe5a..e18583fc7189bc9cb359a16ab891212e6156570d 100644 (file)
@@ -52,12 +52,12 @@ depend: *.ml *.mli
 include .depend
 
 $(ARCHIVE): $(OBJECTS)
-       $(OCAMLC) -a -custom -package "$(REQUIRES)" -linkpkg \
+       $(OCAMLC) -a -custom -package "$(REQUIRES)" \
         -predicates "$(PREDICATES)" -o $@ $^ \
         -cclib "`glib-config --libs` `minidom-config --libs`"
 
 $(ARCHIVE_OPT): $(OBJECTS_OPT)
-       $(OCAMLOPT) -a -package "$(REQUIRES)" -linkpkg \
+       $(OCAMLOPT) -a -package "$(REQUIRES)" \
         -predicates "$(PREDICATES)" -o $@ $^ \
         -cclib "`glib-config --libs` `minidom-config --libs`"
 
@@ -65,7 +65,7 @@ test: test.ml $(OBJECTS_C) $(ARCHIVE)
        mkdir -p $(TMPPKGDIR)
        cp $(OBJECTS_C) $(ARCHIVE) $(INST) $(TMPPKGDIR)
        cp test.ml $(TMPDIR)
-       cd $(TMPDIR) ; export OCAMLPATH=. ; \
+       cd $(TMPDIR) ; export OCAMLPATH=.:$$OCAMLPATH ; \
        $(OCAMLC) -package "$(PACKAGE)" -linkpkg -predicates "" -o $@ test.ml
        mv $(TMPDIR)/$@ .
        rm -r $(TMPDIR)
@@ -74,7 +74,7 @@ test.opt: test.ml $(OBJECTS_C) $(ARCHIVE_C) $(ARCHIVE_OPT)
        mkdir -p $(TMPPKGDIR)
        cp $(OBJECTS_C) $(ARCHIVE_C) $(ARCHIVE_OPT) $(INST) $(TMPPKGDIR)
        cp test.ml $(TMPDIR)
-       cd $(TMPDIR) ; export OCAMLPATH=. ; \
+       cd $(TMPDIR) ; export OCAMLPATH=.:$$OCAMLPATH ; \
        $(OCAMLOPT) -package "$(PACKAGE)" -linkpkg -predicates "" -o $@ test.ml
        mv $(TMPDIR)/$@ .
        rm -r $(TMPDIR)