X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fdaemons%2Frdfly%2FMakefile;h=26e296409b4765f4a31459680df41ff2ee4c5da1;hb=a50715f0d36c627695c86dd8733a83e18f5e424a;hp=779bb7b44c9cc6de0424a91e78194128b3becbf6;hpb=76ad23ea1e83e8c187a4593027e9baed1bb022e3;p=helm.git diff --git a/helm/software/daemons/rdfly/Makefile b/helm/software/daemons/rdfly/Makefile index 779bb7b44..26e296409 100644 --- a/helm/software/daemons/rdfly/Makefile +++ b/helm/software/daemons/rdfly/Makefile @@ -2,7 +2,11 @@ BIN_DIR = /usr/local/bin REQUIRES = mysql http helm-registry PREDICATES = OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o +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