1DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3SUBDIRS = \
4	gst-libs gst sys ext pkgconfig \
5	m4 common docs tests po tools
6
7DIST_SUBDIRS = \
8	gst gst-libs sys ext pkgconfig \
9	m4 common docs tests po tools
10
11EXTRA_DIST = \
12	depcomp \
13	AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
14	ChangeLog gst-plugins-bad.doap autogen.sh \
15	$(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
16	meson_options.txt \
17	ext/vulkan/vkconfig.h.meson
18
19DISTCLEANFILES = _stdint.h
20
21ACLOCAL_AMFLAGS = -I m4 -I common/m4
22
23include $(top_srcdir)/common/release.mak
24include $(top_srcdir)/common/po.mak
25
26check-valgrind:
27	$(MAKE) -C tests/check check-valgrind
28
29if HAVE_GST_CHECK
30check-torture:
31	$(MAKE) -C tests/check torture
32build-checks:
33	$(MAKE) -C tests/check build-checks
34else
35check-torture:
36	true
37build-checks:
38	true
39endif
40
41include $(top_srcdir)/common/coverage/lcov.mak
42
43# cruft: plugins that have been merged or moved or renamed
44
45CRUFT_FILES = \
46	$(top_builddir)/gst-plugins-bad.spec \
47	$(top_builddir)/common/shave \
48	$(top_builddir)/common/shave-libtool \
49	$(top_builddir)/docs/plugins/xml/plugin-sdp.xml \
50	$(top_builddir)/ext/alsaspdif/.libs/*.{so,dll,DLL,dylib} \
51	$(top_builddir)/ext/gtk/.libs/libgstgtksink.so \
52	$(top_builddir)/ext/gtk/.libs/libgstgtk.so \
53	$(top_builddir)/ext/hls/.libs/libgstfragmented* \
54	$(top_builddir)/ext/ivorbis/.libs/*.{so,dll,DLL,dylib} \
55	$(top_builddir)/ext/jack/.libs/*.{so,dll,DLL,dylib} \
56	$(top_builddir)/ext/libde265/.libs/libgstlibde265.{so,dll,DLL,dylib} \
57	$(top_builddir)/ext/teletextdec/.libs/libgstteletextdec.so \
58	$(top_builddir)/gst/opus/.libs/libgstopus.{so,dll,DLL,dylib} \
59	$(top_builddir)/ext/mpg123/.libs/*.{so,dll,DLL,dylib} \
60	$(top_builddir)/ext/qt/.libs/*.{so,dll,DLL,dylib} \
61	$(top_builddir)/ext/schroedinger/.libs/*.{so,dll,DLL,dylib} \
62	$(top_builddir)/gst/aacparse/.libs/*.{so,dll,DLL,dylib} \
63	$(top_builddir)/gst/amrparse/.libs/*.{so,dll,DLL,dylib} \
64	$(top_builddir)/gst/audiomixer/.libs/*.{so,dll,DLL,dylib} \
65	$(top_builddir)/gst/audioparsers/.libs/*.{so,dll,DLL,dylib} \
66	$(top_builddir)/gst/camerabin2/.libs/libgstcamerabin2.so \
67	$(top_builddir)/gst/flacparse/.libs/*.{so,dll,DLL,dylib} \
68	$(top_builddir)/gst/imagefreeze/.libs/*.{so,dll,DLL,dylib} \
69	$(top_builddir)/gst/mpeg4videoparse/.libs/*.{so,dll,DLL,dylib} \
70	$(top_builddir)/gst/qtmux/.libs/*.{so,dll,DLL,dylib} \
71	$(top_builddir)/gst/rawparse/.libs/libgstrawparse* \
72	$(top_builddir)/gst/rtp/.libs/*.{so,dll,DLL,dylib} \
73	$(top_builddir)/gst/rtpmux/.libs/*.{so,dll,DLL,dylib} \
74	$(top_builddir)/gst/rtpvp8/.libs/*.{so,dll,DLL,dylib} \
75	$(top_builddir)/gst/scaletempo/.libs/*.{so,dll,DLL,dylib} \
76	$(top_builddir)/gst/selector/.libs/*.{so,dll,DLL,dylib} \
77	$(top_builddir)/gst/shapewipe/.libs/*.{so,dll,DLL,dylib} \
78	$(top_builddir)/gst/valve/.libs/*.{so,dll,DLL,dylib} \
79	$(top_builddir)/gst/videoparsers/.libs/libgsth263parse* \
80	$(top_builddir)/gst-libs/gst/baseparse/.libs/libgstbaseparse* \
81	$(top_builddir)/sys/d3dvideosink/.libs/libgstd3dvideosink.{dll,DLL} \
82	$(top_builddir)/sys/oss4/.libs/*.{so,dll,DLL,dylib} \
83	$(top_builddir)/tests/check/elements/{aac,ac3,amr,flac,mpegaudio,dca}parse \
84	$(top_builddir)/tests/check/elements/autocolorspace \
85	$(top_builddir)/tests/check/elements/capssetter \
86	$(top_builddir)/tests/check/elements/dataurisrc \
87	$(top_builddir)/tests/check/elements/imagefreeze \
88	$(top_builddir)/tests/check/elements/qtmux \
89	$(top_builddir)/tests/check/elements/rawaudioparse \
90	$(top_builddir)/tests/check/elements/rawvideoparse \
91	$(top_builddir)/tests/check/elements/rtpmux \
92	$(top_builddir)/tests/check/elements/schroenc \
93	$(top_builddir)/tests/check/elements/selector \
94	$(top_builddir)/tests/check/elements/valve \
95	$(top_builddir)/tests/check/pipelines/metadata \
96	$(top_builddir)/tests/check/pipelines/mimic \
97	$(top_builddir)/tests/examples/jack/jack_client \
98	$(top_builddir)/tests/examples/scaletempo/scaletempo-demo \
99	$(top_builddir)/tests/examples/switch/switcher \
100	$(top_builddir)/tests/icles/output-selector-test \
101	$(top_builddir)/tests/icles/test-oss4 \
102	$(top_builddir)/tests/icles/equalizer-test
103
104CRUFT_DIRS = \
105	$(top_srcdir)/docs/plugins/tmpl \
106	$(top_srcdir)/gst/aacparse \
107	$(top_srcdir)/gst/amrparse \
108	$(top_srcdir)/gst/audiomixer \
109	$(top_srcdir)/gst/camerabin \
110	$(top_srcdir)/gst/dataurisrc \
111	$(top_srcdir)/gst/flacparse \
112	$(top_srcdir)/gst/hls \
113	$(top_srcdir)/gst/imagefreeze \
114	$(top_srcdir)/gst/invtelecine \
115	$(top_srcdir)/gst/liveadder \
116	$(top_srcdir)/gst/mpeg4videoparse \
117	$(top_srcdir)/gst/qtmux \
118	$(top_srcdir)/gst/rtpmux \
119	$(top_srcdir)/gst/rtpvp8 \
120	$(top_srcdir)/gst/rtp \
121	$(top_srcdir)/gst/scaletempo \
122	$(top_srcdir)/gst/selector \
123	$(top_srcdir)/gst/shapewipe \
124	$(top_srcdir)/gst/valve \
125	$(top_srcdir)/gst-libs/gst/baseparse \
126	$(top_srcdir)/gst-libs/gst/base \
127	$(top_srcdir)/gst-libs/gst/egl \
128	$(top_srcdir)/gst-libs/gst/gl \
129	$(top_srcdir)/gst-libs/gst/signalprocessor \
130	$(top_srcdir)/tests/examples/gl \
131	$(top_srcdir)/tests/examples/scaletempo \
132	$(top_srcdir)/tests/examples/gtk \
133	$(top_srcdir)/tests/examples/qt \
134	$(top_srcdir)/tests/examples/shapewipe \
135	$(top_srcdir)/tests/examples/switch \
136	$(top_srcdir)/tests/examples/jack \
137	$(top_srcdir)/ext/alsaspdif \
138	$(top_srcdir)/ext/amrwbenc \
139	$(top_srcdir)/ext/cog \
140	$(top_srcdir)/ext/eglgles \
141	$(top_srcdir)/ext/gsettings \
142	$(top_srcdir)/ext/gtk \
143	$(top_srcdir)/ext/ivorbis \
144	$(top_srcdir)/ext/jack \
145	$(top_srcdir)/ext/metadata \
146	$(top_srcdir)/ext/mimic \
147	$(top_srcdir)/ext/mpg123 \
148	$(top_srcdir)/ext/qt \
149	$(top_srcdir)/ext/schroedinger \
150	$(top_srcdir)/ext/swfdec \
151	$(top_srcdir)/ext/tarkin \
152	$(top_srcdir)/ext/theora \
153	$(top_srcdir)/ext/vp8 \
154	$(top_srcdir)/sys/mfc \
155	$(top_srcdir)/win32
156
157include $(top_srcdir)/common/cruft.mak
158
159all-local: check-cruft
160