7 cicNotationParser.mli \
10 content2presMatcher.mli \
17 IMPLEMENTATION_FILES = \
18 $(INTERFACE_FILES:%.mli=%.ml)
20 cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
21 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
22 cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
27 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
29 test_lexer: test_lexer.ml $(PACKAGE).cma
30 $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
33 rm -f test_lexer{,.opt}
35 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
36 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
37 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
38 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
39 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
40 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
42 include ../Makefile.common
44 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
45 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
47 UTF8DIR := $(shell $(OCAMLFIND) query helm-utf8_macros)
48 ULEXDIR := $(shell $(OCAMLFIND) query ulex)
49 MY_SYNTAXOPTIONS = -pp "camlp4o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
50 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
51 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
52 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
53 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
54 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
55 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
56 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)