Makefile.am 1.01 KB
Newer Older
Dafydd Harries's avatar
Dafydd Harries committed
1

2 3
include $(top_srcdir)/common.mk

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

13 14
COMMON_LDADD = libagent.la $(GLIB_LIBS)

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

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

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

29 30
check_PROGRAMS = \
	test \
Dafydd Harries's avatar
Dafydd Harries committed
31
	test-add-remove-stream \
32
	test-recv \
Dafydd Harries's avatar
Dafydd Harries committed
33
	test-send \
34
	test-stun \
35
	test-priority \
36 37
	test-poll \
	test-mainloop
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 56
test_mainloop_LDADD = $(COMMON_LDADD)

Dafydd Harries's avatar
Dafydd Harries committed
57
pkginclude_HEADERS = agent.h candidate.h
58