summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 2e9656aa1df3b5752552625870a5b3eaf1c58ae4 (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
AUTOMAKE_OPTIONS = foreign dist-tarZ
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = tinySAK \
	tinyNET \
	tinyHTTP \
	tinyXCAP \
	tinyIPSec \
	tinySMS \
	tinySIGCOMP \
	tinySDP \
	tinyBFCP \
	tinyMSRP \
	tinyMEDIA \
	tinyRTP \
	tinyDAV \
	tinySIP \
	\
	bindings

if TARGET_OS_IS_ANDROID
SUBDIRS += plugins/audio_opensles
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = doubango.pc


if CROSS_COMPILING
install-data-hook:
	echo "Cross-compilation is active. Do not run ldconfig";
else
install-data-hook:
	$(MKDIR_P) $(DESTDIR)/etc/ld.so.conf.d
	echo "$(libdir)" > $(DESTDIR)/etc/ld.so.conf.d/doubango.conf
	ldconfig
endif

if CROSS_COMPILING
	echo "Cross-compilation is active. Do not remove libs";
else
uninstall-hook:
	rm -f $(DESTDIR)/etc/ld.so.conf.d/doubango.conf
endif
OpenPOWER on IntegriCloud