Makefile.am 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #
  2. # Makefile.am for Sofia SIP tests
  3. #
  4. # Copyright (C) 2007,2008 Nokia Corporation
  5. # Contact: Pekka Pessi <pekka.pessi@nokia.com>
  6. # Licensed under LGPL. See file COPYING.
  7. TESTS = test_nua
  8. check_PROGRAMS = test_nua
  9. EXTRA_DIST = check_sofia.h check_sofia.c suite_for_nua.c
  10. test_nua_SOURCES = test_nua.c
  11. test_nua_LDADD = $(check_LIBRARIES) \
  12. ${sofiabuilddir}/libsofia-sip-ua.la -ldl
  13. check_LIBRARIES = libtestnua.a libtestproxy.a libtestnat.a
  14. libtestnua_a_SOURCES = test_nua.h test_ops.c \
  15. test_init.c \
  16. test_nua_api.c test_nua_params.c \
  17. test_register.c test_basic_call.c \
  18. test_offer_answer.c \
  19. test_call_reject.c test_cancel_bye.c \
  20. test_call_hold.c test_session_timer.c \
  21. test_refer.c test_100rel.c \
  22. test_simple.c test_sip_events.c \
  23. test_extension.c
  24. libtestproxy_a_SOURCES = test_proxy.h test_proxy.c
  25. libtestnat_a_SOURCES = test_nat.h test_nat.c test_nat_tags.c
  26. if HAVE_CHECK
  27. TESTS += check_dlopen_sofia check_sofia
  28. check_PROGRAMS += check_dlopen_sofia check_sofia
  29. endif
  30. check_sofia_CFLAGS = @CHECK_CFLAGS@
  31. check_sofia_SOURCES = check_sofia.c check_sofia.h \
  32. suite_for_nua.c
  33. check_sofia_LDADD = $(check_LIBRARIES) \
  34. ${sofiabuilddir}/libsofia-sip-ua.la \
  35. @CHECK_LIBS@
  36. check_dlopen_sofia_CFLAGS = -I$(top_srcdir)/s2check @CHECK_CFLAGS@
  37. check_dlopen_sofia_LDADD = ${top_builddir}/s2check/libs2.a @CHECK_LIBS@ -ldl
  38. CLEANFILES = tmp_sippasswd.??????
  39. # ----------------------------------------------------------------------
  40. # Sofia specific rules
  41. include $(top_srcdir)/rules/sofia.am
  42. AM_CPPFLAGS = ${INTERNAL_INCLUDES}