Makefile: Add usage of build-checks step
[platform/upstream/gstreamer.git] / Makefile.am
1 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3 SUBDIRS = \
4         gst-libs gst sys ext pkgconfig \
5         m4 common docs tests po tools
6
7 DIST_SUBDIRS = \
8         gst gst-libs sys ext pkgconfig \
9         m4 common docs tests po tools
10
11 # include before EXTRA_DIST for win32 assignment
12 include $(top_srcdir)/common/win32.mak
13
14 EXTRA_DIST = \
15         gst-plugins-bad.spec depcomp \
16         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
17         ChangeLog gst-plugins-bad.doap autogen.sh \
18         $(win32)
19
20 DISTCLEANFILES = _stdint.h
21
22 ACLOCAL_AMFLAGS = -I m4 -I common/m4
23
24 include $(top_srcdir)/common/release.mak
25 include $(top_srcdir)/common/po.mak
26
27 check-valgrind:
28         cd tests/check && make check-valgrind
29
30 if HAVE_GST_CHECK
31 check-torture:
32         cd tests/check && make torture
33 build-checks:
34         cd tests/check && make build-checks
35 else
36 check-torture:
37         true
38 build-checks:
39         true
40 endif
41
42 win32-update:
43         cp $(top_builddir)/win32/common/config.h-new \
44             $(top_srcdir)/win32/common/config.h
45
46 include $(top_srcdir)/common/coverage/lcov.mak
47
48 check: check-exports
49
50 # cruft: plugins that have been merged or moved or renamed
51
52 CRUFT_FILES = \
53         $(top_builddir)/common/shave \
54         $(top_builddir)/common/shave-libtool \
55         $(top_builddir)/ext/alsaspdif/.libs/*.{so,dll,DLL,dylib} \
56         $(top_builddir)/ext/ivorbis/.libs/*.{so,dll,DLL,dylib} \
57         $(top_builddir)/ext/jack/.libs/*.{so,dll,DLL,dylib} \
58         $(top_builddir)/gst/aacparse/.libs/*.{so,dll,DLL,dylib} \
59         $(top_builddir)/gst/amrparse/.libs/*.{so,dll,DLL,dylib} \
60         $(top_builddir)/gst/audioparsers/.libs/*.{so,dll,DLL,dylib} \
61         $(top_builddir)/gst/flacparse/.libs/*.{so,dll,DLL,dylib} \
62         $(top_builddir)/gst/imagefreeze/.libs/*.{so,dll,DLL,dylib} \
63         $(top_builddir)/gst/mpeg4videoparse/.libs/*.{so,dll,DLL,dylib} \
64         $(top_builddir)/gst/qtmux/.libs/*.{so,dll,DLL,dylib} \
65         $(top_builddir)/gst/rtpmux/.libs/*.{so,dll,DLL,dylib} \
66         $(top_builddir)/gst/rtpvp8/.libs/*.{so,dll,DLL,dylib} \
67         $(top_builddir)/gst/scaletempo/.libs/*.{so,dll,DLL,dylib} \
68         $(top_builddir)/gst/selector/.libs/*.{so,dll,DLL,dylib} \
69         $(top_builddir)/gst/shapewipe/.libs/*.{so,dll,DLL,dylib} \
70         $(top_builddir)/gst/valve/.libs/*.{so,dll,DLL,dylib} \
71         $(top_builddir)/gst/videoparsers/.libs/libgsth263parse* \
72         $(top_builddir)/gst-libs/gst/baseparse/.libs/libgstbaseparse* \
73         $(top_builddir)/sys/oss4/.libs/*.{so,dll,DLL,dylib} \
74         $(top_builddir)/tests/check/elements/{aac,ac3,amr,flac,mpegaudio,dca}parse \
75         $(top_builddir)/tests/check/elements/autocolorspace \
76         $(top_builddir)/tests/check/elements/capssetter \
77         $(top_builddir)/tests/check/elements/imagefreeze \
78         $(top_builddir)/tests/check/elements/qtmux \
79         $(top_builddir)/tests/check/elements/rtpmux \
80         $(top_builddir)/tests/check/elements/selector \
81         $(top_builddir)/tests/check/elements/valve \
82         $(top_builddir)/tests/check/pipelines/metadata \
83         $(top_builddir)/tests/examples/jack/jack_client \
84         $(top_builddir)/tests/examples/scaletempo/scaletempo-demo \
85         $(top_builddir)/tests/examples/switch/switcher \
86         $(top_builddir)/tests/icles/output-selector-test \
87         $(top_builddir)/tests/icles/test-oss4 \
88         $(top_builddir)/tests/icles/equalizer-test
89
90 CRUFT_DIRS = \
91         $(top_srcdir)/gst/aacparse \
92         $(top_srcdir)/gst/amrparse \
93         $(top_srcdir)/gst/camerabin \
94         $(top_srcdir)/gst/flacparse \
95         $(top_srcdir)/gst/hls \
96         $(top_srcdir)/gst/imagefreeze \
97         $(top_srcdir)/gst/invtelecine \
98         $(top_srcdir)/gst/mpeg4videoparse \
99         $(top_srcdir)/gst/qtmux \
100         $(top_srcdir)/gst/rtpmux \
101         $(top_srcdir)/gst/rtpvp8 \
102         $(top_srcdir)/gst/scaletempo \
103         $(top_srcdir)/gst/selector \
104         $(top_srcdir)/gst/shapewipe \
105         $(top_srcdir)/gst/valve \
106         $(top_srcdir)/gst-libs/gst/baseparse \
107         $(top_srcdir)/gst-libs/gst/egl \
108         $(top_srcdir)/gst-libs/gst/signalprocessor \
109         $(top_srcdir)/tests/examples/scaletempo \
110         $(top_srcdir)/tests/examples/shapewipe \
111         $(top_srcdir)/tests/examples/switch \
112         $(top_srcdir)/tests/examples/jack \
113         $(top_srcdir)/ext/alsaspdif \
114         $(top_srcdir)/ext/amrwbenc \
115         $(top_srcdir)/ext/cog \
116         $(top_srcdir)/ext/eglgles \
117         $(top_srcdir)/ext/ivorbis \
118         $(top_srcdir)/ext/jack \
119         $(top_srcdir)/ext/metadata \
120         $(top_srcdir)/ext/swfdec \
121         $(top_srcdir)/ext/tarkin \
122         $(top_srcdir)/ext/theora \
123         $(top_srcdir)/ext/vp8 \
124         $(top_srcdir)/sys/mfc
125
126 include $(top_srcdir)/common/cruft.mak
127
128 all-local: check-cruft