encoding-target: Remove useless check for local presence
[platform/upstream/gstreamer.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 # include before EXTRA_DIST for win32 assignment
32 include $(top_srcdir)/common/win32.mak
33
34 EXTRA_DIST = \
35         depcomp \
36         AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
37         ChangeLog gst-plugins-base.doap autogen.sh $(win32)
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 check: check-exports
64
65 # cruft: plugins that have been merged or moved or renamed
66
67 CRUFT_FILES = \
68         $(top_builddir)/gst-plugins-base.spec \
69         $(top_builddir)/win32/common/config.h-new \
70         $(top_builddir)/common/shave \
71         $(top_builddir)/common/shave-libtool \
72         $(top_builddir)/gst-libs/gst/audio/testchannels \
73         $(top_builddir)/gst-libs/gst/app/gstapp-marshal.c \
74         $(top_builddir)/gst-libs/gst/app/gstapp-marshal.h \
75         $(top_builddir)/tests/check/elements/gdppay \
76         $(top_builddir)/tests/check/elements/gdpdepay \
77         $(top_builddir)/tests/check/pipelines/streamheader \
78         $(top_builddir)/tests/examples/audio/testchannels \
79         $(top_builddir)/tests/examples/volume/volume \
80         $(top_builddir)/tools/gst-discoverer
81
82 CRUFT_DIRS = \
83         $(top_srcdir)/docs/design \
84         $(top_srcdir)/docs/plugins/tmpl \
85         $(top_srcdir)/ext/gio \
86         $(top_srcdir)/gst/gdp \
87         $(top_srcdir)/sys/v4l \
88         $(top_srcdir)/tests/examples/v4l
89
90 include $(top_srcdir)/common/cruft.mak
91
92 all-local: check-cruft