Merge branch 'master' into 0.11
[platform/upstream/gst-plugins-good.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         cd tests/check && make check-valgrind
39
40 if HAVE_GST_CHECK
41 check-torture:
42         cd tests/check && make torture
43 else
44 check-torture:
45         true
46 endif
47
48 win32-update:
49         for f in gst/udp/gstudp-marshal.c \
50                  gst/udp/gstudp-marshal.h \
51                  gst/udp/gstudp-enumtypes.c \
52                  gst/udp/gstudp-enumtypes.h \
53                  gst/rtpmanager/gstrtpbin-marshal.c \
54                  gst/rtpmanager/gstrtpbin-marshal.h ; do \
55                 cp $(top_builddir)/$$f win32/common; done
56         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
57         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
58         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
59         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
60         $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
61         $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
62         cp $(top_builddir)/win32/common/config.h-new \
63             $(top_srcdir)/win32/common/config.h
64
65 include $(top_srcdir)/common/coverage/lcov.mak
66
67 # cruft: plugins that have been merged or moved or renamed
68
69 CRUFT_FILES = \
70         $(top_builddir)/common/shave \
71         $(top_builddir)/common/shave-libtool \
72         $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
73         $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
74         $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
75         $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
76         $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib}
77
78 CRUFT_DIRS = \
79         $(top_srcdir)/gst/qtdemux \
80         $(top_srcdir)/gst/quicktime
81
82 include $(top_srcdir)/common/cruft.mak
83
84 all-local: check-cruft