]> matita.cs.unibo.it Git - helm.git/blob - DEVEL/ocaml-http/0.1.4-3/Makefile.defs
tagging
[helm.git] / DEVEL / ocaml-http / 0.1.4-3 / 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 OCAMLLEX = ocamllex
13 OCAMLDOC :=                                                     \
14         ocamldoc -stars                                         \
15                 $(shell $(OCAMLFIND) query -i-format unix)      \
16                 $(shell $(OCAMLFIND) query -i-format pcre)      \
17                 $(shell $(OCAMLFIND) query -i-format netstring)
18 DOT = dot
19
20 DISTNAME = ocaml-http
21 DISTDIR = $(DISTNAME)-$(DISTVERSION)
22 EXTRA_DIST =    \
23         INSTALL LICENSE README META.in Makefile Makefile.defs   \
24         .depend
25