9 cicNotationParser.mli \
12 content2presMatcher.mli \
18 IMPLEMENTATION_FILES = \
19 $(INTERFACE_FILES:%.mli=%.ml) \
21 PKGS = -package "$(MATITA_REQUIRES)"
23 CMOS = $(ML:%.ml=%.cmo)
26 cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
27 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
28 cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
33 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
35 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
36 smallLexer.cmo: OCAMLC = $(OCAMLC_P4)
37 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
38 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
39 smallLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
40 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
41 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
42 smallLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
43 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
45 include ../../Makefile.defs
46 include ../Makefile.common
48 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
49 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
51 UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
52 ULEXDIR := $(shell $(OCAMLFIND) query ulex08)
53 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
54 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
55 smallLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
56 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
57 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
58 smallLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
59 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
60 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
61 smallLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
62 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
63 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
64 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
66 check: check.ml $(LIB_DEPS) $(CMOS)
68 $(H)$(OCAMLC) $(PKGS) -linkpkg -o $@ $(CMOS) check.ml