1 REQUIRES = helm-xml helm-pxp pcre pxp http
2 COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o
4 OCAMLC = $(OCAMLFIND) ocamlc $(COMMONOPTS)
5 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMONOPTS)
6 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMONOPTS)
9 $(shell $(OCAMLFIND) query -i-format helm-xml) \
10 $(shell $(OCAMLFIND) query -i-format helm-pxp) \
11 $(shell $(OCAMLFIND) query -i-format pcre) \
12 $(shell $(OCAMLFIND) query -i-format pxp-engine) \
13 $(shell $(OCAMLFIND) query -i-format threads) \
14 $(shell $(OCAMLFIND) query -i-format http)
16 hbugs_types threadSafe hbugs_misc \
17 hbugs_common hbugs_id_generator hbugs_messages
19 OBJS = $(patsubst %,%.cmo,$(MODULES))
20 OBJSOPT = $(patsubst %,%.cmx,$(MODULES))
27 hbugs_common.dot: *.ml *.mli
28 $(OCAMLDOC) -dot -o $@ $^
32 $(OCAMLDEP) *.ml *.mli > .depend
40 include Makefile.overrides
44 rm -f *.cm[aiox] *.o $(NAME){,.opt}
46 .PHONY: all byte opt world depend clean