Makefile.am 820 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 27
check_PROGRAMS = \
	test \
	test-readline \
	test-util \
	test-add-stream \
	test-recv \
	test-stun
Dafydd Harries's avatar
Dafydd Harries committed
28

29 30
TESTS = $(check_PROGRAMS)

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

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

test_readline_LDADD = $(GLIB_LIBS)

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

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

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

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

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

47 48
pkginclude_HEADERS = agent.h