summaryrefslogtreecommitdiff
path: root/cpp/examples/makedist.mk
diff options
context:
space:
mode:
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)