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

10 11
libagent_la_LIBADD = $(top_builddir)/udp/libudp.la

Dafydd Harries's avatar
Dafydd Harries committed
12
check_PROGRAMS = test test-readline test-util test-add-stream test-recv
Dafydd Harries's avatar
Dafydd Harries committed
13

14
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
15

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

test_readline_LDADD = $(GLIB_LIBS)

Dafydd Harries's avatar
Dafydd Harries committed
20 21
test_util_SOURCES = test-util.c util.h util.c

22
test_util_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
23

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

Dafydd Harries's avatar
Dafydd Harries committed
26 27 28
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
29