Makefile.am 927 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)/address \
6
	-I $(top_srcdir)/random \
7
	-I $(top_srcdir)/udp \
8
	-I $(top_srcdir)/stun \
9
	$(GLIB_CFLAGS)
Dafydd Harries's avatar
Dafydd Harries committed
10

11 12
COMMON_LDADD = libagent.la $(GLIB_LIBS)

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

15
libagent_la_SOURCES = \
Dafydd Harries's avatar
Dafydd Harries committed
16 17
	candidate.h \
	candidate.c \
18
	agent.h \
19 20 21
	agent.c \
	event.h \
	event.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 31 32
check_PROGRAMS = \
	test \
	test-add-stream \
	test-recv \
Dafydd Harries's avatar
Dafydd Harries committed
33
	test-send \
34 35
	test-stun \
	test-priority
Dafydd Harries's avatar
Dafydd Harries committed
36

37 38
TESTS = $(check_PROGRAMS)

39
test_LDADD = libagent.la $(GLIB_LIBS)
Dafydd Harries's avatar
Dafydd Harries committed
40

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

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

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

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

49 50
test_priority_LDADD = $(COMMON_LDADD)

51
pkginclude_HEADERS = agent.h candidate.h event.h
52