Commit 32cc7bf6 authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Added all resources for liblinphone_tester in the installation directory.

parent e8744497
EXTRA_DIST= tester_hosts sounds images certificates rcfiles
#EXTRA_DIST= tester_hosts \
#sounds\ahbahouaismaisbon.wav \
#sounds\hello8000.wav \
#sounds\oldphone.wav \
#sounds\sintel_trailer_opus_h264.mkv \
#sounds\sintel_trailer_pcmu_h264.mkv\
#sounds\hello8000.mkv \
#sounds\hello8000_mkv_ref.wav \
#sounds\ringback.wav \
#sounds\sintel_trailer_opus_vp8.mkv \
#sounds\vrroom.wav \
#images\nowebcamCIF.jpg\
#certificates rcfiles sipp
#DIST_SUBDIRS = sounds certificates rcfiles images sipp
TESTER_SOUNDS = sounds/ahbahouaismaisbon.wav \
sounds/hello8000.wav \
sounds/oldphone.wav \
sounds/sintel_trailer_opus_h264.mkv \
sounds/sintel_trailer_pcmu_h264.mkv \
sounds/hello8000.mkv \
sounds/hello8000_mkv_ref.wav\
sounds/ringback.wav \
sounds/sintel_trailer_opus_vp8.mkv \
sounds/vrroom.wav
sounddir = $(datadir)/liblinphone_tester/sounds
sound_DATA = $(TESTER_SOUNDS)
SIPP_FILES = sipp/call_invite_200ok_without_contact_header.xml \
sipp/call_with_multiple_audio_mline_in_sdp.xml \
sipp/call_with_video_mline_before_audio_in_sdp.xml\
sipp/call_with_audio_mline_before_video_in_sdp.xml \
sipp/call_with_multiple_video_mline_in_sdp.xml \
sipp/sip_update_within_icoming_reinvite_with_no_sdp.xml
sippdir = $(datadir)/liblinphone_tester/sipp
sipp_DATA = $(SIPP_FILES)
CERTIFICATE_FILES = certificates/altname/agent.pem \
certificates/altname/cafile.pem \
certificates/altname/openssl-altname.cnf\
certificates/cn/agent.pem \
certificates/cn/cafile.pem \
certificates/cn/openssl-cn.cnf
certificatesdir=$(datadir)/liblinphone_tester/certificates
certificates_DATA = $(CERTIFICATE_FILES)
RCFILES = \
rcfiles/empty_rc\
rcfiles/laure_call_logs_rc\
rcfiles/laure_rc\
rcfiles/marie_early_rc\
rcfiles/marie_h264_rc\
rcfiles/marie_quality_reporting_rc\
rcfiles/marie_rc\
rcfiles/marie_rc_rtcp_xr\
rcfiles/marie_remote_404_rc\
rcfiles/marie_remote_default_values_rc\
rcfiles/marie_remote_https_rc\
rcfiles/marie_remote_invalid_rc\
rcfiles/marie_remote_invalid_uri_rc\
rcfiles/marie_remote_localfile2_rc\
rcfiles/marie_remote_localfile_android_rc\
rcfiles/marie_remote_localfile_rc\
rcfiles/marie_remote_localfile_win10_rc\
rcfiles/marie_remote_rc\
rcfiles/marie_sips_rc\
rcfiles/marie_transient_remote_rc\
rcfiles/marie_zrtp_aes256_rc\
rcfiles/marie_zrtp_b256_rc\
rcfiles/marie_zrtp_srtpsuite_aes256_rc\
rcfiles/michelle_rc\
rcfiles/multi_account_rc\
rcfiles/pauline_alt_rc\
rcfiles/pauline_h264_rc\
rcfiles/pauline_rc\
rcfiles/pauline_rc_rtcp_xr\
rcfiles/pauline_sips_rc\
rcfiles/pauline_tcp_rc\
rcfiles/pauline_wild_rc\
rcfiles/pauline_zrtp_aes256_rc\
rcfiles/pauline_zrtp_b256_rc\
rcfiles/pauline_zrtp_srtpsuite_aes256_rc\
rcfiles/remote_zero_length_params_rc\
rcfiles/stun_rc\
rcfiles/upnp_rc\
rcfiles/zero_length_params_rc
rcfilesdir = $(datadir)/liblinphone_tester/rcfiles
rcfiles_DATA = $(RCFILES)
IMAGE_FILES = images/nowebcamCIF.jpg
imagesdir = $(datadir)/liblinphone_tester/images
images_DATA = $(IMAGE_FILES)
COMMON_FILE = common/bc_completion
commondir = $(datadir)/liblinphone_tester/common
common_DATA = $(COMMON_FILE)
#EXTRA_DIST=tester_hosts sounds certificates rcfiles images sipp
EXTRA_DIST = tester_hosts\
messages.db\
$(TESTER_SOUNDS)\
$(SIPP_FILES)\
$(CERTIFICATE_FILES)\
$(RCFILES)\
$(IMAGE_FILES)\
$(COMMON_FILE)
if BUILD_CUNIT_TESTS
......@@ -8,6 +122,7 @@ if BUILD_CUNIT_TESTS
liblinphonedir = $(includedir)/linphone
liblinphone_HEADERS = liblinphone_tester.h
lib_LTLIBRARIES = liblinphonetester.la
liblinphonetester_la_SOURCES = \
......@@ -42,6 +157,12 @@ liblinphonetester_la_HEADERS = common/bc_tester_utils.h
liblinphonetester_la_LDFLAGS= -no-undefined
liblinphonetester_la_LIBADD= ../coreapi/liblinphone.la $(CUNIT_LIBS)
liblinphone_tester_bindir = $(bindir)/liblinphone_tester
liblinphone_testerdir = $(datadir)/liblinphone_tester
dist_liblinphone_tester_DATA = tester_hosts messages.db
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/coreapi -I$(top_srcdir)/tester/common
AM_CFLAGS = -DBC_CONFIG_FILE=\"config.h\" $(STRICT_OPTIONS) $(STRICT_OPTIONS_CC) \
-DIN_LINPHONE $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS) $(CUNIT_CFLAGS) \
......@@ -55,8 +176,8 @@ AM_CFLAGS += $(LIBGTK_CFLAGS) $(LIBGTKMAC_CFLAGS) -DHAVE_GTK
endif
if !BUILD_IOS
noinst_PROGRAMS = liblinphone_tester
#noinst_PROGRAMS = liblinphone_tester
bin_PROGRAMS = liblinphone_tester
liblinphone_tester_SOURCES = liblinphone_tester.c
liblinphone_tester_LDADD = $(top_builddir)/coreapi/liblinphone.la liblinphonetester.la -lm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment