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