Makefile.am 2.08 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7
#
# Makefile.am for nua module
#

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

Pekka Pessi's avatar
Pekka Pessi committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21
INCLUDES = 		-I$(srcdir)/../bnf -I../bnf \
	 		-I$(srcdir)/../ipt -I../ipt \
	 		-I$(srcdir)/../iptsec -I../iptsec \
	 		-I$(srcdir)/../http -I../http \
			-I$(srcdir)/../msg -I../msg \
			-I$(srcdir)/../nea -I../nea \
			-I$(srcdir)/../nta -I../nta \
			-I$(srcdir)/../nth -I../nth \
			-I$(srcdir)/../sdp -I../sdp \
			-I$(srcdir)/../sip -I../sip \
			-I$(srcdir)/../soa -I../soa \
			-I$(srcdir)/../tport -I../tport \
			-I$(srcdir)/../url -I../url \
			-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
22 23 24 25

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

26
noinst_LTLIBRARIES = 	libnua.la
Pekka Pessi's avatar
Pekka Pessi committed
27

28
noinst_PROGRAMS =	test_nua
Pekka Pessi's avatar
Pekka Pessi committed
29 30

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

32 33
CLEANFILES =           tmp_sippasswd.??????

Pekka Pessi's avatar
Pekka Pessi committed
34 35 36 37 38
# ----------------------------------------------------------------------
# Rules for building the targets

BUILT_SOURCES =		nua_tag_ref.c

39 40
nobase_include_sofia_HEADERS = \
			sofia-sip/nua.h sofia-sip/nua_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
41

Pekka Pessi's avatar
Pekka Pessi committed
42
libnua_la_SOURCES = 	nua.c nua_stack.h nua_common.c nua_stack.c \
43 44 45 46
			nua_dialog.c \
			nua_register.c nua_session.c nua_options.c \
			nua_message.c nua_publish.c nua_subnotref.c \
			nua_event_server.c \
Pekka Pessi's avatar
Pekka Pessi committed
47
			nua_tag.c nua_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
48

49
COVERAGE_INPUT = 	$(libnua_la_SOURCES) $(include_sofia_HEADERS)
50

51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
LDADD = 		libnua.la \
			../iptsec/libiptsec.la \
			../ipt/libipt.la \
			../http/libhttp.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 \
			../msg/libmsg.la \
			../url/liburl.la \
			../bnf/libbnf.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
67

68 69
test_nua_LDFLAGS = 	-static

70 71
test_nua_SOURCES = 	test_nua.c test_proxy.h test_proxy.c \
			test_nat.h test_nat.c
72

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

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

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

81
include ../sofia.am
82 83

TAG_DLL_FLAGS =		LIST=nua_tag_list