Author: astitcher
Date: Thu Apr 24 18:05:07 2008
New Revision: 651474
URL: http://svn.apache.org/viewvc?rev=651474&view=rev
Log:
Fix building examples when using a VPATH build
Modified:
incubator/qpid/trunk/qpid/cpp/examples/Makefile.am
Modified: incubator/qpid/trunk/qpid/cpp/examples/Makefile.am
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/examples/Makefile.am?rev=651474&r1=651473&r2=651474&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/examples/Makefile.am (original)
+++ incubator/qpid/trunk/qpid/cpp/examples/Makefile.am Thu Apr 24 18:05:07 2008
@@ -57,7 +57,7 @@
# Build the examples - copy sources to the build tree in VPATH build.
all-local:
test -d examples || cp -R $(srcdir)/examples .
- cd examples && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)
-I../../$(top_srcdir)/src -I../../$(top_srcdir)/src/gen
-I../../$(top_builddir)/src/gen -L../../$(top_builddir)/src/.libs
-Wl,-rpath,$(abs_top_builddir)/src/.libs" all
+ cd examples && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)
-I$(abs_top_srcdir)/src -I$(abs_top_srcdir)/src/gen -I$(abs_top_builddir)/src
-I$(abs_top_builddir)/src/gen -L$(abs_top_builddir)/src/.libs
-Wl,-rpath,$(abs_top_builddir)/src/.libs" all
# FIXME aconway 2008-03-25: Re-enable when python client has been fixed
# to find .spec via PYTHONPATH.