]> matita.cs.unibo.it Git - helm.git/blob - matita/components/grafite_parser/Makefile
notation kind of works
[helm.git] / matita / components / grafite_parser / Makefile
1 PACKAGE = grafite_parser
2 PREDICATES =
3
4 INTERFACE_FILES =                       \
5         dependenciesParser.mli          \
6         grafiteParser.mli               \
7         grafiteDisambiguate.mli         \
8         print_grammar.mli       \
9         $(NULL)
10 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
11
12 all:
13 clean:
14
15 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
16 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
17 # "_loc" occurrences
18 UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
19 ULEXDIR = $(shell $(OCAMLFIND) query ulex08)
20 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
21 grafiteParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
22 grafiteParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
23 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
24 depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
25 # </cross>
26 #
27 grafiteParser.cmo: OCAMLC = $(OCAMLC_P4)
28 grafiteParser.cmx: OCAMLOPT = $(OCAMLOPT_P4)
29
30 include ../../Makefile.defs
31 include ../Makefile.common