summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-10 14:30:54 +0000
committerAlan Conway <aconway@apache.org>2007-08-10 14:30:54 +0000
commitc00a668cbf27d90edf18cc935cc982cab6581cae (patch)
treea092fbc5be0c4b4ad41990ba702f379acd72fa74
parenta91731726ada6cf58a05876ebb9f4b4fb7b87d68 (diff)
downloadqpid-python-c00a668cbf27d90edf18cc935cc982cab6581cae.tar.gz
Ensure MethodHolderMaxSize.h is built at the right time.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@564605 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am
index f267e17465..e3580521c2 100644
--- a/cpp/src/Makefile.am
+++ b/cpp/src/Makefile.am
@@ -74,8 +74,10 @@ noinst_PROGRAMS=generate_MethodHolderMaxSize_h
generate_MethodHolderMaxSize_h_SOURCES=generate_MethodHolderMaxSize_h.cpp
qpid/framing/MethodHolderMaxSize.h: generate_MethodHolderMaxSize_h
./generate_MethodHolderMaxSize_h
+BUILT_SOURCES=qpid/framing/MethodHolderMaxSize.h
CLEANFILES=qpid/framing/MethodHolderMaxSize.h
+
## Compiler flags
AM_CXXFLAGS = $(WARNING_CFLAGS)
@@ -169,7 +171,6 @@ libqpidcommon_la_SOURCES = \
gen/qpid/framing/AMQP_HighestVersion.h \
gen/qpid/framing/AMQP_MethodVersionMap.cpp \
qpid/framing/MethodHolder.h qpid/framing/MethodHolder.cpp \
- qpid/framing/MethodHolderMaxSize.h \
qpid/framing/MethodHolder_construct.cpp \
qpid/Exception.cpp \
qpid/Plugin.h \
@@ -428,5 +429,6 @@ nobase_include_HEADERS = \
qpid/shared_ptr.h
# Force build of qpidd during dist phase so help2man will work.
-dist-hook: qpidd
+dist-hook: $(BUILT_SOURCES)
+ $(MAKE) qpidd