summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 30003857a1b8b9ad77ee5ca9b954d08d589c3ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

SUBDIRS_EXT =

if WANT_PYTHON
PYTHON_SUBDIR = python
endif

SUBDIRS = 			\
	gst-libs 		\
	gst $(SUBDIRS_EXT)	\
	transmitters		\
	$(PYTHON_SUBDIR)	\
	tests 			\
	docs			\
	common
#	pkgconfig

DIST_SUBDIRS = 			\
	gst-libs		\
	gst $(SUBDIRS_EXT)	\
	transmitters		\
	python			\
	tests 			\
	docs			\
	common
#	pkgconfig

EXTRA_DIST = \
	AUTHORS COPYING NEWS README ChangeLog autogen.sh \
	$(pcinfiles)

ACLOCAL_AMFLAGS = -I common/m4

check-valgrind:
	cd tests/check && make check-valgrind

if HAVE_GST_CHECK
check-torture:
	cd tests/check && make torture
else
check-torture:
	true
endif

pcverfiles = farsight2-@GST_MAJORMINOR@.pc
pcinfiles = farsight2.pc.in

%-@GST_MAJORMINOR@.pc: %.pc
	cp $< $@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcverfiles)

CLEANFILES = $(pcverfiles)

DISTCLEANFILES = $(pcinfiles:.in=)

dist-hook:
	chmod u+w ${distdir}/ChangeLog
	if test -d .git; then git log >${distdir}/ChangeLog; fi

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