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

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

6
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
7

Dafydd Harries's avatar
Dafydd Harries committed
8 9
libagent_la_SOURCES = agent.h agent.c

Dafydd Harries's avatar
Dafydd Harries committed
10 11 12
libagent_la_LIBADD = \
	$(top_builddir)/udp/libudp.la \
	$(top_builddir)/stun/libstun.la
13

Dafydd Harries's avatar
Dafydd Harries committed
14
check_PROGRAMS = test test-readline test-util test-add-stream test-recv
Dafydd Harries's avatar
Dafydd Harries committed
15

16
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
17

Dafydd Harries's avatar
Dafydd Harries committed
18 19 20 21
test_readline_SOURCES = test-readline.c readline.h readline.c

test_readline_LDADD = $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
22 23
test_util_SOURCES = test-util.c util.h util.c

24
test_util_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
25

Dafydd Harries's avatar
Dafydd Harries committed
26 27
test_add_stream_LDADD = libagent.la $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
28 29 30
test_recv_LDADD = libagent.la $(GLIB_LIBS)

TESTS = test test-readline test-util test-add-stream test-recv
Dafydd Harries's avatar
Dafydd Harries committed
31