summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am76
1 files changed, 76 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..8b57588
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,76 @@
+NULL =
+
+SUBDIRS = po
+
+if HAVE_GMP
+SUBDIRS += profiles
+endif
+
+if HAVE_GRECORD
+SUBDIRS += grecord
+endif
+
+if HAVE_SOUND_THEME
+SUBDIRS += sound-theme
+endif
+
+if HAVE_PULSEAUDIO
+SUBDIRS += mate-volume-control
+endif
+
+if HAVE_GSTMIXER
+SUBDIRS += gst-mixer
+endif
+
+if HAVE_GSTPROPS
+SUBDIRS += gstreamer-properties
+endif
+
+DISTCHECK_CONFIGURE_FLAGS = \
+ --disable-scrollkeeper \
+ --enable-more-warnings \
+ --enable-compile-warnings=maximum
+
+DIST_SUBDIRS = \
+ po \
+ profiles \
+ mate-volume-control \
+ grecord \
+ gst-mixer \
+ gstreamer-properties \
+ sound-theme \
+ $(NULL)
+
+EXTRA_DIST = \
+ .version \
+ autogen.sh \
+ configure \
+ COPYING \
+ COPYING-DOCS \
+ COPYING.grecord \
+ COPYING.gst-mixer \
+ COPYING.profiles \
+ MAINTAINERS \
+ build-aux/git-version-gen \
+ build-aux/mate-doc-utils.make \
+ m4/as-compiler-flag.m4 \
+ m4/as-version.m4 \
+ ChangeLog.pre-2-26 \
+ $(INTLTOOL_BUILT:=.in) \
+ $(NULL)
+
+DISTCLEANFILES = \
+ build-aux/mate-doc-utils.make \
+ po/.intltool-merge-cache \
+ $(NULL)
+
+ACLOCAL_AMFLAGS = -I m4
+
+# see build-aux/git-version-get for details
+BUILT_SOURCES = $(top_srcdir)/.version
+$(top_srcdir)/.version:
+ echo $(VERSION) > $@-t && mv $@-t $@
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version
+
+-include $(top_srcdir)/git.mk