X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2FMakefile;h=576b046191b0454c1dfa348c1a0fcd628df2c008;hb=fc35fbb35a01c110f221c52661f1193ea5664aa6;hp=686b2ddd33a904eee3496a4d17002692b84e3468;hpb=5a92117eeff70048d29e91ba24e113155d956e1b;p=helm.git diff --git a/helm/ocaml/getter/Makefile b/helm/ocaml/getter/Makefile index 686b2ddd3..576b04619 100644 --- a/helm/ocaml/getter/Makefile +++ b/helm/ocaml/getter/Makefile @@ -1,36 +1,10 @@ -BIN_DIR = /usr/local/bin -REQUIRES = pxp netclient helm-urimanager pxp netclient +PACKAGE = getter +REQUIRES = pxp netclient helm-urimanager PREDICATES = -OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) -OCAMLDEP = ocamldep -all: clientHTTP.cmo getter.cmo configuration.cmo -opt: clientHTTP.cmx getter.cmx configuration.cmx +INTERFACE_FILES = configuration.mli clientHTTP.mli getter.mli +IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) +EXTRA_OBJECTS_TO_INSTALL = +EXTRA_OBJECTS_TO_CLEAN = -DEPOBJS = clientHTTP.mli clientHTTP.ml getter.mli getter.ml configuration.ml - -depend: - $(OCAMLDEP) $(DEPOBJS) > .depend - -.SUFFIXES: .ml .mli .cmo .cmi .cmx -.ml.cmo: - $(OCAMLC) -c $< -.mli.cmi: - $(OCAMLC) -c $< -.ml.cmx: - $(OCAMLOPT) -c $< - -clean: - rm -f *.cm[iox] - -install: - #cp - -uninstall: - #rm -f - -.PHONY: install uninstall clean - -include .depend +include ../Makefile.common