win32: add more generated marshal and enumtype files to win32-update
[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
42 ACLOCAL_AMFLAGS = -I m4 -I common/m4
43
44 include $(top_srcdir)/common/release.mak
45 include $(top_srcdir)/common/po.mak
46
47 check-valgrind:
48         cd tests/check && make check-valgrind
49
50 if HAVE_GST_CHECK
51 check-torture:
52         cd tests/check && make torture
53 else
54 check-torture:
55         true
56 endif
57
58 win32-update:
59         for f in gst/udp/gstudp-marshal.c \
60                  gst/udp/gstudp-marshal.h \
61                  gst/udp/gstudp-enumtypes.c \
62                  gst/udp/gstudp-enumtypes.h \
63                  gst/rtpmanager/gstrtpbin-marshal.c \
64                  gst/rtpmanager/gstrtpbin-marshal.h ; do \
65                 cp $(top_builddir)/$$f win32/common; done
66         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
67         $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
68         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
69         $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
70         $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
71         $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
72         cp $(top_builddir)/win32/common/config.h-new \
73             $(top_srcdir)/win32/common/config.h
74
75 include $(top_srcdir)/common/coverage/lcov.mak
76
77 # cruft: plugins that have been merged or moved or renamed
78
79 CRUFT_FILES = \
80         $(top_builddir)/common/shave \
81         $(top_builddir)/common/shave-libtool \
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 include $(top_srcdir)/common/cruft.mak
87
88 all-local: check-cruft