X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=4489fc93ce01997027ae7eb13f82b378fc7cca0d;hb=a2e182c3b41cf7a149d099d65e32ac512dd60dc3;hp=a748dbc3b8ab3edbb1ca85151de13e47535cac79;hpb=09718e294dd423b3a46a43f740ccad01b6f96997;p=platform%2Fupstream%2Fgstreamer.git diff --git a/Makefile.am b/Makefile.am index a748dbc..4489fc9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,23 +1,38 @@ 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 \ common \ pkgconfig \ docs \ - examples \ - tests + $(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 @@ -25,18 +40,23 @@ 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 \