summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 0bf9e861d6c15cac8f8c7dfffa28e32a2d5b06e4 (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
64
65
66
67
68
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-introspection

SUBDIRS_EXT =

SUBDIRS = 			\
	farstream 		\
	gst $(SUBDIRS_EXT)	\
	transmitters		\
	tests 			\
	docs			\
	common			\
	common-modified		\
	examples
#	pkgconfig

DIST_SUBDIRS = 			\
	farstream		\
	gst $(SUBDIRS_EXT)	\
	transmitters		\
	tests 			\
	docs			\
	common			\
	common-modified		\
	examples
#	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 = farstream-@FS_APIVERSION@.pc \
             farstream-@FS_APIVERSION@-uninstalled.pc
pcinfiles = farstream.pc.in \
            farstream-uninstalled.pc.in

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

%-@FS_APIVERSION@-uninstalled.pc: %-uninstalled.pc
	cp $< $@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = farstream-@FS_APIVERSION@.pc

noinst_DATA = farstream-@FS_APIVERSION@-uninstalled.pc

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