]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/http_getter/Makefile
split into two major parts:
[helm.git] / helm / http_getter / Makefile
index 8ff636e311344e89ab90e421f6dbb4793f6ff4c2..13e939b0691726035beb6e3478689b37f4bd834d 100644 (file)
@@ -1,11 +1,13 @@
-VERSION = 0.2.3
+VERSION = 0.3.0
 NAME = http_getter
 
 DISTDIR = http-getter-$(VERSION)
 EXTRA_DIST = AUTHORS COPYING NEWS README BUGS
 DOCS = doc/http_getter.conf.xml.sample
 
-REQUIRES = http dbm pcre pxp shell threads zip
+REQUIRES = \
+       http dbm pcre pxp shell threads zip \
+       helm-logger
 COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o
 OCAMLFIND = ocamlfind
 OCAMLC = $(OCAMLFIND) ocamlc -thread $(COMMONOPTS)
@@ -21,10 +23,10 @@ OCAMLDOC =  \
                $(shell $(OCAMLFIND) query -i-format threads)   \
                $(shell $(OCAMLFIND) query -i-format zip)
 MODULES =      \
-       http_getter_debugger threadSafe                                                         \
-       http_getter_types zack http_getter_misc http_getter_const       \
-       http_getter_env http_getter_common http_getter_map                      \
-       http_getter_cache
+       http_getter_debugger threadSafe \
+       http_getter_types http_getter_misc http_getter_const \
+       http_getter_env http_getter_common http_getter_map \
+       http_getter_cache http_getter
 
 OBJS = $(patsubst %,%.cmo,$(MODULES))
 OBJSOPT = $(patsubst %,%.cmx,$(MODULES))
@@ -49,9 +51,9 @@ $(NAME).cmo: $(NAME).ml
        $(OCAMLC) -c $<
 $(NAME).cmx: $(NAME).ml
        $(OCAMLOPT) -c $<
-$(NAME): $(OBJS) $(NAME).ml
+$(NAME): $(OBJS) main.ml
        $(OCAMLC) -linkpkg -thread -o $@ $^
-$(NAME).opt: $(OBJSOPT) $(NAME).ml
+$(NAME).opt: $(OBJSOPT) main.ml
        $(OCAMLOPT) -linkpkg -thread -o $@ $^
 
 http_getter.dot: *.ml *.mli