Makefile.am 696 Bytes
Newer Older
1 2 3 4
#
# Tests using check
#

5
EXTRA_DIST = check_sofia.h check_sofia.c suite_for_nua.c
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

TESTS =
check_PROGRAMS =

include $(top_srcdir)/rules/sofia.am

INCLUDES = ${INTERNAL_INCLUDES}

AM_CFLAGS += @CHECK_CFLAGS@

if HAVE_CHECK
TESTS += check_sofia
check_PROGRAMS += check_sofia

check_sofia_SOURCES = check_sofia.c check_sofia.h \
	suite_for_nua.c

23 24 25 26 27
${sofiabuilddir}/nua/libtestnua.la \
	${sofiabuilddir}/nua/libtestproxy.la \
	${sofiabuilddir}/nua/libtestnat.la:
	cd ${sofiabuilddir}/nua && make checklib

28 29 30 31 32 33
check_sofia_LDADD = \
	${sofiabuilddir}/nua/libtestnua.la \
	${sofiabuilddir}/nua/libtestproxy.la \
	${sofiabuilddir}/nua/libtestnat.la \
	${sofiabuilddir}/libsofia-sip-ua.la @CHECK_LIBS@
endif