summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 88d02ed1ae5e0bf9e98b2a6f9a20d4c5d7273480 (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
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

if BUILD_EXTERNAL
SUBDIRS_EXT = ext
else
SUBDIRS_EXT =
endif

SUBDIRS = 			\
	pkgconfig		\
	gst-libs 		\
	gst sys $(SUBDIRS_EXT) 	\
	tools 			\
	tests 			\
	docs			\
	po 			\
	common 			\
	m4

DIST_SUBDIRS = 			\
	pkgconfig		\
	docs			\
	gst-libs		\
	gst sys ext		\
	tools 			\
	tests 			\
	po 			\
	common 			\
	m4

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

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

DISTCLEANFILES = _stdint.h

ACLOCAL_AMFLAGS = -I m4 -I common/m4

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

check-valgrind:
	$(MAKE) -C tests/check check-valgrind

if HAVE_GST_CHECK
check-torture:
	$(MAKE) -C tests/check torture
build-checks:
	$(MAKE) -C tests/check build-checks
else
check-torture:
	true
build-checks:
	true
endif

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

check: check-exports

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

CRUFT_FILES = \
	$(top_builddir)/gst-plugins-base.spec \
	$(top_builddir)/win32/common/config.h-new \
	$(top_builddir)/common/shave \
	$(top_builddir)/common/shave-libtool \
	$(top_builddir)/gst-libs/gst/audio/testchannels \
        $(top_builddir)/gst-libs/gst/app/gstapp-marshal.c \
        $(top_builddir)/gst-libs/gst/app/gstapp-marshal.h \
	$(top_builddir)/tests/check/elements/gdppay \
	$(top_builddir)/tests/check/elements/gdpdepay \
	$(top_builddir)/tests/check/pipelines/streamheader \
	$(top_builddir)/tests/examples/audio/testchannels \
	$(top_builddir)/tests/examples/volume/volume \
	$(top_builddir)/tools/gst-discoverer

CRUFT_DIRS = \
	$(top_srcdir)/docs/design \
	$(top_srcdir)/docs/plugins/tmpl \
	$(top_srcdir)/ext/gio \
	$(top_srcdir)/gst/gdp \
	$(top_srcdir)/sys/v4l \
	$(top_srcdir)/tests/examples/v4l

include $(top_srcdir)/common/cruft.mak

all-local: check-cruft