Makefile.am 761 Bytes
Newer Older
Dafydd Harries's avatar
Dafydd Harries committed
1

2
AM_CFLAGS = -Wall -Werror \
3
	-I $(top_srcdir)/random \
4
	-I $(top_srcdir)/udp \
5
	-I $(top_srcdir)/stun \
6
	$(GLIB_CFLAGS)
Dafydd Harries's avatar
Dafydd Harries committed
7

8 9
COMMON_LDADD = libagent.la $(GLIB_LIBS)

10
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
11

12 13 14
libagent_la_SOURCES = \
	address.h \
	address.c \
Dafydd Harries's avatar
Dafydd Harries committed
15 16
	candidate.h \
	candidate.c \
17 18
	agent.h \
	agent.c
Dafydd Harries's avatar
Dafydd Harries committed
19

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

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

32 33
TESTS = $(check_PROGRAMS)

34
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
35

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

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

40
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
41

42 43
test_priority_LDADD = $(COMMON_LDADD)

44 45
pkginclude_HEADERS = agent.h