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

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

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

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

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

# ----------------------------------------------------------------------
# Install and distribution rules

65 66
EXTRA_DIST =		Doxyfile nua.docs $(BUILT_SOURCES) \
			sofia_config.h.in
Pekka Pessi's avatar
Pekka Pessi committed
67 68 69 70 71 72 73

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

include $(srcdir)/../sofia.am

TAG_DLL_FLAGS =		LIST=nua_tag_list