]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite_parser/Makefile
basic support for imposed flavour in procedural object rendering
[helm.git] / helm / software / components / grafite_parser / Makefile
index 434eaceaa1e9927ed3fb266489cb850cd620f024..3df8517a9207db32cab36d2ff90863680e532e7b 100644 (file)
@@ -8,21 +8,23 @@ INTERFACE_FILES =                     \
        grafiteDisambiguator.mli        \
        grafiteDisambiguate.mli         \
        grafiteWalker.mli               \
+       print_grammar.mli               \
        $(NULL)
 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml)
 
-all: test_parser print_grammar test_dep
+all: test_parser test_dep
 clean: clean_tests
 
 # <cross> cross compatibility among ocaml 3.09 and ocaml 3.08, to be removed as
 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
 # "_loc" occurrences
-UTF8DIR = $(shell $(OCAMLFIND) query helm-utf8_macros)
-ULEXDIR = $(shell $(OCAMLFIND) query ulex)
-MY_SYNTAXOPTIONS = -pp "camlp4o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
+UTF8DIR = $(shell $(OCAMLFIND) query helm-syntax_extensions)
+ULEXDIR = $(shell $(OCAMLFIND) query ulex08)
+MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
 grafiteParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 grafiteParser.cmx: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 depend: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
+depend.opt: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 # </cross>
 #
 grafiteParser.cmo: OCAMLC = $(OCAMLC_P4)