summaryrefslogtreecommitdiff
path: root/qpid/cpp/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-21 02:08:18 +0000
committerAlan Conway <aconway@apache.org>2007-03-21 02:08:18 +0000
commitd2eb3361494710466280341c98f76c03536d2ebe (patch)
treef16ec2eacd8383e388657e54a22fc0214a0ce023 /qpid/cpp/Makefile.am
parent732544fe86089ab86c03fcc48d5ca4c72667c275 (diff)
downloadqpid-python-d2eb3361494710466280341c98f76c03536d2ebe.tar.gz
Renamed cpp-0-9 to cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@520706 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/Makefile.am')
-rw-r--r--qpid/cpp/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/qpid/cpp/Makefile.am b/qpid/cpp/Makefile.am
new file mode 100644
index 0000000000..112cd5dd59
--- /dev/null
+++ b/qpid/cpp/Makefile.am
@@ -0,0 +1,26 @@
+AUTOMAKE_OPTIONS = 1.9.2 foreign
+ACLOCAL_AMFLAGS = -I m4
+
+EXTRA_DIST = \
+ LICENSE NOTICE README \
+ etc/qpidd \
+ $(PACKAGE).spec \
+ $(PACKAGE).spec.in
+
+SUBDIRS = gen lib src docs/api docs/man rpm tests
+
+# Update libtool, if needed.
+libtool: $(LIBTOOL_DEPS)
+ $(SHELL) ./config.status --recheck
+
+# This cannot be done by AC_CONFIG_FILES, because automake's
+# make distcheck target does not like auto-generated files
+# being included in the distributed archive.
+qpidc.spec: %: %.in
+ sed 's/@''PACKAGE@/@PACKAGE@/;s/@''VERSION@/@VERSION@/' $< > $@-tmp
+ mv $@-tmp $@
+MAINTAINERCLEANFILES = $(PACKAGE).spec
+
+.PHONY: rpm srpm
+rpm srpm:
+ cd rpm && $(MAKE) $(MAKEFLAGS_AM) $@