X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_annotations%2FMakefile;h=1b85d96bc2e81354360a3337a26c4252c10a1f4d;hb=298fa826610192b1a173c81b4ebf961c1c7e6609;hp=776d6c459632d26e56d70aa6b62a87062806ee00;hpb=5a92117eeff70048d29e91ba24e113155d956e1b;p=helm.git diff --git a/helm/ocaml/cic_annotations/Makefile b/helm/ocaml/cic_annotations/Makefile index 776d6c459..1b85d96bc 100644 --- a/helm/ocaml/cic_annotations/Makefile +++ b/helm/ocaml/cic_annotations/Makefile @@ -1,39 +1,10 @@ -BIN_DIR = /usr/local/bin +PACKAGE = cic_annotations REQUIRES = helm-cic helm-xml lablgtk PREDICATES = -OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) -OCAMLDEP = ocamldep -all: cicAnnotation2Xml.cmo cicAnnotationHinter.cmo cicAnnotationParser2.cmo \ - cicAnnotationParser.cmo cicXPath.cmo -opt: cicAnnotation2Xml.cmx cicAnnotationHinter.cmx cicAnnotationParser2.cmx \ - cicAnnotationParser.cmx cicXPath.cmx +INTERFACE_FILES = cicAnnotation2Xml.mli cicAnnotationHinter.mli \ + cicAnnotationParser2.mli cicAnnotationParser.mli cicXPath.mli +IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) +EXTRA_OBJECTS_TO_INSTALL = -DEPOBJS = cicAnnotation2Xml.ml cicAnnotationHinter.ml cicAnnotationParser2.ml \ - cicAnnotationParser.ml cicXPath.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 - -include .depend +include ../Makefile.common