X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2FMakefile.defs;h=6fd4b75f8999db82eecdaa2d4be88c27cc80cf2a;hb=1c7fb836e2af4f2f3d18afd0396701f2094265ff;hp=763a43ff0febd4dc9246f5da88930a97213cb182;hpb=adaaeb037e74edb82c5b55cc67b41f2a4e6bbb87;p=helm.git diff --git a/helm/DEVEL/ocaml-http/Makefile.defs b/helm/DEVEL/ocaml-http/Makefile.defs index 763a43ff0..6fd4b75f8 100644 --- a/helm/DEVEL/ocaml-http/Makefile.defs +++ b/helm/DEVEL/ocaml-http/Makefile.defs @@ -1,18 +1,25 @@ PKGNAME = http DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //') -DEBUG_OPTS = -REQUIRES = unix pcre netstring threads -COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "$(REQUIRES)" +DEBUG_FLAGS = +REQUIRES = unix pcre netstring +COMMON_FLAGS = $(DEBUG_FLAGS) -pp camlp4o -package "$(REQUIRES)" +THREADS_FLAGS = -package threads -thread OCAMLFIND = ocamlfind -OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_OPTS) -thread -OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_OPTS) -thread -OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_OPTS) -OCAMLDOC = ocamldoc +OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS) +OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS) +OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS) +OCAMLDOC := \ + ocamldoc \ + $(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 tophttp doc + INSTALL LICENSE README META.in Makefile Makefile.defs Makefile.overrides \ + .depend tophttp doc