summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-10 19:32:34 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-10 19:32:34 +0200
commit3d5a7a26e2f7aaddb888fdaa8a01711d69722885 (patch)
tree374b20bebd137ffd6cc311f5eb920d76a385ee12 /Makefile
parentec20e494503d08aeccc13f2e3e5aead08092b33d (diff)
downloadqpdf-3d5a7a26e2f7aaddb888fdaa8a01711d69722885.tar.zst
handle external libs in autoconf
git-svn-id: svn+q:///qpdf/trunk@764 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
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 \