]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/Makefile
1) .cma/.cmxa used to simplify META files.
[helm.git] / helm / ocaml / getter / Makefile
index 686b2ddd33a904eee3496a4d17002692b84e3468..a3b941b0f7d0eab9a58d45f5df68dc1aae651c3e 100644 (file)
@@ -1,36 +1,9 @@
-BIN_DIR = /usr/local/bin
-REQUIRES = pxp netclient helm-urimanager pxp netclient
+PACKAGE = getter
+REQUIRES = pxp netclient helm-urimanager
 PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: clientHTTP.cmo getter.cmo configuration.cmo
-opt: clientHTTP.cmx getter.cmx configuration.cmx
 
 DEPOBJS = clientHTTP.mli clientHTTP.ml getter.mli getter.ml configuration.ml
 
-depend:
-       $(OCAMLDEP) $(DEPOBJS) > .depend
-
-.SUFFIXES: .ml .mli .cmo .cmi .cmx
-.ml.cmo:
-       $(OCAMLC) -c $<
-.mli.cmi:
-       $(OCAMLC) -c $<
-.ml.cmx:
-       $(OCAMLOPT) -c $<
-
-clean:
-       rm -f *.cm[iox]
-
-install:
-       #cp
-
-uninstall:
-       #rm -f
-
-.PHONY: install uninstall clean
+OBJECTS = configuration.cmo clientHTTP.cmo getter.cmo
 
-include .depend
+include ../Makefile.common