From 3d5a7a26e2f7aaddb888fdaa8a01711d69722885 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 10 Oct 2009 17:32:34 +0000 Subject: handle external libs in autoconf git-svn-id: svn+q:///qpdf/trunk@764 71b93d88-0707-0410-a8cf-f5a4172ac649 --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9998dbb9..c65bfb34 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,7 @@ # install to install in a separate location. This is useful for # packagers. -#XXX -BUILD_ITEMS = manual external-libs libqpdf zlib-flate libtests qpdf examples +BUILD_ITEMS := manual libqpdf zlib-flate libtests qpdf examples OUTPUT_DIR = build ALL_TARGETS = @@ -53,9 +52,9 @@ include autoconf.mk endif -#XXX -##BUILDRULES := libtool -BUILDRULES := gcc-linux +ifeq ($(BUILD_EXTERNAL_LIBS),1) + BUILD_ITEMS := external-libs $(BUILD_ITEMS) +endif # Prevent gnu make from trying to rebuild .dep files $(foreach B,$(BUILD_ITEMS),$(eval \ -- cgit v1.2.3-54-g00ecf