freeswitch/libs/sofia-sip/tests/Makefile.am
Michael Jerris a36ff2d330 Fri May 23 07:53:25 EDT 2008 Pekka.Pessi@nokia.com
* tests/Makefile.am: do not fix testsdir
  
  Build check_sofia only with make check.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:24:07 +00:00

57 lines
1.4 KiB
Makefile

#
# Makefile.am for Sofia SIP tests
#
# Copyright (C) 2007,2008 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
TESTS = test_nua
check_PROGRAMS = test_nua
EXTRA_DIST = check_sofia.h check_sofia.c suite_for_nua.c
test_nua_SOURCES = test_nua.c
test_nua_LDADD = $(check_LIBRARIES) \
${sofiabuilddir}/libsofia-sip-ua.la
check_LIBRARIES = libtestnua.a libtestproxy.a libtestnat.a
libtestnua_a_SOURCES = test_nua.h test_ops.c \
test_init.c \
test_nua_api.c test_nua_params.c \
test_register.c test_basic_call.c \
test_offer_answer.c \
test_call_reject.c test_cancel_bye.c \
test_call_hold.c test_session_timer.c \
test_refer.c test_100rel.c \
test_simple.c test_sip_events.c \
test_extension.c
libtestproxy_a_SOURCES = test_proxy.h test_proxy.c
libtestnat_a_SOURCES = test_nat.h test_nat.c test_nat_tags.c
if HAVE_CHECK
TESTS += check_sofia
check_PROGRAMS += check_sofia
endif
check_sofia_CFLAGS = @CHECK_CFLAGS@
check_sofia_SOURCES = check_sofia.c check_sofia.h \
suite_for_nua.c
check_sofia_LDADD = $(check_LIBRARIES) \
${sofiabuilddir}/libsofia-sip-ua.la \
@CHECK_LIBS@
CLEANFILES = tmp_sippasswd.??????
# ----------------------------------------------------------------------
# Sofia specific rules
include $(top_srcdir)/rules/sofia.am
INCLUDES = ${INTERNAL_INCLUDES}