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

3 4
ALWAYS_SUBDIRS =		\
	gst sys ext 		\
5
	tests			\
6
	docs			\
7
	po			\
8 9 10
	common			\
	m4			\
	pkgconfig
11

12
SUBDIRS = $(ALWAYS_SUBDIRS)
13

14
DIST_SUBDIRS = $(ALWAYS_SUBDIRS)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
15

16 17
# include before EXTRA_DIST for win32 assignment
include $(top_srcdir)/common/win32.mak
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
18

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
19
EXTRA_DIST = \
20 21
	gst-plugins-good.spec depcomp \
	AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
22
	ChangeLog gst-plugins-good.doap autogen.sh \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
23
	$(win32)
24

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
25
DISTCLEANFILES = _stdint.h
26

27 28
noinst_HEADERS = \
	gst-libs/gst/gettext.h \
29
	gst-libs/gst/gst-i18n-plugin.h \
30
	gst-libs/gst/glib-compat-private.h
31

32 33
ACLOCAL_AMFLAGS = -I m4 -I common/m4

34
include $(top_srcdir)/common/release.mak
35
include $(top_srcdir)/common/po.mak
36 37

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

40
if HAVE_GST_CHECK
41
check-torture:
42
	$(MAKE) -C tests/check torture
43
build-checks:
44
	$(MAKE) -C tests/check build-checks
45 46 47
else
check-torture:
	true
48 49
build-checks:
	true
50 51
endif

52 53 54 55
win32-update:
	cp $(top_builddir)/win32/common/config.h-new \
	    $(top_srcdir)/win32/common/config.h

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

58 59 60 61
# cruft: plugins that have been merged or moved or renamed

CRUFT_FILES = \
	$(top_builddir)/common/shave \
62
	$(top_builddir)/common/shave-libtool \
63
	$(top_builddir)/gst/median/.libs/*.{so,dll,DLL,dylib} \
64 65
	$(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
66 67 68
	$(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}
69

70
CRUFT_DIRS = \
71
	$(top_srcdir)/docs/plugins/tmpl \
72
	$(top_srcdir)/gst/median \
73
	$(top_srcdir)/gst/qtdemux \
74 75
	$(top_srcdir)/gst/quicktime \
	$(top_srcdir)/ext/annodex
76

77 78 79
include $(top_srcdir)/common/cruft.mak

all-local: check-cruft