Makefile.am 1.67 KB
Newer Older
1
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
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)
38

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

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
	cd tests/check && make check-valgrind
48

49
if HAVE_GST_CHECK
50
check-torture:
51
	cd tests/check && make torture
52 53 54 55
else
check-torture:
	true
endif
56

57 58 59 60
WIN32_COPY = \
	$(top_builddir)/gst-libs/gst/*/*-enumtypes.[ch] \
	$(top_builddir)/_stdint.h

61
win32-update:
62 63 64 65 66 67
	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 \
68
	    $(top_srcdir)/win32/common/config.h
69 70

include $(top_srcdir)/common/coverage/lcov.mak
71 72 73

check: check-exports

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

76 77
CRUFT_FILES = \
	$(top_builddir)/common/shave \
78
	$(top_builddir)/common/shave-libtool \
79
	$(top_builddir)/gst-libs/gst/audio/testchannels \
80
	$(top_builddir)/tests/examples/volume/volume \
81 82
	$(top_builddir)/tools/gst-discoverer

83 84 85 86

include $(top_srcdir)/common/cruft.mak

all-local: check-cruft