Makefile.am 2.23 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

Pekka Pessi's avatar
Pekka Pessi committed
14
noinst_LTLIBRARIES = 	libnua.la
Pekka Pessi's avatar
Pekka Pessi committed
15

16
check_PROGRAMS =	test_nua
Pekka Pessi's avatar
Pekka Pessi committed
17 18

TESTS = 		test_nua
Pekka Pessi's avatar
Pekka Pessi committed
19

20 21
CLEANFILES =           tmp_sippasswd.??????

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

BUILT_SOURCES =		nua_tag_ref.c

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

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

42
COVERAGE_INPUT = 	$(libnua_la_SOURCES) $(include_sofia_HEADERS)
43

Pekka Pessi's avatar
Pekka Pessi committed
44 45 46 47 48 49 50 51 52 53 54
LDADD = 		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 \
Pekka Pessi's avatar
Pekka Pessi committed
55
			../http/libhttp.la \
Pekka Pessi's avatar
Pekka Pessi committed
56 57 58 59
			../msg/libmsg.la \
			../url/liburl.la \
			../bnf/libbnf.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
60

61 62
test_nua_LDFLAGS = 	-static

63 64
test_nua_SOURCES = 	test_nua.c test_nua.h test_ops.c \
			test_init.c \
65 66
			test_nua_api.c test_nua_params.c \
			test_register.c test_basic_call.c \
67
			test_offer_answer.c \
68 69 70 71
			test_call_reject.c test_cancel_bye.c \
			test_call_hold.c test_session_timer.c \
			test_refer.c test_100rel.c \
			test_simple.c test_sip_events.c \
72
			test_extension.c \
73
			test_proxy.h test_proxy.c \
74
			test_nat.h test_nat.c test_nat_tags.c
Pekka Pessi's avatar
Pekka Pessi committed
75

Pekka Pessi's avatar
Pekka Pessi committed
76 77 78
# ----------------------------------------------------------------------
# Install and distribution rules

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

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

84
include $(top_srcdir)/rules/sofia.am
85

86 87
INCLUDES = ${INTERNAL_INCLUDES}

88
TAG_DLL_FLAGS =		LIST=nua_tag_list