Fix distcheck
[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         depcomp \
16         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
17         ChangeLog gst-plugins-bad.doap autogen.sh $(win32) \
18         $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
19         meson_options.txt config.h.meson \
20         gst-libs/gst/interfaces/build_mkenum.py \
21         gst-libs/gst/mpegts/mpegts_enum.py \
22         ext/srtp/srtp_mkenum.py \
23         ext/vulkan/vkconfig.h.meson gst-libs/gst/gl/gstglconfig.h.meson
24
25 DISTCLEANFILES = _stdint.h
26
27 ACLOCAL_AMFLAGS = -I m4 -I common/m4
28
29 include $(top_srcdir)/common/release.mak
30 include $(top_srcdir)/common/po.mak
31
32 check-valgrind:
33         $(MAKE) -C tests/check check-valgrind
34
35 if HAVE_GST_CHECK
36 check-torture:
37         $(MAKE) -C tests/check torture
38 build-checks:
39         $(MAKE) -C tests/check build-checks
40 else
41 check-torture:
42         true
43 build-checks:
44         true
45 endif
46
47 include $(top_srcdir)/common/coverage/lcov.mak
48
49 check: check-exports
50
51 # cruft: plugins that have been merged or moved or renamed
52
53 CRUFT_FILES = \
54         $(top_builddir)/win32/common/config.h-new \
55         $(top_builddir)/gst-plugins-bad.spec \
56         $(top_builddir)/common/shave \
57         $(top_builddir)/common/shave-libtool \
58         $(top_builddir)/ext/alsaspdif/.libs/*.{so,dll,DLL,dylib} \
59         $(top_builddir)/ext/hls/.libs/libgstfragmented* \
60         $(top_builddir)/ext/ivorbis/.libs/*.{so,dll,DLL,dylib} \
61         $(top_builddir)/ext/jack/.libs/*.{so,dll,DLL,dylib} \
62         $(top_builddir)/gst/opus/.libs/libgstopus.{so,dll,DLL,dylib} \
63         $(top_builddir)/ext/mpg123/.libs/*.{so,dll,DLL,dylib} \
64         $(top_builddir)/gst/aacparse/.libs/*.{so,dll,DLL,dylib} \
65         $(top_builddir)/gst/amrparse/.libs/*.{so,dll,DLL,dylib} \
66         $(top_builddir)/gst/audioparsers/.libs/*.{so,dll,DLL,dylib} \
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/rtp/.libs/*.{so,dll,DLL,dylib} \
72         $(top_builddir)/gst/rtpmux/.libs/*.{so,dll,DLL,dylib} \
73         $(top_builddir)/gst/rtpvp8/.libs/*.{so,dll,DLL,dylib} \
74         $(top_builddir)/gst/scaletempo/.libs/*.{so,dll,DLL,dylib} \
75         $(top_builddir)/gst/selector/.libs/*.{so,dll,DLL,dylib} \
76         $(top_builddir)/gst/shapewipe/.libs/*.{so,dll,DLL,dylib} \
77         $(top_builddir)/gst/valve/.libs/*.{so,dll,DLL,dylib} \
78         $(top_builddir)/gst/videoparsers/.libs/libgsth263parse* \
79         $(top_builddir)/gst-libs/gst/baseparse/.libs/libgstbaseparse* \
80         $(top_builddir)/sys/oss4/.libs/*.{so,dll,DLL,dylib} \
81         $(top_builddir)/tests/check/elements/{aac,ac3,amr,flac,mpegaudio,dca}parse \
82         $(top_builddir)/tests/check/elements/autocolorspace \
83         $(top_builddir)/tests/check/elements/capssetter \
84         $(top_builddir)/tests/check/elements/dataurisrc \
85         $(top_builddir)/tests/check/elements/imagefreeze \
86         $(top_builddir)/tests/check/elements/qtmux \
87         $(top_builddir)/tests/check/elements/rtpmux \
88         $(top_builddir)/tests/check/elements/selector \
89         $(top_builddir)/tests/check/elements/valve \
90         $(top_builddir)/tests/check/pipelines/metadata \
91         $(top_builddir)/tests/check/pipelines/mimic \
92         $(top_builddir)/tests/examples/jack/jack_client \
93         $(top_builddir)/tests/examples/scaletempo/scaletempo-demo \
94         $(top_builddir)/tests/examples/switch/switcher \
95         $(top_builddir)/tests/icles/output-selector-test \
96         $(top_builddir)/tests/icles/test-oss4 \
97         $(top_builddir)/tests/icles/equalizer-test
98
99 CRUFT_DIRS = \
100         $(top_srcdir)/docs/plugins/tmpl \
101         $(top_srcdir)/gst/aacparse \
102         $(top_srcdir)/gst/amrparse \
103         $(top_srcdir)/gst/camerabin \
104         $(top_srcdir)/gst/dataurisrc \
105         $(top_srcdir)/gst/flacparse \
106         $(top_srcdir)/gst/hls \
107         $(top_srcdir)/gst/imagefreeze \
108         $(top_srcdir)/gst/invtelecine \
109         $(top_srcdir)/gst/liveadder \
110         $(top_srcdir)/gst/mpeg4videoparse \
111         $(top_srcdir)/gst/qtmux \
112         $(top_srcdir)/gst/rtpmux \
113         $(top_srcdir)/gst/rtpvp8 \
114         $(top_srcdir)/gst/rtp \
115         $(top_srcdir)/gst/scaletempo \
116         $(top_srcdir)/gst/selector \
117         $(top_srcdir)/gst/shapewipe \
118         $(top_srcdir)/gst/valve \
119         $(top_srcdir)/gst-libs/gst/baseparse \
120         $(top_srcdir)/gst-libs/gst/egl \
121         $(top_srcdir)/gst-libs/gst/signalprocessor \
122         $(top_srcdir)/tests/examples/gl/gtk/gtkvideooverlay \
123         $(top_srcdir)/tests/examples/scaletempo \
124         $(top_srcdir)/tests/examples/shapewipe \
125         $(top_srcdir)/tests/examples/switch \
126         $(top_srcdir)/tests/examples/jack \
127         $(top_srcdir)/ext/alsaspdif \
128         $(top_srcdir)/ext/amrwbenc \
129         $(top_srcdir)/ext/cog \
130         $(top_srcdir)/ext/eglgles \
131         $(top_srcdir)/ext/ivorbis \
132         $(top_srcdir)/ext/jack \
133         $(top_srcdir)/ext/metadata \
134         $(top_srcdir)/ext/mimic \
135         $(top_srcdir)/ext/mpg123 \
136         $(top_srcdir)/ext/swfdec \
137         $(top_srcdir)/ext/tarkin \
138         $(top_srcdir)/ext/theora \
139         $(top_srcdir)/ext/vp8 \
140         $(top_srcdir)/sys/mfc
141
142 include $(top_srcdir)/common/cruft.mak
143
144 all-local: check-cruft