Makefile.am 876 Bytes
Newer Older
Dafydd Harries's avatar
Dafydd Harries committed
1

2 3
AM_CFLAGS = -Wall -Werror \
	-I $(top_srcdir)/udp \
4
	-I $(top_srcdir)/stun \
5
	$(GLIB_CFLAGS)
Dafydd Harries's avatar
Dafydd Harries committed
6

7 8
COMMON_LDADD = libagent.la $(GLIB_LIBS)

9
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
10

11 12 13 14 15
libagent_la_SOURCES = \
	address.h \
	address.c \
	agent.h \
	agent.c
Dafydd Harries's avatar
Dafydd Harries committed
16

Dafydd Harries's avatar
Dafydd Harries committed
17 18 19
libagent_la_LIBADD = \
	$(top_builddir)/udp/libudp.la \
	$(top_builddir)/stun/libstun.la
20

21 22 23 24 25 26
check_PROGRAMS = \
	test \
	test-readline \
	test-util \
	test-add-stream \
	test-recv \
27 28
	test-stun \
	test-priority
Dafydd Harries's avatar
Dafydd Harries committed
29

30 31
TESTS = $(check_PROGRAMS)

32
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
33

Dafydd Harries's avatar
Dafydd Harries committed
34 35 36 37
test_readline_SOURCES = test-readline.c readline.h readline.c

test_readline_LDADD = $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
38 39
test_util_SOURCES = test-util.c util.h util.c

40
test_util_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
41

42
test_add_stream_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
43

44
test_recv_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
45

46
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
47

48 49
test_priority_LDADD = $(COMMON_LDADD)

50 51
pkginclude_HEADERS = agent.h