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

3 4 5
if USE_GCONFTOOL
GCONF_DIR = gconf
else
6
GCONF_DIR =
7
endif
8

9 10
ALWAYS_SUBDIRS =		\
	gst sys ext 		\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
11
	tests			\
12
	docs			\
13
	po			\
14 15 16
	common			\
	m4			\
	pkgconfig
17

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
18
SUBDIRS = 			\
19 20
	$(ALWAYS_SUBDIRS)	\
	$(GCONF_DIR)
21

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
22
DIST_SUBDIRS = 			\
23 24
	$(ALWAYS_SUBDIRS)	\
	gconf
25

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
26

27 28
# include before EXTRA_DIST for win32 assignment
include $(top_srcdir)/common/win32.mak
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
29

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
30
EXTRA_DIST = \
31 32
	gst-plugins-good.spec depcomp \
	AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
33
	ChangeLog gst-plugins-good.doap autogen.sh \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
34
	$(win32)
David I. Lehn's avatar
David I. Lehn committed
35

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
36
DISTCLEANFILES = _stdint.h
37

38 39 40
noinst_HEADERS = \
	gst-libs/gst/gettext.h \
	gst-libs/gst/gst-i18n-plugin.h
41
	gst-libs/gst/glib-compat-private.h
42

43 44
ACLOCAL_AMFLAGS = -I m4 -I common/m4

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

check-valgrind:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
49
	cd tests/check && make check-valgrind
50

51
if HAVE_GST_CHECK
52
check-torture:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
53
	cd tests/check && make torture
54 55 56 57 58
else
check-torture:
	true
endif

59
win32-update:
60 61 62 63 64 65 66 67 68 69 70 71 72
	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 ; 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 gst/rtpmanager/gstrtpbin-marshal.c
	$(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
73 74 75
	cp $(top_builddir)/win32/common/config.h-new \
	    $(top_srcdir)/win32/common/config.h

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

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

CRUFT_FILES = \
	$(top_builddir)/common/shave \
82
	$(top_builddir)/common/shave-libtool \
83 84
	$(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
	$(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
85 86 87
	$(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}
88

89 90 91 92
CRUFT_DIRS = \
	$(top_srcdir)/gst/qtdemux \
	$(top_srcdir)/gst/quicktime

93 94 95
include $(top_srcdir)/common/cruft.mak

all-local: check-cruft