2001-01-14 21:55:41 +00:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
|
2001-02-07 22:23:54 +00:00
|
|
|
if BUILD_DOCS
|
|
|
|
SUBDIRS_DOCS = docs
|
|
|
|
else
|
|
|
|
SUBDIRS_DOCS =
|
|
|
|
endif
|
|
|
|
|
2001-06-02 13:38:57 +00:00
|
|
|
if BUILD_TESTS
|
2002-01-04 21:57:08 +00:00
|
|
|
SUBDIRS_TESTS = tests testsuite
|
2001-06-02 13:38:57 +00:00
|
|
|
else
|
|
|
|
SUBDIRS_TESTS =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_EXAMPLES
|
|
|
|
SUBDIRS_EXAMPLES = examples
|
|
|
|
else
|
|
|
|
SUBDIRS_EXAMPLES =
|
|
|
|
endif
|
|
|
|
|
2003-04-07 21:28:57 +00:00
|
|
|
all-local: gst-element-check-@GST_MAJORMINOR@.m4
|
2001-01-01 08:37:41 +00:00
|
|
|
|
2003-04-07 21:28:57 +00:00
|
|
|
gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
|
|
|
|
cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
|
2002-12-08 19:34:34 +00:00
|
|
|
|
2003-12-02 04:53:52 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I common/m4
|
|
|
|
|
2003-04-07 21:28:57 +00:00
|
|
|
aclocaldir = $(datadir)/aclocal
|
|
|
|
aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
|
2002-12-08 14:39:38 +00:00
|
|
|
|
2003-04-07 21:28:57 +00:00
|
|
|
SUBDIRS = include gst libs tools \
|
2003-11-15 11:58:49 +00:00
|
|
|
$(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
|
|
|
|
pkgconfig po \
|
2004-03-18 12:14:43 +00:00
|
|
|
common \
|
2003-11-15 11:58:49 +00:00
|
|
|
$(SUBDIRS_DOCS)
|
2001-05-25 21:00:07 +00:00
|
|
|
|
2003-04-07 21:28:57 +00:00
|
|
|
# These are all the possible subdirs
|
|
|
|
DIST_SUBDIRS = include libs gst \
|
|
|
|
tools \
|
|
|
|
tests testsuite \
|
|
|
|
examples \
|
2003-10-09 01:13:21 +00:00
|
|
|
pkgconfig \
|
2003-11-15 11:58:49 +00:00
|
|
|
po \
|
2004-03-18 12:14:43 +00:00
|
|
|
common \
|
2003-11-15 11:58:49 +00:00
|
|
|
docs
|
2003-04-07 21:28:57 +00:00
|
|
|
|
2004-03-18 12:14:43 +00:00
|
|
|
EXTRA_DIST = gstreamer.spec gstreamer.spec.in gst-element-check.m4 \
|
2001-12-09 00:11:46 +00:00
|
|
|
configure.ac autogen.sh depcomp \
|
2004-02-27 12:37:13 +00:00
|
|
|
REQUIREMENTS ABOUT-NLS DOCBUILDING DEVEL RELEASE \
|
2004-03-18 12:14:43 +00:00
|
|
|
idiottest.mak
|
2003-10-09 01:13:21 +00:00
|
|
|
|
|
|
|
CLEANFILES = gst-element-check-@GST_MAJORMINOR@.m4
|
2000-01-31 09:43:08 +00:00
|
|
|
|
2001-05-31 18:35:11 +00:00
|
|
|
include $(top_srcdir)/idiottest.mak
|
2004-03-18 12:14:43 +00:00
|
|
|
include $(top_srcdir)/common/release.mak
|
2001-05-30 14:39:06 +00:00
|
|
|
|
2004-01-09 01:42:11 +00:00
|
|
|
|
|
|
|
if GST_GCOV_ENABLED
|
|
|
|
clean-gcov:
|
|
|
|
find -name "*.da" -o -name "*.gcov" | xargs rm || true
|
|
|
|
|
|
|
|
clean-bbg:
|
|
|
|
find -name "*.bbg" -o -name "*.bb" | xargs rm || true
|
|
|
|
|
|
|
|
GCOV_DIRS=gst libs
|
|
|
|
|
|
|
|
## .PHONY so it always rebuilds it
|
|
|
|
.PHONY: coverage-report.txt
|
2004-02-12 19:21:12 +00:00
|
|
|
|
2004-01-09 01:42:11 +00:00
|
|
|
coverage-report.txt:
|
2004-02-12 19:10:23 +00:00
|
|
|
BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg"` ; \
|
|
|
|
C_FILES= ; \
|
|
|
|
for F in $$BBG_FILES ; do \
|
|
|
|
F_nolibs=`echo $$F | sed -e 's/.libs\///g'` ; \
|
|
|
|
C=`echo $$F_nolibs | sed -e 's/.bbg/.c/g'` ; \
|
|
|
|
B=`basename $$F .bbg` ; \
|
|
|
|
D=`dirname $$F` ; \
|
|
|
|
DA=`echo $$F | sed -e 's/.bbg/.da/g'` ; \
|
|
|
|
DA_libs=`echo $$D/.libs/$$B/.da` ; \
|
|
|
|
if test -e $$DA || test -e $$DA_libs; then \
|
|
|
|
C_FILES="$$C_FILES $$C" ; \
|
|
|
|
fi ; \
|
|
|
|
done ; \
|
|
|
|
echo $$C_FILES ; \
|
2004-01-09 01:42:11 +00:00
|
|
|
$(top_builddir)/testsuite/decode-gcov --report $$C_FILES > coverage-report.txt
|
|
|
|
|
|
|
|
check-coverage: clean-gcov all check coverage-report.txt
|
|
|
|
cat coverage-report.txt
|
|
|
|
|
|
|
|
else
|
|
|
|
coverage-report.txt:
|
|
|
|
echo "Need to reconfigure with --enable-gcov"
|
|
|
|
|
|
|
|
check-coverage:
|
|
|
|
echo "Need to reconfigure with --enable-gcov"
|
|
|
|
|
|
|
|
endif
|
2004-03-17 10:50:04 +00:00
|
|
|
|