Makefile.am 695 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
libagent_la_SOURCES = \
	address.h \
	address.c \
Dafydd Harries's avatar
Dafydd Harries committed
14 15
	candidate.h \
	candidate.c \
16 17
	agent.h \
	agent.c
Dafydd Harries's avatar
Dafydd Harries committed
18

Dafydd Harries's avatar
Dafydd Harries committed
19 20 21
libagent_la_LIBADD = \
	$(top_builddir)/udp/libudp.la \
	$(top_builddir)/stun/libstun.la
22

23 24 25 26
check_PROGRAMS = \
	test \
	test-add-stream \
	test-recv \
27 28
	test-stun \
	test-priority
Dafydd Harries's avatar
Dafydd Harries committed
29

30 31
TESTS = $(check_PROGRAMS)

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

34
test_add_stream_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
35

36
test_recv_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
37

38
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
39

40 41
test_priority_LDADD = $(COMMON_LDADD)

42 43
pkginclude_HEADERS = agent.h