2 DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //')
5 REQUIRES = unix pcre netstring
6 COMMON_FLAGS = $(DEBUG_FLAGS) -pp camlp4o -package "$(REQUIRES)"
7 THREADS_FLAGS = -package threads -thread
9 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS)
10 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS)
11 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS)
14 $(shell $(OCAMLFIND) query -i-format unix) \
15 $(shell $(OCAMLFIND) query -i-format pcre) \
16 $(shell $(OCAMLFIND) query -i-format netstring)
20 DISTDIR = $(DISTNAME)-$(DISTVERSION)
22 INSTALL LICENSE README META.in Makefile Makefile.defs Makefile.overrides \