Makefile.am 753 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
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
8

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

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

15 16 17 18 19 20 21
check_PROGRAMS = \
	test \
	test-readline \
	test-util \
	test-add-stream \
	test-recv \
	test-stun
Dafydd Harries's avatar
Dafydd Harries committed
22

23
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
24

Dafydd Harries's avatar
Dafydd Harries committed
25 26 27 28
test_readline_SOURCES = test-readline.c readline.h readline.c

test_readline_LDADD = $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
29 30
test_util_SOURCES = test-util.c util.h util.c

31
test_util_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
32

Dafydd Harries's avatar
Dafydd Harries committed
33 34
test_add_stream_LDADD = libagent.la $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
35 36
test_recv_LDADD = libagent.la $(GLIB_LIBS)

37 38 39
test_stun_LDADD = libagent.la $(GLIB_LIBS)

TESTS = $(check_PROGRAMS)
Dafydd Harries's avatar
Dafydd Harries committed
40