]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/utf8_macros/Makefile
abstracted pretty printers over inner pretty printing units (terms, lazy terms, and...
[helm.git] / helm / ocaml / utf8_macros / Makefile
index 9962c4f608732e551322547793a62836a0763e95..e3afd40f61645dfeb93bc91860223bf78823fca7 100644 (file)
@@ -1,6 +1,6 @@
 PACKAGE = utf8_macros
-REQUIRES = helm-pxp
 PREDICATES =
+MAKE_TABLE_PACKAGES = helm-xml
 
 # modules which have both a .ml and a .mli
 INTERFACE_FILES = utf8Macro.mli
@@ -11,15 +11,15 @@ EXTRA_OBJECTS_TO_CLEAN =
 all: utf8_macros.cma pa_unicode_macro.cma
 
 make_table: make_table.ml
-       $(OCAMLFIND) ocamlc -package $(REQUIRES) -linkpkg -o $@ $^
+       $(OCAMLFIND) ocamlc -package $(MAKE_TABLE_PACKAGES) -linkpkg -o $@ $^
 
-utf8MacroTable.ml: make_table
+utf8MacroTable.ml:
        ./make_table $@
 utf8MacroTable.cmo: utf8MacroTable.ml
        $(OCAMLFIND) ocamlc -c $<
 
 pa_unicode_macro.cmo: pa_unicode_macro.ml utf8Macro.cmo
-       $(OCAMLFIND) ocamlc -package camlp4 -pp "camlp4o q_MLast.cmo pa_extend.cmo" -c $<
+       $(OCAMLFIND) ocamlc -package camlp4 -pp "camlp4o q_MLast.cmo pa_extend.cmo -loc loc" -c $<
 pa_unicode_macro.cma: utf8MacroTable.cmo utf8Macro.cmo pa_unicode_macro.cmo
        $(OCAMLFIND) ocamlc -a -o $@ $^