X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2FMakefile;h=0f2132eec8deb690f4dfd9c94cd6717c9e65583d;hb=b67ea513f11d1ef3d9fd228c64913561424662e2;hp=686b2ddd33a904eee3496a4d17002692b84e3468;hpb=5a92117eeff70048d29e91ba24e113155d956e1b;p=helm.git diff --git a/helm/ocaml/getter/Makefile b/helm/ocaml/getter/Makefile index 686b2ddd3..0f2132eec 100644 --- a/helm/ocaml/getter/Makefile +++ b/helm/ocaml/getter/Makefile @@ -1,36 +1,21 @@ -BIN_DIR = /usr/local/bin -REQUIRES = pxp netclient helm-urimanager pxp netclient -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 +PACKAGE = getter -DEPOBJS = clientHTTP.mli clientHTTP.ml getter.mli getter.ml configuration.ml +INTERFACE_FILES = \ + http_getter_wget.mli \ + http_getter_logger.mli \ + http_getter_misc.mli \ + http_getter_const.mli \ + http_getter_env.mli \ + http_getter_storage.mli \ + http_getter_common.mli \ + http_getter.mli \ + $(NULL) -depend: - $(OCAMLDEP) $(DEPOBJS) > .depend +IMPLEMENTATION_FILES = \ + http_getter_types.ml \ + $(INTERFACE_FILES:%.mli=%.ml) -.SUFFIXES: .ml .mli .cmo .cmi .cmx -.ml.cmo: - $(OCAMLC) -c $< -.mli.cmi: - $(OCAMLC) -c $< -.ml.cmx: - $(OCAMLOPT) -c $< +include ../../Makefile.defs +include ../Makefile.common -clean: - rm -f *.cm[iox] - -install: - #cp - -uninstall: - #rm -f - -.PHONY: install uninstall clean - -include .depend