7 cicNotationParser.mli \
10 content2presMatcher.mli \
21 IMPLEMENTATION_FILES = \
22 $(INTERFACE_FILES:%.mli=%.ml)
24 cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
25 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
26 cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
31 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
33 test_lexer: test_lexer.ml $(PACKAGE).cma
35 @$(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
38 rm -f test_lexer{,.opt}
40 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
41 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
42 cicNotationLexer.cmx: OCAMLOPT = $(OCAMLOPT_P4)
43 cicNotationParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
44 cicNotationLexer.ml.annot: OCAMLC = $(OCAMLC_P4)
45 cicNotationParser.ml.annot: OCAMLC = $(OCAMLC_P4)
47 include ../../Makefile.defs
48 include ../Makefile.common
50 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
51 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
53 UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
54 ULEXDIR := $(shell $(OCAMLFIND) query ulex)
55 MY_SYNTAXOPTIONS = -pp "camlp4o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
56 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
57 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
58 cicNotationLexer.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
59 cicNotationParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
60 cicNotationLexer.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
61 cicNotationParser.ml.annot: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
62 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
63 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)