Makefile.am 1.04 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 \
21 22 23
	agent.c \
	event.h \
	event.c
Dafydd Harries's avatar
Dafydd Harries committed
24

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

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

41 42
TESTS = $(check_PROGRAMS)

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

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

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

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

51
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
52

53 54
test_priority_LDADD = $(COMMON_LDADD)

55 56
test_poll_LDADD = $(COMMON_LDADD)

57 58
test_mainloop_LDADD = $(COMMON_LDADD)

59
pkginclude_HEADERS = agent.h candidate.h event.h
60