X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=daemons%2Frdfly%2FMakefile;h=26e296409b4765f4a31459680df41ff2ee4c5da1;hb=8b8e35fa200b0e9bfa79481c2d65bebae425406c;hp=779bb7b44c9cc6de0424a91e78194128b3becbf6;hpb=8feb1cda5703daa4371c556593bab63514423a58;p=helm.git diff --git a/daemons/rdfly/Makefile b/daemons/rdfly/Makefile index 779bb7b44..26e296409 100644 --- a/daemons/rdfly/Makefile +++ b/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