Makefile.am 1.98 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
			nua_extension.c nua_types.h \
Pekka Pessi's avatar
Pekka Pessi committed
34
			nua_dialog.c nua_dialog.h \
35
			outbound.c outbound.h \
36
			nua_params.c nua_params.h \
37 38
			nua_register.c nua_registrar.c \
			nua_session.c nua_options.c \
39
			nua_message.c nua_publish.c nua_subnotref.c \
40
			nua_notifier.c \
41
			nua_event_server.c \
42
			nua_tag.c nua_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
43

44
COVERAGE_INPUT = 	$(libnua_la_SOURCES) $(include_sofia_HEADERS)
45

Pekka Pessi's avatar
Pekka Pessi committed
46 47
check_nua_SOURCES = 	check_nua.c check_nua.h \
			check_session.c check_register.c \
48
			check_etsi.c \
Pekka Pessi's avatar
Pekka Pessi committed
49
			test_s2.h test_s2.c
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69

check_nua_LDADD = 	$(nua_libs) @CHECK_LIBS@

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
70 71 72
# ----------------------------------------------------------------------
# Install and distribution rules

73
EXTRA_DIST =		nua.docs $(BUILT_SOURCES)
Pekka Pessi's avatar
Pekka Pessi committed
74 75 76 77

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

78
include $(top_srcdir)/rules/sofia.am
79

80 81
INCLUDES = ${INTERNAL_INCLUDES}

82
TAG_DLL_FLAGS =		LIST=nua_tag_list