summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 970cbd1f21ba546b3592c230a6737d9a46963bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

ALWAYS_SUBDIRS =		\
	gst sys ext 		\
	tests			\
	docs			\
	po			\
	common			\
	m4			\
	pkgconfig

SUBDIRS = $(ALWAYS_SUBDIRS)

DIST_SUBDIRS = $(ALWAYS_SUBDIRS)

# include before EXTRA_DIST for win32 assignment
include $(top_srcdir)/common/win32.mak

EXTRA_DIST = \
	gst-plugins-good.spec depcomp \
	AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
	ChangeLog gst-plugins-good.doap autogen.sh \
	$(win32)

DISTCLEANFILES = _stdint.h

noinst_HEADERS = \
	gst-libs/gst/gettext.h \
	gst-libs/gst/gst-i18n-plugin.h \
	gst-libs/gst/glib-compat-private.h

ACLOCAL_AMFLAGS = -I m4 -I common/m4

include $(top_srcdir)/common/release.mak
include $(top_srcdir)/common/po.mak

check-valgrind:
	cd tests/check && make check-valgrind

if HAVE_GST_CHECK
check-torture:
	cd tests/check && make torture
else
check-torture:
	true
endif

win32-update:
	for f in gst/udp/gstudp-marshal.c \
		 gst/udp/gstudp-marshal.h \
		 gst/udp/gstudp-enumtypes.c \
		 gst/udp/gstudp-enumtypes.h \
		 gst/rtpmanager/gstrtpbin-marshal.c \
		 gst/rtpmanager/gstrtpbin-marshal.h \
		 sys/v4l2/tuner-enumtypes.c \
		 sys/v4l2/tuner-enumtypes.h \
		 sys/v4l2/tuner-marshal.c \
		 sys/v4l2/tuner-marshal.h; do \
		cp $(top_builddir)/$$f win32/common; done
	$(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
	$(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
	$(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
	$(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
	$(top_srcdir)/common/gst-indent win32/common/gstrtpbin-marshal.c
	$(top_srcdir)/common/gst-indent win32/common/gstrtpbin-marshal.c
	$(top_srcdir)/common/gst-indent win32/common/tuner-enumtypes.c
	$(top_srcdir)/common/gst-indent win32/common/tuner-enumtypes.c
	$(top_srcdir)/common/gst-indent win32/common/tuner-marshal.c
	$(top_srcdir)/common/gst-indent win32/common/tuner-marshal.c
	cp $(top_builddir)/win32/common/config.h-new \
	    $(top_srcdir)/win32/common/config.h

include $(top_srcdir)/common/coverage/lcov.mak

# cruft: plugins that have been merged or moved or renamed

CRUFT_FILES = \
	$(top_builddir)/common/shave \
	$(top_builddir)/common/shave-libtool \
	$(top_builddir)/gst/median/.libs/*.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib}

CRUFT_DIRS = \
	$(top_srcdir)/gst/median \
	$(top_srcdir)/gst/qtdemux \
	$(top_srcdir)/gst/quicktime \
	$(top_srcdir)/ext/annodex

include $(top_srcdir)/common/cruft.mak

all-local: check-cruft