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