Makefile.am 1.4 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
#
# 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

Pekka Pessi's avatar
Pekka Pessi committed
20
noinst_LTLIBRARIES = 	libnth.la
Pekka Pessi's avatar
Pekka Pessi committed
21

22
noinst_PROGRAMS = 	nth_test http-client http-server
Pekka Pessi's avatar
Pekka Pessi committed
23

24
TESTS = 		nth_test
Pekka Pessi's avatar
Pekka Pessi committed
25 26 27 28 29 30

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

BUILT_SOURCES =		nth_tag_ref.c

31
include_sofia_HEADERS =       nth.h nth_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
32

Pekka Pessi's avatar
Pekka Pessi committed
33
libnth_la_SOURCES = 	nth_client.c nth_server.c nth_tag.c nth_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
34

35
COVERAGE_INPUT = 	$(libnth_la_SOURCES) $(include_sofia_HEADERS)
36

Pekka Pessi's avatar
Pekka Pessi committed
37 38 39 40 41 42 43 44 45 46 47
LDADD = 		libnth.la \
			../iptsec/libiptsec.la \
			../ipt/libipt.la \
			../http/libhttp.la \
			../sresolv/libsresolv.la \
			../tport/libtport.la \
			../stun/libstun.la \
			../url/liburl.la \
			../msg/libmsg.la \
			../bnf/libbnf.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
48

49 50
nth_test_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
51 52 53 54 55 56 57 58 59 60
# ----------------------------------------------------------------------
# Install and distribution rules

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

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

include ../sofia.am