make distcheck doesn't work without this...
[sipe-libnice.git] / tests / Makefile.am
blob98069fc1291a231b7e1480982e733c1301a1d8b5
2 # Makefile.am for the Nice Glib ICE library
4 # (C) 2006, 2007 Collabora Ltd.
5 # (C) 2006, 2007 Nokia Corporation. All rights reserved.
7 # Licensed under MPL 1.1/LGPL 2.1. See file COPYING.
9 include $(top_srcdir)/common.mk
11 AM_CFLAGS = \
12         $(ERROR_CFLAGS) \
13         $(GLIB_CFLAGS) \
14         -I $(top_srcdir) \
15         -I $(top_srcdir)/agent \
16         -I $(top_srcdir)/random \
17         -I $(top_srcdir)/socket \
18         -I $(top_srcdir)/stun
20 COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS)
22 check_PROGRAMS = \
23         test-bsd \
24         test \
25         test-address \
26         test-add-remove-stream \
27         test-priority \
28         test-mainloop \
29         test-fullmode \
30         test-restart \
31         test-fallback \
32         test-thread \
33         test-dribble
35 dist_check_SCRIPTS = \
36         check-test-fullmode-with-stun.sh
38 TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS)
40 test_bsd_LDADD = $(COMMON_LDADD)
42 test_LDADD = $(COMMON_LDADD)
44 test_thread_LDADD = $(COMMON_LDADD)
46 test_address_LDADD = $(COMMON_LDADD)
48 test_add_remove_stream_LDADD = $(COMMON_LDADD)
50 test_priority_LDADD = $(COMMON_LDADD)
52 test_mainloop_LDADD = $(COMMON_LDADD)
54 test_fullmode_LDADD = $(COMMON_LDADD)
56 test_restart_LDADD = $(COMMON_LDADD)
58 test_fallback_LDADD = $(COMMON_LDADD)
60 test_thread_LDADD = $(COMMON_LDADD)
62 test_dribble_LDADD = $(COMMON_LDADD)
64 all-local:
65         chmod a+x $(srcdir)/check-test-fullmode-with-stun.sh