Makefile.am 879 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 \
33 34
	test-stun \
	test-priority
Dafydd Harries's avatar
Dafydd Harries committed
35

36 37
TESTS = $(check_PROGRAMS)

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

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

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

44
test_stun_LDADD = $(COMMON_LDADD)
Dafydd Harries's avatar
Dafydd Harries committed
45

46 47
test_priority_LDADD = $(COMMON_LDADD)

48
pkginclude_HEADERS = agent.h candidate.h event.h
49