summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Makefile.am4
-rw-r--r--cpp/src/tests/Makefile.am5
2 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am
index 32c2e1a00d..6937db2e1b 100644
--- a/cpp/src/Makefile.am
+++ b/cpp/src/Makefile.am
@@ -312,5 +312,9 @@ $(gen)/gen-src.mk: $(gen)/timestamp
mv $@-t $@
endif
+maintainer-clean:
+ rm -f $(gentools_srcdir)/*.class
+ rm -f $(BUILT_SOURCES)
+
# Force build during dist phase so help2man will work.
dist-hook: $(lib_LTLIBRARIES) $(sbin_PROGRAMS)
diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am
index 6fc3b97324..3e96581573 100644
--- a/cpp/src/tests/Makefile.am
+++ b/cpp/src/tests/Makefile.am
@@ -111,13 +111,12 @@ gen.mk: Makefile.am
> $@-t
mv $@-t $@
-check: .valgrindrc $(check_LTLIBRARIES) \
- $(lib_common) $(lib_client) $(lib_broker) ../qpidd
+check: .valgrindrc ../qpidd
check-unit:
$(MAKE) check TESTS=run-unit-tests
-# Create a copy so user can modify without risk of checking in their mods.
+# Create a copy so that can be modified without risk of committing the changes.
.valgrindrc: .valgrindrc-default
cp $(srcdir)/.valgrindrc-default .valgrindrc