Makefile.am 2.16 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3
#
# Makefile.am for nua module
#
Pekka Pessi's avatar
Pekka Pessi committed
4 5 6
# Copyright (C) 2005,2006 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
Pekka Pessi's avatar
Pekka Pessi committed
7 8 9 10 11 12 13

# ----------------------------------------------------------------------
# Header paths

# ----------------------------------------------------------------------
# Build targets

14 15
noinst_LTLIBRARIES = 	libnua.la

16 17
check_PROGRAMS =
TESTS =
18

19 20 21 22 23
if HAVE_CHECK
check_PROGRAMS +=	check_nua
TESTS += 		check_nua
endif

Pekka Pessi's avatar
Pekka Pessi committed
24 25 26 27 28
# ----------------------------------------------------------------------
# Rules for building the targets

BUILT_SOURCES =		nua_tag_ref.c

29 30
nobase_include_sofia_HEADERS = \
			sofia-sip/nua.h sofia-sip/nua_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
31

Pekka Pessi's avatar
Pekka Pessi committed
32
libnua_la_SOURCES = 	nua.c nua_stack.h nua_common.c nua_stack.c \
33 34
			nua_server.h nua_server.c \
			nua_client.h nua_client.c \
35
			nua_extension.c nua_types.h \
Pekka Pessi's avatar
Pekka Pessi committed
36
			nua_dialog.c nua_dialog.h \
37
			outbound.c outbound.h \
38
			nua_params.c nua_params.h \
39 40
			nua_register.c nua_registrar.c \
			nua_session.c nua_options.c \
41
			nua_message.c nua_publish.c nua_subnotref.c \
42
			nua_notifier.c \
43
			nua_event_server.c \
44
			nua_tag.c nua_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
45

46
COVERAGE_INPUT = 	$(libnua_la_SOURCES) $(include_sofia_HEADERS)
47

48 49
# ----------------------------------------------------------------------

Pekka Pessi's avatar
Pekka Pessi committed
50 51
check_nua_SOURCES = 	check_nua.c check_nua.h \
			check_session.c check_register.c \
52
			check_etsi.c check_simple.c
53

54 55 56
check_nua_LDADD = 	$(nua_libs) ${top_builddir}/s2check/libs2.a \
			@CHECK_LIBS@

57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
nua_libs = 		libnua.la  \
			../iptsec/libiptsec.la \
			../ipt/libipt.la \
			../nea/libnea.la \
			../nta/libnta.la \
			../sresolv/libsresolv.la \
			../tport/libtport.la \
			../stun/libstun.la \
			../soa/libsoa.la \
			../sdp/libsdp.la \
			../sip/libsip.la \
			../http/libhttp.la \
			../msg/libmsg.la \
			../url/liburl.la \
			../bnf/libbnf.la \
			../su/libsu.la

Pekka Pessi's avatar
Pekka Pessi committed
74 75 76
# ----------------------------------------------------------------------
# Install and distribution rules

77
EXTRA_DIST =		nua.docs $(BUILT_SOURCES)
Pekka Pessi's avatar
Pekka Pessi committed
78 79 80 81

# ----------------------------------------------------------------------
# Sofia specific rules

82
include $(top_srcdir)/rules/sofia.am
83

84
INCLUDES = ${INTERNAL_INCLUDES} -I$(top_srcdir)/s2check
85

86
TAG_DLL_FLAGS =		LIST=nua_tag_list