]> matita.cs.unibo.it Git - helm.git/blob - matita/components/grafite_parser/Makefile
3bf2dfa6259b4dc86b613f1a3f70b30f6928809e
[helm.git] / matita / components / grafite_parser / Makefile
1 PACKAGE = grafite_parser
2 PREDICATES =
3
4 INTERFACE_FILES =               \
5         grafiteParser.mli               \
6         print_grammar.mli       \
7         $(NULL)
8 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
9
10 all:
11 clean:
12
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
15 # "_loc" occurrences
16 UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
17 ULEXDIR = $(shell $(OCAMLFIND) query ulex-camlp5)
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)
23 # </cross>
24 #
25 grafiteParser.cmo: OCAMLC = $(OCAMLC_P4)
26 grafiteParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
27
28 include ../../Makefile.defs
29 include ../Makefile.common