-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.defs
More file actions
25 lines (22 loc) · 787 Bytes
/
Makefile.defs
File metadata and controls
25 lines (22 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PKGNAME = http
DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //' | sed 's/-.*//')
DEBUG_FLAGS =
REQUIRES = unix str pcre netstring
COMMON_FLAGS = $(DEBUG_FLAGS) -package "$(REQUIRES)"
THREADS_FLAGS = -package threads -thread
OCAMLFIND = ocamlfind
OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS)
OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS)
OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS)
OCAMLLEX = ocamllex
OCAMLDOC := \
ocamldoc -stars \
$(shell $(OCAMLFIND) query -i-format unix) \
$(shell $(OCAMLFIND) query -i-format pcre) \
$(shell $(OCAMLFIND) query -i-format netstring)
DOT = dot
DISTNAME = ocaml-http
DISTDIR = $(DISTNAME)-$(DISTVERSION)
EXTRA_DIST = \
INSTALL LICENSE README META.in Makefile Makefile.defs \
.depend