]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/components/content_pres/Makefile
arithmetics for λδ
[helm.git] / matitaB / components / content_pres / Makefile
index 655ffbe8f766f828ae20571cf6c76207aa250231..9d192c5b936e6d6ac6f12310cefa4d1a8f45a72b 100644 (file)
@@ -2,19 +2,22 @@ PACKAGE = content_pres
 PREDICATES =
 
 INTERFACE_FILES =               \
-       renderingAttrs.mli       \
        cicNotationLexer.mli     \
+       smallLexer.mli   \
        cicNotationParser.mli    \
-       mpresentation.mli        \
        box.mli                  \
-       content2presMatcher.mli  \
+       content2presMatcher.mli  \
        termContentPres.mli      \
        boxPp.mli                \
        cicNotationPres.mli      \
-       content2pres.mli         \
        $(NULL)
 IMPLEMENTATION_FILES =          \
-       $(INTERFACE_FILES:%.mli=%.ml)
+       $(INTERFACE_FILES:%.mli=%.ml) \
+
+PKGS = -package "$(MATITA_REQUIRES)"
+
+#CMOS = $(ML:%.ml=%.cmo)
+#$(CMOS) : $(LIB_DEPS)
 
 cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
@@ -26,10 +29,13 @@ clean:
 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
 
 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
+smallLexer.cmo: OCAMLC = $(OCAMLC_P4)
 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
+smallLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
+smallLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
 
 include ../../Makefile.defs
@@ -42,12 +48,21 @@ UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
 ULEXDIR := $(shell $(OCAMLFIND) query ulex08)
 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+smallLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+smallLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+smallLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+
+check: check.ml $(LIB_DEPS) $(CMOS)
+       $(H)echo "  OCAMLC $<"
+       $(H)$(OCAMLC) $(PKGS) -linkpkg -o $@ $(CMOS) check.ml
+
+
 # </cross>