summaryrefslogtreecommitdiff
path: root/cpp/examples/makedist.mk
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-23 13:39:33 +0000
committerAlan Conway <aconway@apache.org>2008-06-23 13:39:33 +0000
commit2fdfa6302be99cd1e413fe0ad0b4777a8529c798 (patch)
tree47adc742f9178d679d4895848acd9be309346be5 /cpp/examples/makedist.mk
parent476fa9e1bd2bde055b6fb436ca093d60e559cb47 (diff)
downloadqpid-python-2fdfa6302be99cd1e413fe0ad0b4777a8529c798.tar.gz
Fix build problems in examples on older automakes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670568 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/makedist.mk')
-rw-r--r--cpp/examples/makedist.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/examples/makedist.mk b/cpp/examples/makedist.mk
index c6d59039df..f579dca1e3 100644
--- a/cpp/examples/makedist.mk
+++ b/cpp/examples/makedist.mk
@@ -1,13 +1,13 @@
# Settings to build the examples in automake
AM_CXXFLAGS = $(WARNING_CFLAGS)
-INCLUDES = -I$(abs_top_srcdir)/src -I$(abs_top_srcdir)/src/gen -I$(abs_top_builddir)/src -I$(abs_top_builddir)/src/gen
-CLIENT_LIB=$(abs_top_builddir)/src/libqpidclient.la
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/gen -I$(top_builddir)/src -I$(top_builddir)/src/gen
+CLIENT_LIB=$(top_builddir)/src/libqpidclient.la
# Generate a simple non-automake Makefile for distribution.
MAKEDIST=.libs/Makefile
$(MAKEDIST): Makefile
- @$(MKDIR_P) .libs
+ mkdir -p .libs
@$(ECHO) CXX=$(CXX) > $(MAKEDIST)
@$(ECHO) CXXFLAGS=$(CXXFLAGS) >> $(MAKEDIST)
@$(ECHO) LDFLAGS=-lqpidclient >> $(MAKEDIST)