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

2
3
include $(top_srcdir)/common.mk

4
AM_CFLAGS = $(ERROR_CFLAGS) $(GLIB_CFLAGS)
Dafydd Harries's avatar
Dafydd Harries committed
5

6
LIBS = $(GLIB_LIBS)
7

8
noinst_LTLIBRARIES = libstun.la
Dafydd Harries's avatar
Dafydd Harries committed
9

Dafydd Harries's avatar
Dafydd Harries committed
10
11
libstun_la_SOURCES = stun.h stun.c

12
noinst_PROGRAMS = stun-client stun-server
Dafydd Harries's avatar
Dafydd Harries committed
13

14
15
16
17
18
19
20
21
22
23
24
25
26
stun_client_LDADD = libstun.la
stun_server_LDADD = libstun.la

check_PROGRAMS = \
	test-attribute-pack \
	test-attribute-pack-unknown \
	test-attribute-dump \
	test-attribute-dump-unknown \
	test-attribute-unpack \
	test-attribute-unpack-unknown \
	test-attribute-unpack-wrong-length \
	test-message-pack \
	test-message-dump \
27
	test-message-dump-unknown \
28
29
	test-message-unpack \
	test-message-find-attribute
30
31
32
33
34
35
36
37
38
39

test_attribute_pack_LDADD                = libstun.la
test_attribute_pack_unknown_LDADD        = libstun.la
test_attribute_dump_LDADD                = libstun.la
test_attribute_dump_unknown_LDADD        = libstun.la
test_attribute_unpack_LDADD              = libstun.la
test_attribute_unpack_unknown_LDADD      = libstun.la
test_attribute_unpack_wrong_length_LDADD = libstun.la
test_message_pack_LDADD                  = libstun.la
test_message_dump_LDADD                  = libstun.la
40
test_message_dump_unknown_LDADD          = libstun.la
41
test_message_unpack_LDADD                = libstun.la
42
test_message_find_attribute_LDADD        = libstun.la
43

44
TESTS = $(check_PROGRAMS)
45