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 lib_LTLIBRARIES = libnice.la
14 libnice_la_DEPENDENCIES = \
15 ../local/liblocal.la \
16 ../agent/libagent.la \
21 ../local/liblocal.la \
24 libnice_la_LDFLAGS = \
25 -export-symbols $(srcdir)/libnice.sym \
32 -I $(top_srcdir)/address \
33 -I $(top_srcdir)/agent \
34 -I $(top_srcdir)/random \
35 -I $(top_srcdir)/udp \
43 COMMON_LDADD = libnice.la $(GLIB_LIBS)
45 ice_test_client_SOURCES = \
52 ice_test_client_LDADD = $(top_builddir)/stun/libstun.la $(COMMON_LDADD)
54 ice_test_server_SOURCES = \
61 ice_test_server_LDADD = $(COMMON_LDADD)
63 jingle_test_server_LDADD = $(COMMON_LDADD)
68 # XXX: test programs disabled due to changes in API
72 test_readline_SOURCES = test-readline.c readline.h readline.c
74 test_readline_LDADD = $(COMMON_LDADD)
76 test_util_SOURCES = test-util.c util.h util.c
78 test_util_LDADD = $(COMMON_LDADD)
83 libnice.symbols: libnice.sym Makefile
85 while read s; do echo "T $$s"; done < $< > $@
87 CLEANFILES += libnice.symbols
89 check_SCRIPTS = test-symbols.sh
90 check_DATA = libnice.symbols
92 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
94 EXTRA_DIST = $(check_SCRIPTS) libnice.sym
96 pkginclude_HEADERS = nice.h
98 pkgconfigdir = $(libdir)/pkgconfig
99 pkgconfig_DATA = nice.pc