video-color: Fix unknown colorimetry checking
[platform/upstream/gst-plugins-base.git] / Makefile.am
1 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3 if BUILD_EXTERNAL
4 SUBDIRS_EXT = ext
5 else
6 SUBDIRS_EXT =
7 endif
8
9 SUBDIRS =                       \
10         pkgconfig               \
11         gst-libs                \
12         gst sys $(SUBDIRS_EXT)  \
13         tools                   \
14         tests                   \
15         docs                    \
16         po                      \
17         common                  \
18         m4
19
20 DIST_SUBDIRS =                  \
21         pkgconfig               \
22         docs                    \
23         gst-libs                \
24         gst sys ext             \
25         tools                   \
26         tests                   \
27         po                      \
28         common                  \
29         m4
30
31 EXTRA_DIST = \
32         depcomp \
33         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
34         ChangeLog gst-plugins-base.doap autogen.sh \
35         $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
36         gst-libs/gst/gl/gstglconfig.h.meson \
37         meson_options.txt
38
39 DISTCLEANFILES = _stdint.h
40
41 ACLOCAL_AMFLAGS = -I m4 -I common/m4
42
43 include $(top_srcdir)/common/release.mak
44 include $(top_srcdir)/common/po.mak
45
46 check-valgrind:
47         $(MAKE) -C tests/check check-valgrind
48
49 if HAVE_GST_CHECK
50 check-torture:
51         $(MAKE) -C tests/check torture
52 build-checks:
53         $(MAKE) -C tests/check build-checks
54 else
55 check-torture:
56         true
57 build-checks:
58         true
59 endif
60
61 include $(top_srcdir)/common/coverage/lcov.mak
62
63 # cruft: plugins that have been merged or moved or renamed
64
65 CRUFT_FILES = \
66         $(top_builddir)/gst-plugins-base.spec \
67         $(top_builddir)/common/shave \
68         $(top_builddir)/common/shave-libtool \
69         $(top_builddir)/gst-libs/gst/audio/testchannels \
70         $(top_builddir)/gst-libs/gst/app/gstapp-marshal.c \
71         $(top_builddir)/gst-libs/gst/app/gstapp-marshal.h \
72         $(top_builddir)/gst/encoding/.libs/libgstencodebin.so \
73         $(top_builddir)/tests/check/elements/gdppay \
74         $(top_builddir)/tests/check/elements/gdpdepay \
75         $(top_builddir)/tests/check/pipelines/streamheader \
76         $(top_builddir)/tests/examples/audio/testchannels \
77         $(top_builddir)/tests/examples/volume/volume \
78         $(top_builddir)/tools/gst-discoverer
79
80 CRUFT_DIRS = \
81         $(top_srcdir)/docs/design \
82         $(top_srcdir)/docs/plugins/tmpl \
83         $(top_srcdir)/ext/gio \
84         $(top_srcdir)/gst/gdp \
85         $(top_srcdir)/sys/v4l \
86         $(top_srcdir)/win32 \
87         $(top_srcdir)/tests/examples/v4l
88
89 include $(top_srcdir)/common/cruft.mak
90
91 all-local: check-cruft