NAME = hbugs_broker
METADIR = ../meta
-REQUIRES = http threads hbugs-common hbugs-thread-safe
+REQUIRES = http threads hbugs-common hbugs-thread-safe threads
COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o
OCAMLFIND = ocamlfind
-OCAMLC = $(OCAMLFIND) ocamlc $(COMMONOPTS)
-OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMONOPTS)
+OCAMLC = $(OCAMLFIND) ocamlc -thread $(COMMONOPTS)
+OCAMLOPT = $(OCAMLFIND) ocamlopt -thread $(COMMONOPTS)
OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMONOPTS)
MODULES = hbugs_broker_registry
OCAMLDOC = \