1 REQUIRES = mysql helm-metadata
4 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
5 EXTRA_OBJECTS_TO_INSTALL =
6 EXTRA_OBJECTS_TO_CLEAN = \
7 extractor extractor.opt *.err *.out extractor_manager extractor_manager.opt
9 all: extractor extractor_manager
10 opt: extractor.opt extractor_manager.opt
12 extractor: extractor.ml
14 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
16 extractor.opt: extractor.ml
17 $(OCAMLFIND) ocamlopt \
18 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
20 extractor_manager: extractor_manager.ml
22 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
24 extractor_manager.opt: extractor_manager.ml
25 $(OCAMLFIND) ocamlopt \
26 -thread -package mysql,helm-metadata -linkpkg -o $@ $<
28 export: extractor.opt extractor_manager.opt
31 ./extractor_manager.opt 1>export.out 2>export.err
34 include ../../Makefile.common