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