Work around deprecated thread API in glib master
[platform/upstream/gst-plugins-good.git] / Makefile.am
1 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3 if USE_GCONFTOOL
4 GCONF_DIR = gconf
5 else
6 GCONF_DIR =
7 endif
8
9 ALWAYS_SUBDIRS =                \
10         gst sys ext             \
11         tests                   \
12         docs                    \
13         po                      \
14         common                  \
15         m4                      \
16         pkgconfig
17
18 SUBDIRS =                       \
19         $(ALWAYS_SUBDIRS)       \
20         $(GCONF_DIR)
21
22 DIST_SUBDIRS =                  \
23         $(ALWAYS_SUBDIRS)       \
24         gconf
25
26
27 # include before EXTRA_DIST for win32 assignment
28 include $(top_srcdir)/common/win32.mak
29
30 EXTRA_DIST = \
31         gst-plugins-good.spec depcomp \
32         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
33         ChangeLog gst-plugins-good.doap autogen.sh \
34         $(win32)
35
36 DISTCLEANFILES = _stdint.h
37
38 noinst_HEADERS = \
39         gst-libs/gst/gettext.h \
40         gst-libs/gst/gst-i18n-plugin.h
41         gst-libs/gst/glib-compat-private.h
42
43 ACLOCAL_AMFLAGS = -I m4 -I common/m4
44
45 include $(top_srcdir)/common/release.mak
46 include $(top_srcdir)/common/po.mak
47
48 check-valgrind:
49         cd tests/check && make check-valgrind
50
51 if HAVE_GST_CHECK
52 check-torture:
53         cd tests/check && make torture
54 else
55 check-torture:
56         true
57 endif
58
59 win32-update:
60         for f in gst/udp/gstudp-marshal.c \
61                  gst/udp/gstudp-marshal.h \
62                  gst/udp/gstudp-enumtypes.c \
63                  gst/udp/gstudp-enumtypes.h \
64                  gst/rtpmanager/gstrtpbin-marshal.c \
65                  gst/rtpmanager/gstrtpbin-marshal.h ; do \
66                 cp $(top_builddir)/$$f win32/common; done
67         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
68         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
69         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
70         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
71         $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
72         $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
73         cp $(top_builddir)/win32/common/config.h-new \
74             $(top_srcdir)/win32/common/config.h
75
76 include $(top_srcdir)/common/coverage/lcov.mak
77
78 # cruft: plugins that have been merged or moved or renamed
79
80 CRUFT_FILES = \
81         $(top_builddir)/common/shave \
82         $(top_builddir)/common/shave-libtool \
83         $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
84         $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
85         $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
86         $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
87         $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib}
88
89 CRUFT_DIRS = \
90         $(top_srcdir)/gst/qtdemux \
91         $(top_srcdir)/gst/quicktime
92
93 include $(top_srcdir)/common/cruft.mak
94
95 all-local: check-cruft