]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/topLevel/Makefile
This commit was manufactured by cvs2svn to create branch 'init'.
[helm.git] / helm / gTopLevel / topLevel / Makefile
diff --git a/helm/gTopLevel/topLevel/Makefile b/helm/gTopLevel/topLevel/Makefile
deleted file mode 100644 (file)
index 01dd0e1..0000000
+++ /dev/null
@@ -1,47 +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
-
-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 = ../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
-
-include .depend