Makefile.am 813 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
	agent.h \
18 19 20
	agent.c \
	event.h \
	event.c
Dafydd Harries's avatar
Dafydd Harries committed
21

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

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

34 35
TESTS = $(check_PROGRAMS)

36
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
37

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

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

42
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
43

44 45
test_priority_LDADD = $(COMMON_LDADD)

46
pkginclude_HEADERS = agent.h address.h candidate.h event.h
47