Makefile.am 2.21 KB
Newer Older
1
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2

3
if BUILD_EXTERNAL
4
SUBDIRS_EXT = ext
5
else
6
SUBDIRS_EXT =
7 8
endif

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
9
SUBDIRS = 			\
10
	pkgconfig		\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
11
	gst-libs 		\
12
	gst sys $(SUBDIRS_EXT) 	\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
13
	tools 			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
14
	tests 			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
15
	docs			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
16 17
	po 			\
	common 			\
18
	m4
19

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
20
DIST_SUBDIRS = 			\
21
	pkgconfig		\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
22
	docs			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
23 24 25
	gst-libs		\
	gst sys ext		\
	tools 			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
26
	tests 			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
27 28
	po 			\
	common 			\
29
	m4
30

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

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
34
EXTRA_DIST = \
35
	gst-plugins-base.spec depcomp \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
36
	AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
37
	ChangeLog gst-plugins-base.doap autogen.sh $(win32)
David I. Lehn's avatar
David I. Lehn committed
38

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
39
DISTCLEANFILES = _stdint.h
40

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
41 42
ACLOCAL_AMFLAGS = -I m4 -I common/m4

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
43
include $(top_srcdir)/common/release.mak
44
include $(top_srcdir)/common/po.mak
45 46

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

49
if HAVE_GST_CHECK
50
check-torture:
51
	$(MAKE) -C tests/check torture
52
build-checks:
53
	$(MAKE) -C tests/check build-checks
54 55 56
else
check-torture:
	true
57 58
build-checks:
	true
59
endif
60

61 62 63 64
WIN32_COPY = \
	$(top_builddir)/gst-libs/gst/*/*-enumtypes.[ch] \
	$(top_builddir)/_stdint.h

65
win32-update:
66 67 68 69 70 71
	for f in $(WIN32_COPY); do cp -v $$f win32/common; done; \
	for f in win32/common/*-enumtypes.c; do \
	  echo "Indenting $$f"; \
	  gst-indent $$f; gst-indent $$f; \
	done
	cp -v $(top_builddir)/win32/common/config.h-new \
72
	    $(top_srcdir)/win32/common/config.h
73 74

include $(top_srcdir)/common/coverage/lcov.mak
75 76 77

check: check-exports

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

80 81
CRUFT_FILES = \
	$(top_builddir)/common/shave \
82
	$(top_builddir)/common/shave-libtool \
83
	$(top_builddir)/gst-libs/gst/audio/testchannels \
84 85
        $(top_builddir)/gst-libs/gst/app/gstapp-marshal.c \
        $(top_builddir)/gst-libs/gst/app/gstapp-marshal.h \
86 87 88
	$(top_builddir)/tests/check/elements/gdppay \
	$(top_builddir)/tests/check/elements/gdpdepay \
	$(top_builddir)/tests/check/pipelines/streamheader \
89
	$(top_builddir)/tests/examples/audio/testchannels \
90
	$(top_builddir)/tests/examples/volume/volume \
91 92
	$(top_builddir)/tools/gst-discoverer

Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
93
CRUFT_DIRS = \
94
	$(top_srcdir)/docs/plugins/tmpl \
95
	$(top_srcdir)/ext/gio \
96
	$(top_srcdir)/gst/gdp \
Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
97 98
	$(top_srcdir)/sys/v4l \
	$(top_srcdir)/tests/examples/v4l
99 100 101 102

include $(top_srcdir)/common/cruft.mak

all-local: check-cruft