X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matitaB%2Fcomponents%2Fcontent_pres%2FMakefile;h=9d192c5b936e6d6ac6f12310cefa4d1a8f45a72b;hb=647b419e96770d90a82d7a9e5e8843566a9f93ee;hp=655ffbe8f766f828ae20571cf6c76207aa250231;hpb=cacbe3c6493ddce76c4c13379ade271d8dd172e8;p=helm.git diff --git a/matitaB/components/content_pres/Makefile b/matitaB/components/content_pres/Makefile index 655ffbe8f..9d192c5b9 100644 --- a/matitaB/components/content_pres/Makefile +++ b/matitaB/components/content_pres/Makefile @@ -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 + + #