Makefile.am 1.66 KB
Newer Older
aymeric's avatar
aymeric committed
1

Yann Diorcet's avatar
Yann Diorcet committed
2
SUBDIRS=C fr it ja cs xml
aymeric's avatar
aymeric committed
3

Simon Morlat's avatar
Simon Morlat committed
4 5 6 7 8
LINPHONE_ONHOLD_MUSIC= 	toy-mono.wav \
			dont_wait_too_long.mkv

LINPHONE_SOUNDS=ringback.wav hello8000.wav hello16000.wav incoming_chat.wav $(LINPHONE_ONHOLD_MUSIC)

9 10 11 12 13 14 15 16 17
LINPHONE_RINGS=		\
			rings/oldphone-mono.wav \
			rings/four_hands_together.mkv \
			rings/house_keeping.mkv \
			rings/its_a_game.mkv \
			rings/leaving_dreams.mkv \
			rings/notes_of_the_optimistic.mkv \
			rings/soft_as_snow.mkv

aymeric's avatar
aymeric committed
18 19
sounddir=$(datadir)/sounds/linphone

Simon Morlat's avatar
Simon Morlat committed
20
sound_DATA=$(LINPHONE_SOUNDS)
aymeric's avatar
aymeric committed
21 22 23 24 25 26 27

ringdir=$(datadir)/sounds/linphone/rings

ring_DATA=$(LINPHONE_RINGS)

#to be compliant with freedesktop.org:
linphone_fddir= $(datadir)/applications
28
linphone_fd_DATA= linphone.desktop audio-assistant.desktop
aymeric's avatar
aymeric committed
29 30 31 32 33


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

34 35
linphonedir=$(datadir)/linphone
linphone_DATA=rootca.pem
36

37 38 39
appdatadir=$(datadir)/appdata
appdata_DATA=linphone.appdata.xml

40 41 42 43 44 45 46 47 48 49
#download root ca from mozilla using script from curl (mk-ca-bundle.pl).
#if that fails (no connection, no perl SSL...) , then a rootca bundle archived in the source tree is taken instead.
rootca.pem:
	rm -f $(builddir)/fresh-rootca.pem
	- HTTPS_CA_DIR=$(HTTPS_CA_DIR) $(top_srcdir)/scripts/mk-ca-bundle.pl $(builddir)/fresh-rootca.pem
	if test -f $(builddir)/fresh-rootca.pem ; then \
		cp -f $(builddir)/fresh-rootca.pem $(builddir)/rootca.pem ; \
	else \
		cp -f $(srcdir)/archived-rootca.pem $(builddir)/rootca.pem ; \
	fi
50

51
EXTRA_DIST =					$(LINPHONE_SOUNDS) \
52
						$(LINPHONE_RINGS) \
53 54
						linphone.desktop.in   \
						audio-assistant.desktop.in   \
55 56
						linphone.pc.in \
						Makefile.inc \
Simon Morlat's avatar
Simon Morlat committed
57 58
						archived-rootca.pem \
						$(appdata_DATA)
59

Simon Morlat's avatar
Simon Morlat committed
60 61
CLEANFILES=rootca.pem certdata.txt fresh-rootca.pem

Simon Morlat's avatar
Simon Morlat committed
62