Makefile.am 1.37 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
#
# Makefile.am for nth module
#

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

INCLUDES = 	-I$(srcdir)/../ipt \
		-I$(srcdir)/../iptsec \
		-I$(srcdir)/../msg \
		-I$(srcdir)/../http \
		-I$(srcdir)/../sresolv \
		-I$(srcdir)/../tport \
		-I$(srcdir)/../url \
		-I$(srcdir)/../su

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

noinst_LIBRARIES = 	libnth.a

noinst_PROGRAMS = 	nth_test http-client http-server nth_objs.o

TESTS = 		nth_test

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

BUILT_SOURCES =		nth_tag_ref.c

include_HEADERS =       nth.h nth_tag.h

libnth_a_SOURCES = 	nth_client.c nth_server.c nth_tag.c nth_tag_ref.c

nth_objs_o_SOURCES =	$(libnth_a_SOURCES)
nth_objs_o_LDADD =	
nth_objs_o_LDFLAGS =

LDADD = 		libnth.a \
			-L../iptsec -liptsec \
			-L../ipt -lipt \
			-L../http -lhttp \
			-L../sresolv -lsresolv \
			-L../tport -ltport \
			-L../stun -lstun \
			-L../url -lurl \
			-L../msg -lmsg \
			-L../bnf -lbnf \
			-L../su -lsu 


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

EXTRA_DIST =		Doxyfile nth.docs $(BUILT_SOURCES) \
			agent.pem cafile.pem

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

include ../sofia.am