X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FsearchEngine%2FMakefile;fp=helm%2FsearchEngine%2FMakefile;h=a2287e77d1005763c5e5dd72c99c7d36f040e9b9;hb=3c7ca719c304eb7de7d8d4e9a90ebe0db8d8ecab;hp=0000000000000000000000000000000000000000;hpb=dedb202eeeac7293c51dbf31a302d0d3dd24af95;p=helm.git diff --git a/helm/searchEngine/Makefile b/helm/searchEngine/Makefile new file mode 100644 index 000000000..a2287e77d --- /dev/null +++ b/helm/searchEngine/Makefile @@ -0,0 +1,28 @@ +REQUIRES = http helm-cic_textual_parser helm-cic_proof_checking \ + helm-xml gdome2-xslt helm-cic_unification helm-mathql \ + helm-mathql_interpreter helm-mathql_generator netclient +OCAMLOPTIONS = -package "$(REQUIRES)" -pp camlp4o -I ../gTopLevel +OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) +OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) + +GTOPLEVEL_MODULES = disambiguate +MODULES = +CMOS = $(patsubst %,%.cmo,$(MODULES)) +CMXS = $(patsubst %,%.cmx,$(MODULES)) +LIBRARIES = $(patsubst %,../gTopLevel/%.cmo,$(GTOPLEVEL_MODULES)) +LIBRARIES_OPT = $(patsubst %,../gTopLevel/%.cmx,$(GTOPLEVEL_MODULES)) + +all: byte +world: byte opt +byte: searchEngine +opt: searchEngine.opt + +searchEngine: $(LIBRARIES) $(CMOS) searchEngine.ml + $(OCAMLC) -linkpkg -o $@ $^ +searchEngine.opt: $(LIBRARIES_OPT) $(CMXS) searchEngine.ml + $(OCAMLOPT) -linkpkg -o $@ $^ + +clean: + rm -f *.cm[aiox] *.o searchEngine{,.opt} + +.PHONY: all opt clean