annodex: Add to the CRUFT_DIRS
[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 \
55                  sys/v4l2/tuner-enumtypes.c \
56                  sys/v4l2/tuner-enumtypes.h \
57                  sys/v4l2/tuner-marshal.c \
58                  sys/v4l2/tuner-marshal.h; do \
59                 cp $(top_builddir)/$$f win32/common; done
60         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
61         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
62         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
63         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
64         $(top_srcdir)/common/gst-indent win32/common/gstrtpbin-marshal.c
65         $(top_srcdir)/common/gst-indent win32/common/gstrtpbin-marshal.c
66         $(top_srcdir)/common/gst-indent win32/common/tuner-enumtypes.c
67         $(top_srcdir)/common/gst-indent win32/common/tuner-enumtypes.c
68         $(top_srcdir)/common/gst-indent win32/common/tuner-marshal.c
69         $(top_srcdir)/common/gst-indent win32/common/tuner-marshal.c
70         cp $(top_builddir)/win32/common/config.h-new \
71             $(top_srcdir)/win32/common/config.h
72
73 include $(top_srcdir)/common/coverage/lcov.mak
74
75 # cruft: plugins that have been merged or moved or renamed
76
77 CRUFT_FILES = \
78         $(top_builddir)/common/shave \
79         $(top_builddir)/common/shave-libtool \
80         $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
81         $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
82         $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
83         $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
84         $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib}
85
86 CRUFT_DIRS = \
87         $(top_srcdir)/gst/qtdemux \
88         $(top_srcdir)/gst/quicktime \
89         $(top_srcdir)/ext/annodex
90
91 include $(top_srcdir)/common/cruft.mak
92
93 all-local: check-cruft