Makefile.am 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #
  2. # Makefile.am for nua module
  3. #
  4. # Copyright (C) 2005,2006 Nokia Corporation
  5. # Contact: Pekka Pessi <pekka.pessi@nokia.com>
  6. # Licensed under LGPL. See file COPYING.
  7. # ----------------------------------------------------------------------
  8. # Header paths
  9. # ----------------------------------------------------------------------
  10. # Build targets
  11. noinst_LTLIBRARIES = libnua.la
  12. check_PROGRAMS =
  13. TESTS =
  14. if HAVE_CHECK
  15. check_PROGRAMS += check_nua
  16. TESTS += check_nua
  17. endif
  18. # ----------------------------------------------------------------------
  19. # Rules for building the targets
  20. BUILT_SOURCES = nua_tag_ref.c
  21. nobase_include_sofia_HEADERS = \
  22. sofia-sip/nua.h sofia-sip/nua_tag.h
  23. libnua_la_SOURCES = nua.c nua_stack.h nua_common.c nua_stack.c \
  24. nua_server.h nua_server.c \
  25. nua_client.h nua_client.c \
  26. nua_extension.c nua_types.h \
  27. nua_dialog.c nua_dialog.h \
  28. outbound.c outbound.h \
  29. nua_params.c nua_params.h \
  30. nua_register.c nua_registrar.c \
  31. nua_session.c nua_options.c \
  32. nua_message.c nua_publish.c nua_subnotref.c \
  33. nua_notifier.c \
  34. nua_event_server.c \
  35. nua_tag.c nua_tag_ref.c
  36. COVERAGE_INPUT = $(libnua_la_SOURCES) $(include_sofia_HEADERS)
  37. # ----------------------------------------------------------------------
  38. check_nua_SOURCES = check_nua.c check_nua.h \
  39. check_session.c check_register.c \
  40. check_etsi.c check_simple.c
  41. check_nua_LDADD = $(nua_libs) ${top_builddir}/s2check/libs2.a \
  42. @CHECK_LIBS@ -lz
  43. nua_libs = libnua.la \
  44. ../iptsec/libiptsec.la \
  45. ../ipt/libipt.la \
  46. ../nea/libnea.la \
  47. ../nta/libnta.la \
  48. ../sresolv/libsresolv.la \
  49. ../tport/libtport.la \
  50. ../stun/libstun.la \
  51. ../soa/libsoa.la \
  52. ../sdp/libsdp.la \
  53. ../sip/libsip.la \
  54. ../http/libhttp.la \
  55. ../msg/libmsg.la \
  56. ../url/liburl.la \
  57. ../bnf/libbnf.la \
  58. ../su/libsu.la
  59. # ----------------------------------------------------------------------
  60. # Install and distribution rules
  61. EXTRA_DIST = nua.docs $(BUILT_SOURCES)
  62. # ----------------------------------------------------------------------
  63. # Sofia specific rules
  64. include $(top_srcdir)/rules/sofia.am
  65. AM_CPPFLAGS = ${INTERNAL_INCLUDES} -I$(top_srcdir)/s2check
  66. TAG_DLL_FLAGS = LIST=nua_tag_list