From 4e0def89b221046c6400a3d074b8b2089bd3bced Mon Sep 17 00:00:00 2001 From: letouzey Date: Sat, 6 Oct 2012 10:08:53 +0000 Subject: no need for camlp4 cma's in coq misc tools git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15876 85f007b7-540e-0410-9357-904b9bb8a0f7 --- Makefile.build | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile.build b/Makefile.build index 0cc9466453..f2fabf918e 100644 --- a/Makefile.build +++ b/Makefile.build @@ -128,15 +128,16 @@ endif PR_O := $(if $(READABLE_ML4),pr_o.cmo,pr_dump.cmo) # works also with new camlp4 +SYSMOD:=str unix +SYSCMA:=$(addsuffix .cma,$(SYSMOD)) +SYSCMXA:=$(addsuffix .cmxa,$(SYSMOD)) + ifeq ($(CAMLP4),camlp5) -SYSMOD:=str unix gramlib +P4CMA:=gramlib.cma else -SYSMOD:=str unix dynlink camlp4lib +P4CMA:=dynlink.cma camlp4lib.cma endif -SYSCMA:=$(addsuffix .cma,$(SYSMOD)) -SYSCMXA:=$(addsuffix .cmxa,$(SYSMOD)) - ########################################################################### # Infrastructure for the rest of the Makefile @@ -728,7 +729,7 @@ $(OCAMLDOCDIR)/%.pdf: $(OCAMLDOCDIR)/%.tex dev/printers.cma: | dev/printers.mllib.d $(SHOW)'Testing $@' - $(HIDE)$(OCAMLC) $(BYTEFLAGS) $(SYSCMA) $^ -o test-printer + $(HIDE)$(OCAMLC) $(BYTEFLAGS) $(SYSCMA) $(P4CMA) $^ -o test-printer @rm -f test-printer $(SHOW)'OCAMLC -a $@' $(HIDE)$(OCAMLC) $(BYTEFLAGS) $^ -linkall -a -o $@ -- cgit v1.2.3