summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-04-12 20:14:54 +0000
committerAlan Conway <aconway@apache.org>2010-04-12 20:14:54 +0000
commit187a0344d81819fb168722c3bebb0f567439c009 (patch)
treea364c54190fb40d62d7ee173e34c8984585d2a39 /qpid/cpp/src
parentb83b9bd7f7faf690d31dcc73c5ec099a933c2d42 (diff)
downloadqpid-python-187a0344d81819fb168722c3bebb0f567439c009.tar.gz
Fix testagent.mk to generate code conditionally same as ../Makefile.am
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933393 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/tests/testagent.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/testagent.mk b/qpid/cpp/src/tests/testagent.mk
index 33448ee547..0f171d9579 100644
--- a/qpid/cpp/src/tests/testagent.mk
+++ b/qpid/cpp/src/tests/testagent.mk
@@ -35,8 +35,10 @@ TESTAGENT_GEN_SRC= \
testagent_gen/qmf/org/apache/qpid/agent/example/Package.cpp
$(TESTAGENT_GEN_SRC): testagent_gen.timestamp
-
-testagent_gen.timestamp: testagent.xml ../mgen.timestamp
+if GENERATE
+TESTAGENT_DEPS=../mgen.timestamp
+endif # GENERATE
+testagent_gen.timestamp: testagent.xml ${TESTAGENT_DEPS}
$(QMF_GEN) -o testagent_gen/qmf $(srcdir)/testagent.xml
touch $@