cdffccb6780537cbe0934bf3625b886fbc716e93
[platform/upstream/gstreamer.git] / Makefile.am
1 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3 ALWAYS_SUBDIRS =                \
4         gst sys ext             \
5         tests                   \
6         docs                    \
7         po                      \
8         common                  \
9         m4                      \
10         pkgconfig
11
12 SUBDIRS = $(ALWAYS_SUBDIRS)
13
14 DIST_SUBDIRS = $(ALWAYS_SUBDIRS)
15
16 EXTRA_DIST = \
17         depcomp \
18         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
19         ChangeLog gst-plugins-good.doap autogen.sh \
20         $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
21         meson_options.txt config.h.meson
22
23 DISTCLEANFILES = _stdint.h
24
25 noinst_HEADERS = \
26         gst-libs/gst/gettext.h \
27         gst-libs/gst/gst-i18n-plugin.h \
28         gst-libs/gst/glib-compat-private.h
29
30 ACLOCAL_AMFLAGS = -I m4 -I common/m4
31
32 include $(top_srcdir)/common/release.mak
33 include $(top_srcdir)/common/po.mak
34
35 check-valgrind:
36         $(MAKE) -C tests/check check-valgrind
37
38 if HAVE_GST_CHECK
39 check-torture:
40         $(MAKE) -C tests/check torture
41 build-checks:
42         $(MAKE) -C tests/check build-checks
43 else
44 check-torture:
45         true
46 build-checks:
47         true
48 endif
49
50 include $(top_srcdir)/common/coverage/lcov.mak
51
52 # cruft: plugins that have been merged or moved or renamed
53
54 CRUFT_FILES = \
55         $(top_builddir)/gst-plugins-good.spec \
56         $(top_builddir)/win32/common/config.h-new \
57         $(top_builddir)/common/shave \
58         $(top_builddir)/common/shave-libtool \
59         $(top_builddir)/docs/plugins/xml/plugin-shout2send.xml \
60         $(top_builddir)/ext/pulse/.libs/libgstpulse.so \
61         $(top_builddir)/ext/soup/.libs/libgstsouphttpsrc.so \
62         $(top_builddir)/gst/median/.libs/*.{so,dll,DLL,dylib} \
63         $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
64         $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
65         $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
66         $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
67         $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib} \
68         $(top_builddir)/sys/oss4/.libs/libgstoss4audio.so
69
70 CRUFT_DIRS = \
71         $(top_srcdir)/docs/plugins/tmpl \
72         $(top_srcdir)/gst/median \
73         $(top_srcdir)/gst/qtdemux \
74         $(top_srcdir)/gst/quicktime \
75         $(top_srcdir)/ext/annodex \
76         $(top_srcdir)/tests/examples/pulse
77
78 include $(top_srcdir)/common/cruft.mak
79
80 all-local: check-cruft