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