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

2 3
include $(top_srcdir)/common.mk

4
AM_CFLAGS = -Wall -Werror \
5
	-I $(top_srcdir) \
6
	-I $(top_srcdir)/address \
7
	-I $(top_srcdir)/random \
8
	-I $(top_srcdir)/udp \
9
	-I $(top_srcdir)/stun \
10
	$(GLIB_CFLAGS)
Dafydd Harries's avatar
Dafydd Harries committed
11

12 13
COMMON_LDADD = libagent.la $(GLIB_LIBS)

14
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
15

16
libagent_la_SOURCES = \
Dafydd Harries's avatar
Dafydd Harries committed
17 18
	candidate.h \
	candidate.c \
19
	agent.h \
20 21 22
	agent.c \
	event.h \
	event.c
Dafydd Harries's avatar
Dafydd Harries committed
23

Dafydd Harries's avatar
Dafydd Harries committed
24
libagent_la_LIBADD = \
25
	$(top_builddir)/address/libaddress.la \
26
	$(top_builddir)/random/librandom.la \
Dafydd Harries's avatar
Dafydd Harries committed
27 28
	$(top_builddir)/udp/libudp.la \
	$(top_builddir)/stun/libstun.la
29

30 31
check_PROGRAMS = \
	test \
Dafydd Harries's avatar
Dafydd Harries committed
32
	test-add-remove-stream \
33
	test-recv \
Dafydd Harries's avatar
Dafydd Harries committed
34
	test-send \
35
	test-stun \
36 37
	test-priority \
	test-poll
Dafydd Harries's avatar
Dafydd Harries committed
38

39 40
TESTS = $(check_PROGRAMS)

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

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

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

Dafydd Harries's avatar
Dafydd Harries committed
47 48
test_send_LDADD = $(COMMON_LDADD)

49
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
50

51 52
test_priority_LDADD = $(COMMON_LDADD)

53 54
test_poll_LDADD = $(COMMON_LDADD)

55
pkginclude_HEADERS = agent.h candidate.h event.h
56