]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/Makefile
fixed parse error for ocaml 3.08
[helm.git] / helm / ocaml / getter / Makefile
index a3b941b0f7d0eab9a58d45f5df68dc1aae651c3e..99529c2d4595d7e446deef39d3bd336956ff5f65 100644 (file)
@@ -1,9 +1,27 @@
+
 PACKAGE = getter
-REQUIRES = pxp netclient helm-urimanager
-PREDICATES =
 
-DEPOBJS = clientHTTP.mli clientHTTP.ml getter.mli getter.ml configuration.ml
+REQUIRES = \
+       http dbm pcre shell zip \
+       helm-pxp helm-thread helm-logger helm-urimanager helm-registry
+
+INTERFACE_FILES = \
+       clientHTTP.mli \
+       http_getter_logger.mli \
+       http_getter_misc.mli \
+       http_getter_const.mli \
+       http_getter_env.mli \
+       http_getter_common.mli \
+       http_getter_map.mli \
+       http_getter_cache.mli \
+       http_getter.mli
 
-OBJECTS = configuration.cmo clientHTTP.cmo getter.cmo
+IMPLEMENTATION_FILES = \
+       http_getter_types.ml \
+       $(INTERFACE_FILES:%.mli=%.ml)
 
 include ../Makefile.common
+
+test: getter.cma test.ml
+       $(OCAMLC) -linkpkg -o $@ $^
+