requires="helm-urimanager helm-pxp"
version="0.0.1"
-archive(byte)="cic.cmo deannotate.cmo cicParser3.cmo cicParser2.cmo cicParser.cmo"
-archive(native)="cic.cmx deannotate.cmx cicParser3.cmx cicParser2.cmx cicParser.cmx"
+archive(byte)="cic.cma"
+archive(native)="cic.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/cic"
+directory="/home/sacerdot/miohelm/helm/ocaml/cic"
requires="helm-cic helm-xml lablgtk"
version="0.0.1"
-archive(byte)="cicAnnotation2Xml.cmo cicAnnotationHinter.cmo cicAnnotationParser2.cmo cicAnnotationParser.cmo cicXPath.cmo"
-archive(native)="cicAnnotation2Xml.cmx cicAnnotationHinter.cmx cicAnnotationParser2.cmx cicAnnotationParser.cmx cicXPath.cmx"
+archive(byte)="cic_annotations.cma"
+archive(native)="cic_annotations.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/cic_annotations"
+directory="/home/sacerdot/miohelm/helm/ocaml/cic_annotations"
requires="helm-cic_annotations"
version="0.0.1"
-archive(byte)="cicCache.cmo"
-archive(native)="cicCache.cmx"
+archive(byte)="cic_annotations_cache.cma"
+archive(native)="cic_annotations_cache.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/cic_annotations_cache"
+directory="/home/sacerdot/miohelm/helm/ocaml/cic_annotations_cache"
requires="helm-cic"
version="0.0.1"
-archive(byte)="cicCache.cmo"
-archive(native)="cicCache.cmx"
+archive(byte)="cic_cache.cma"
+archive(native)="cic_cache.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/cic_cache"
+directory="/home/sacerdot/miohelm/helm/ocaml/cic_cache"
requires="helm-cic"
version="0.0.1"
-archive(byte)="cicSubstitution.cmo cicEnvironment.cmo cicPp.cmo cicReduction.cmo cicTypeChecker.cmo cicCooking.cmo"
-archive(native)="cicSubstitution.cmx cicEnvironment.cmx cicPp.cmx cicReduction.cmx cicTypeChecker.cmx cicCooking.cmx"
+archive(byte)="cic_proof_checking.cma"
+archive(native)="cic_proof_checking.cmxa"
archive(byte,miniReduction)="cicSubstitution.cmo cicMiniReduction.cmo"
archive(native,miniReduction)="cicSubstitution.cmx cicMiniReduction.cmx"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/cic_proof_checking"
+directory="/home/sacerdot/miohelm/helm/ocaml/cic_proof_checking"
requires="helm-urimanager pxp netclient"
version="0.0.1"
-archive(byte)="configuration.cmo clientHTTP.cmo getter.cmo"
-archive(native)="configuration.cmx clientHTTP.cmx getter.cmx"
+archive(byte)="getter.cma"
+archive(native)="getter.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/getter"
+directory="/home/sacerdot/miohelm/helm/ocaml/getter"
requires="helm-getter"
version="0.0.1"
-archive(byte)="csc_pxp_reader.cmo pxpUriResolver.cmo"
-archive(native)="csc_pxp_reader.cmx pxpUriResolver.cmx"
+archive(byte)="pxp.cma"
+archive(native)="pxp.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/pxp"
+directory="/home/sacerdot/miohelm/helm/ocaml/pxp"
requires="str"
version="0.0.1"
-archive(byte)="uriManager.cmo"
-archive(native)="uriManager.cmx"
+archive(byte)="urimanager.cma"
+archive(native)="urimanager.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/urimanager"
+directory="/home/sacerdot/miohelm/helm/ocaml/urimanager"
requires=""
version="0.0.1"
-archive(byte)="xml.cmo"
-archive(native)="xml.cmx"
+archive(byte)="xml.cma"
+archive(native)="xml.cmxa"
linkopts=""
-directory="/home/sacerdot/miohelm/ocaml/helm/xml"
+directory="/home/sacerdot/miohelm/helm/ocaml/xml"
--- /dev/null
+# Warning: the modules must be in compilation order
+MODULES= xml urimanager getter pxp cic cic_annotations cic_annotations_cache \
+ cic_cache cic_proof_checking
+
+all opt depend install uninstall clean:
+ for i in $(MODULES) ; do (cd $$i ; make $@) ; done
--- /dev/null
+# This Makefile must be included by another one defining:
+# $REQUIRES
+# $PREDICATES
+# $DEPOBJS
+# $OBJECTS
+# $PACKAGE
+# and put in a directory where there is a .depend file.
+
+BIN_DIR = /usr/local/bin
+OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
+OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
+OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
+OCAMLDEP = ocamldep
+
+ARCHIVE = $(PACKAGE).cma
+#ARCHIVE_C = $(PACKAGE).a
+ARCHIVE_OPT = $(PACKAGE).cmxa
+
+
+$(ARCHIVE): $(OBJECTS)
+ $(OCAMLC) -a -o $@ $^
+
+$(ARCHIVE_OPT): $(OBJECTS:.cmo=.cmx)
+ $(OCAMLOPT) -a -o $@ $^
+
+all: $(ARCHIVE)
+opt: $(ARCHIVE_OPT)
+
+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[ioax] *.cmxa *.o
+
+install:
+ #cp
+
+uninstall:
+ #rm -f
+
+.PHONY: all opt depend install uninstall clean
+
+include .depend
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = cic
REQUIRES = helm-urimanager helm-pxp
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: cic.cmo deannotate.cmo cicParser3.cmo cicParser2.cmo cicParser.cmo
-opt: cic.cmx deannotate.cmx cicParser3.cmx cicParser2.cmx cicParser.cmx
DEPOBJS = cic.ml deannotate.mli deannotate.ml cicParser3.mli cicParser3.ml \
cicParser2.mli cicParser2.ml cicParser.mli cicParser.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 = cic.cmo deannotate.cmo cicParser3.cmo cicParser2.cmo cicParser.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-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
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
+OBJECTS = cicAnnotation2Xml.cmo cicAnnotationHinter.cmo \
+ cicAnnotationParser2.cmo cicAnnotationParser.cmo cicXPath.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = cic_annotations_cache
REQUIRES = helm-cic_annotations
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: cicCache.cmo
-opt: cicCache.cmx
DEPOBJS = cicCache.mli cicCache.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 = cicCache.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = cic_cache
REQUIRES = helm-cic
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: cicCache.cmo
-opt: cicCache.cmx
DEPOBJS = cicCache.mli cicCache.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 = cicCache.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = cic_proof_checking
REQUIRES = helm-cic
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: cicSubstitution.cmo cicEnvironment.cmo cicPp.cmo cicMiniReduction.cmo \
- cicReduction.cmo cicTypeChecker.cmo cicCooking.cmo
-opt: cicSubstitution.cmx cicEnvironment.cmx cicPp.cmx cicMiniReduction.cmx \
- cicReduction.cmx cicTypeChecker.cmx cicCooking.cmx
DEPOBJS = cicPp.mli cicPp.ml cicEnvironment.mli cicEnvironment.ml \
cicSubstitution.mli cicSubstitution.ml cicReduction.mli \
cicReduction.ml cicTypeChecker.mli cicTypeChecker.ml \
cicCooking.mli cicCooking.ml cicMinireduction.mli cicMiniReduction.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 = cicSubstitution.cmo cicEnvironment.cmo cicPp.cmo \
+ cicMiniReduction.cmo cicReduction.cmo cicTypeChecker.cmo \
+ cicCooking.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-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
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = pxp
REQUIRES = helm-getter
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: csc_pxp_reader.cmo pxpUriResolver.cmo
-opt: csc_pxp_reader.cmx pxpUriResolver.cmx
DEPOBJS = csc_pxp_reader.ml pxpUriResolver.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 = csc_pxp_reader.cmo pxpUriResolver.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = urimanager
REQUIRES = str
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: uriManager.cmo
-opt: uriManager.cmx
DEPOBJS = uriManager.mli uriManager.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 = uriManager.cmo
-include .depend
+include ../Makefile.common
-*.cm[iox]
+*.cm[iaox] *.cmxa
-BIN_DIR = /usr/local/bin
+PACKAGE = xml
REQUIRES =
PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)"
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS)
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
-OCAMLDEP = ocamldep
-
-all: xml.cmo
-opt: xml.cmx
DEPOBJS = xml.mli xml.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 = xml.cmo
-include .depend
+include ../Makefile.common