Makefile.am 1.71 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#
# Makefile.am for nua module
#

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

INCLUDES = 		-I$(srcdir)/../bnf \
	 		-I$(srcdir)/../ipt \
	 		-I$(srcdir)/../iptsec \
	 		-I$(srcdir)/../http \
			-I$(srcdir)/../msg \
			-I$(srcdir)/../nea \
			-I$(srcdir)/../nta \
			-I$(srcdir)/../nth \
			-I$(srcdir)/../sdp \
			-I$(srcdir)/../sip \
			-I$(srcdir)/../soa \
			-I$(srcdir)/../tport \
			-I$(srcdir)/../url \
			-I$(srcdir)/../su

# ----------------------------------------------------------------------
# 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 34 35 36

# ----------------------------------------------------------------------
# Rules for building the targets

BUILT_SOURCES =		nua_tag_ref.c

Pekka Pessi's avatar
Pekka Pessi committed
37
include_HEADERS =       nua.h nua_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
38

Pekka Pessi's avatar
Pekka Pessi committed
39 40
libnua_la_SOURCES = 	nua.c nua_stack.h nua_common.c nua_stack.c \
			nua_tag.c nua_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
41

Pekka Pessi's avatar
Pekka Pessi committed
42
COVERAGE_INPUT = 	$(libnua_la_SOURCES) $(include_HEADERS)
43

44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
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
60

61 62
test_nua_LDFLAGS = 	-static

63 64
test_nua_SOURCES = 	test_nua.c test_proxy.h test_proxy.c

Pekka Pessi's avatar
Pekka Pessi committed
65 66 67
# ----------------------------------------------------------------------
# Install and distribution rules

68
EXTRA_DIST =		Doxyfile nua.docs $(BUILT_SOURCES)
Pekka Pessi's avatar
Pekka Pessi committed
69 70 71 72

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

73
include ../sofia.am
Pekka Pessi's avatar
Pekka Pessi committed
74 75

TAG_DLL_FLAGS =		LIST=nua_tag_list