X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FtopLevel%2FMakefile;fp=helm%2FgTopLevel%2FtopLevel%2FMakefile;h=0000000000000000000000000000000000000000;hb=26687f6c7acd3c9ec642625288a8a2185c5b81c5;hp=5b31465312960fec23ef9605220d6c5f69ee5a4a;hpb=fc3a73230e9c3a8359944ecbc5546f8f63acac25;p=helm.git diff --git a/helm/gTopLevel/topLevel/Makefile b/helm/gTopLevel/topLevel/Makefile deleted file mode 100644 index 5b3146531..000000000 --- a/helm/gTopLevel/topLevel/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -BIN_DIR = /usr/local/bin -REQUIRES = helm-urimanager helm-cic_textual_parser helm-cic_proof_checking helm-mathql helm-mathql_interpreter -PREDICATES = -OCAMLOPTIONS = -I .. -package "$(REQUIRES)" -predicates "$(PREDICATES)" -OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) -OCAMLDEP = ocamldep -I .. - -LIBRARIES = $(shell ocamlfind query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES)) -LIBRARIES_OPT = $(shell ocamlfind query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES)) - -all: topLevel -opt: topLevel.opt - -DEPOBJS = topLevel.ml - -TOPLEVELOBJS = ../mQueryLevels.cmo ../mQueryGenerator.cmo topLevel.cmo - -depend: - $(OCAMLDEP) $(DEPOBJS) > .depend - -topLevel: $(TOPLEVELOBJS) $(LIBRARIES) - $(OCAMLC) -linkpkg -o topLevel $(TOPLEVELOBJS) - -topLevel.opt: $(TOPLEVELOBJS:.cmo=.cmx) $(LIBRARIES_OPT) - $(OCAMLOPT) -linkpkg -o topLevel.opt $(TOPLEVELOBJS:.cmo=.cmx) - -.SUFFIXES: .ml .mli .cmo .cmi .cmx -.ml.cmo: $(LIBRARIES) - $(OCAMLC) -c $< -.mli.cmi: $(LIBRARIES) - $(OCAMLC) -c $< -.ml.cmx: $(LIBRARIES_OPT) - $(OCAMLOPT) -c $< - -clean: - rm -f *.cm[iox] *.o topLevel topLevel.opt - -install: - cp topLevel topLevel.opt $(BIN_DIR) - -uninstall: - rm -f $(BIN_DIR)/topLevel $(BIN_DIR)/topLevel.opt - -.PHONY: install uninstall clean - -ifneq ($(MAKECMDGOALS), depend) - include .depend -endif