Makefile.am 815 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

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

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

19 20 21 22 23 24 25
check_PROGRAMS = \
	test \
	test-readline \
	test-util \
	test-add-stream \
	test-recv \
	test-stun
Dafydd Harries's avatar
Dafydd Harries committed
26

27
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
28

Dafydd Harries's avatar
Dafydd Harries committed
29 30 31 32
test_readline_SOURCES = test-readline.c readline.h readline.c

test_readline_LDADD = $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
33 34
test_util_SOURCES = test-util.c util.h util.c

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

Dafydd Harries's avatar
Dafydd Harries committed
37 38
test_add_stream_LDADD = libagent.la $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
39 40
test_recv_LDADD = libagent.la $(GLIB_LIBS)

41 42 43
test_stun_LDADD = libagent.la $(GLIB_LIBS)

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

45 46
pkginclude_HEADERS = agent.h