]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/rdfly/Makefile
wrong dependency removed
[helm.git] / daemons / rdfly / Makefile
index 87ef3be5f66c1335e9cb29531b961e2429b5923e..a762f5273bbf3a2a3c2a97c8011068ebbb33b39d 100644 (file)
@@ -1,8 +1,12 @@
 BIN_DIR = /usr/local/bin
-REQUIRES = mysql http helm-registry
+REQUIRES = http helm-registry helm-hmysql helm-library
 PREDICATES = 
 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o
-OCAMLFIND = OCAMLPATH=../../components/METAS/ ocamlfind
+ifeq ($(origin OCAMLPATH), undefined)
+OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind
+else
+OCAMLFIND = ocamlfind
+endif
 OCAMLC = $(OCAMLFIND) ocamlc -thread $(OCAMLOPTIONS)
 OCAMLOPT = $(OCAMLFIND) ocamlopt -thread $(OCAMLOPTIONS)
 OCAMLDEP = ocamldep -pp camlp4o