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 26 27 28 29
#
# 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

noinst_LIBRARIES = 	libnua.a

noinst_PROGRAMS =	nua_objs.o

Pekka Pessi's avatar
Pekka Pessi committed
30 31 32
noinst_PROGRAMS +=	test_nua

TESTS = 		test_nua
Pekka Pessi's avatar
Pekka Pessi committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46

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

BUILT_SOURCES =		nua_tag_ref.c

include_HEADERS =       nua.h nua_stack.h nua_tag.h

libnua_a_SOURCES = 	nua.c nua_common.c nua_stack.c \
			nua_tag.c nua_tag_ref.c

nua_objs_o_SOURCES =	$(libnua_a_SOURCES)
nua_objs_o_LDADD =	

47 48
COVERAGE_INPUT = 	$(nua_objs_o_SOURCES) $(include_HEADERS)

Pekka Pessi's avatar
Pekka Pessi committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
LDADD = 		libnua.a \
			-L../iptsec -liptsec \
			-L../ipt -lipt \
			-L../http -lhttp \
			-L../nea -lnea \
			-L../nta -lnta \
			-L../sresolv -lsresolv \
			-L../tport -ltport \
			-L../stun -lstun \
			-L../soa -lsoa \
			-L../sdp -lsdp \
			-L../sip -lsip \
			-L../msg -lmsg \
			-L../url -lurl \
			-L../bnf -lbnf \
			-L../su -lsu

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

EXTRA_DIST =		Doxyfile nua.docs $(BUILT_SOURCES)

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

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

TAG_DLL_FLAGS =		LIST=nua_tag_list