DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-SUBDIRS = \
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
+
+if BUILD_TESTS
+SUBDIRS_TESTS = tests
+else
+SUBDIRS_TESTS =
+endif
+
+SUBDIRS = \
gst \
- bindings \
common \
pkgconfig \
docs \
- examples
+ $(SUBDIRS_EXAMPLES) \
+ $(SUBDIRS_TESTS)
-DIST_SUBDIRS = $(SUBDIRS)
+DIST_SUBDIRS = gst common pkgconfig docs examples tests
EXTRA_DIST = \
ChangeLog autogen.sh depcomp \
AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
- gst-rtsp.spec docs/design/gst-rtp-server-design
+ docs/design/gst-rtp-server-design \
+ gst-rtsp-server.doap \
+ $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
+ meson_options.txt
ACLOCAL_AMFLAGS = -I m4 -I common/m4
-DISTCLEANFILES = _stdint.h gst-rtsp.spec
+DISTCLEANFILES = _stdint.h
include $(top_srcdir)/common/release.mak
include $(top_srcdir)/common/po.mak
+include $(top_srcdir)/common/coverage/lcov.mak
+
check-valgrind:
- cd tests/check && make check-valgrind
+ $(MAKE) -C tests/check check-valgrind
if HAVE_CHECK
check-torture:
- cd tests/check && make torture
+ $(MAKE) -C tests/check torture
+build-checks:
+ $(MAKE) -C tests/check build-checks
else
check-torture:
true
+build-checks:
+ true
endif
# cruft: plugins that have been merged or moved or renamed
CRUFT_FILES = \
+ $(top_builddir)/gst-rtsp.spec \
$(top_builddir)/common/shave \
$(top_builddir)/common/shave-libtool \
$(top_builddir)/common/m4/codeset.m4 \