Merge branch 'plugin-move-rtp-opus'
[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 # include before EXTRA_DIST for win32 assignment
17 include $(top_srcdir)/common/win32.mak
18
19 EXTRA_DIST = \
20         gst-plugins-good.spec depcomp \
21         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
22         ChangeLog gst-plugins-good.doap autogen.sh \
23         $(win32)
24
25 DISTCLEANFILES = _stdint.h
26
27 noinst_HEADERS = \
28         gst-libs/gst/gettext.h \
29         gst-libs/gst/gst-i18n-plugin.h \
30         gst-libs/gst/glib-compat-private.h
31
32 ACLOCAL_AMFLAGS = -I m4 -I common/m4
33
34 include $(top_srcdir)/common/release.mak
35 include $(top_srcdir)/common/po.mak
36
37 check-valgrind:
38         $(MAKE) -C tests/check check-valgrind
39
40 if HAVE_GST_CHECK
41 check-torture:
42         $(MAKE) -C tests/check torture
43 build-checks:
44         $(MAKE) -C tests/check build-checks
45 else
46 check-torture:
47         true
48 build-checks:
49         true
50 endif
51
52 win32-update:
53         cp $(top_builddir)/win32/common/config.h-new \
54             $(top_srcdir)/win32/common/config.h
55
56 include $(top_srcdir)/common/coverage/lcov.mak
57
58 # cruft: plugins that have been merged or moved or renamed
59
60 CRUFT_FILES = \
61         $(top_builddir)/common/shave \
62         $(top_builddir)/common/shave-libtool \
63         $(top_builddir)/gst/median/.libs/*.{so,dll,DLL,dylib} \
64         $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
65         $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
66         $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
67         $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
68         $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib}
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
77 include $(top_srcdir)/common/cruft.mak
78
79 all-local: check-cruft