Parallelise 'make check-valgrind'
[platform/upstream/gstreamer.git] / Makefile.am
1 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3 SUBDIRS =               \
4         gst \
5         common \
6         pkgconfig \
7         docs \
8         examples \
9         tests
10
11 DIST_SUBDIRS = $(SUBDIRS)
12
13 EXTRA_DIST = \
14         ChangeLog autogen.sh depcomp \
15         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
16         gst-rtsp.spec docs/design/gst-rtp-server-design \
17         gst-rtsp-server.doap
18
19 ACLOCAL_AMFLAGS = -I m4 -I common/m4
20
21 DISTCLEANFILES = _stdint.h gst-rtsp.spec
22
23 include $(top_srcdir)/common/release.mak
24 include $(top_srcdir)/common/po.mak
25
26 include $(top_srcdir)/common/coverage/lcov.mak
27
28 check-valgrind:
29         $(MAKE) -C tests/check check-valgrind
30
31 if HAVE_CHECK
32 check-torture:
33         $(MAKE) -C tests/check torture
34 build-checks:
35         $(MAKE) -C tests/check  build-checks
36 else
37 check-torture:
38         true
39 build-checks:
40         true
41 endif
42
43 # cruft: plugins that have been merged or moved or renamed
44 CRUFT_FILES = \
45         $(top_builddir)/common/shave \
46         $(top_builddir)/common/shave-libtool \
47         $(top_builddir)/common/m4/codeset.m4 \
48         $(top_builddir)/common/m4/gettext.m4 \
49         $(top_builddir)/common/m4/glibc2.m4 \
50         $(top_builddir)/common/m4/glibc21.m4 \
51         $(top_builddir)/common/m4/iconv.m4 \
52         $(top_builddir)/common/m4/intdiv0.m4 \
53         $(top_builddir)/common/m4/intl.m4 \
54         $(top_builddir)/common/m4/intldir.m4 \
55         $(top_builddir)/common/m4/intlmacosx.m4 \
56         $(top_builddir)/common/m4/intmax.m4 \
57         $(top_builddir)/common/m4/inttypes-pri.m4 \
58         $(top_builddir)/common/m4/inttypes_h.m4 \
59         $(top_builddir)/common/m4/lcmessage.m4 \
60         $(top_builddir)/common/m4/lib-ld.m4 \
61         $(top_builddir)/common/m4/lib-link.m4 \
62         $(top_builddir)/common/m4/lib-prefix.m4 \
63         $(top_builddir)/common/m4/libtool.m4 \
64         $(top_builddir)/common/m4/lock.m4 \
65         $(top_builddir)/common/m4/longlong.m4 \
66         $(top_builddir)/common/m4/ltoptions.m4 \
67         $(top_builddir)/common/m4/ltsugar.m4 \
68         $(top_builddir)/common/m4/ltversion.m4 \
69         $(top_builddir)/common/m4/lt~obsolete.m4 \
70         $(top_builddir)/common/m4/nls.m4 \
71         $(top_builddir)/common/m4/po.m4 \
72         $(top_builddir)/common/m4/printf-posix.m4 \
73         $(top_builddir)/common/m4/progtest.m4 \
74         $(top_builddir)/common/m4/size_max.m4 \
75         $(top_builddir)/common/m4/stdint_h.m4 \
76         $(top_builddir)/common/m4/uintmax_t.m4 \
77         $(top_builddir)/common/m4/visibility.m4 \
78         $(top_builddir)/common/m4/wchar_t.m4 \
79         $(top_builddir)/common/m4/wint_t.m4 \
80         $(top_builddir)/common/m4/xsize.m4
81
82 include $(top_srcdir)/common/cruft.mak
83
84 all-local: check-cruft