Makefile.am 2.16 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
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 \
20
			-I$(srcdir)/../stun -I../stun \
Pekka Pessi's avatar
Pekka Pessi committed
21 22
			-I$(srcdir)/../url -I../url \
			-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
23 24 25 26

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

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

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

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

33 34
CLEANFILES =           tmp_sippasswd.??????

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

BUILT_SOURCES =		nua_tag_ref.c

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

Pekka Pessi's avatar
Pekka Pessi committed
43
libnua_la_SOURCES = 	nua.c nua_stack.h nua_common.c nua_stack.c \
Pekka Pessi's avatar
Pekka Pessi committed
44
			nua_dialog.c nua_dialog.h \
45
			nua_params.c nua_params.h \
46 47 48
			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
49
			nua_tag.c nua_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
50

51
COVERAGE_INPUT = 	$(libnua_la_SOURCES) $(include_sofia_HEADERS)
52

Pekka Pessi's avatar
Pekka Pessi committed
53 54 55 56 57 58 59 60 61 62 63
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
64
			../http/libhttp.la \
Pekka Pessi's avatar
Pekka Pessi committed
65 66 67 68
			../msg/libmsg.la \
			../url/liburl.la \
			../bnf/libbnf.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
69

70 71
test_nua_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
72 73
test_nua_SOURCES = 	test_nua.c test_proxy.h test_proxy.c \
			test_nat.h test_nat.c
Pekka Pessi's avatar
Pekka Pessi committed
74

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

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

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

83
include ../sofia.am
84 85

TAG_DLL_FLAGS =		LIST=nua_tag_list