1 PACKAGE = grafite_parser
8 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
13 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
14 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
16 UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
17 ULEXDIR = $(shell $(OCAMLFIND) query ulex08)
18 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
19 grafiteParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
20 grafiteParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
21 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
22 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
25 grafiteParser.cmo: OCAMLC = $(OCAMLC_P4)
26 grafiteParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
28 include ../../Makefile.defs
29 include ../Makefile.common