]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/ocaml-http/Makefile.defs
ocaml 3.09 transition
[helm.git] / helm / DEVEL / ocaml-http / Makefile.defs
1 PKGNAME = http
2 DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //' | sed 's/-.*//')
3
4 DEBUG_FLAGS =
5 REQUIRES = unix str pcre netstring
6 COMMON_FLAGS = $(DEBUG_FLAGS) -pp camlp4o -package "$(REQUIRES)"
7 THREADS_FLAGS = -package threads -thread
8 OCAMLFIND = ocamlfind
9 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS)
10 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS)
11 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS)
12 OCAMLDOC :=                                                     \
13         ocamldoc -stars                                         \
14                 $(shell $(OCAMLFIND) query -i-format unix)      \
15                 $(shell $(OCAMLFIND) query -i-format pcre)      \
16                 $(shell $(OCAMLFIND) query -i-format netstring)
17 DOT = dot
18
19 DISTNAME = ocaml-http
20 DISTDIR = $(DISTNAME)-$(DISTVERSION)
21 EXTRA_DIST =    \
22         INSTALL LICENSE README META.in Makefile Makefile.defs   \
23         .depend
24