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 $(top_builddir)/agent/libagent.la \
21 $(top_builddir)/agent/libagent.la
23 libnice_la_LDFLAGS = \
24 -export-symbols $(srcdir)/libnice.sym \
32 -I $(top_srcdir)/agent \
33 -I $(top_srcdir)/random \
34 -I $(top_srcdir)/socket \
40 libnice.symbols: libnice.sym Makefile
42 while read s; do echo "T $$s"; done < $< > $@
44 CLEANFILES += libnice.symbols
46 check_SCRIPTS = test-symbols.sh
47 check_DATA = libnice.symbols
49 TESTS = $(check_SCRIPTS)
51 EXTRA_DIST = $(check_SCRIPTS) libnice.sym libnice.ver
53 pkginclude_HEADERS = nice.h
55 pkgconfigdir = $(libdir)/pkgconfig
56 pkgconfig_DATA = nice.pc