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 SUBDIRS = . tools tests
11 include $(top_srcdir)/common.mk
13 AM_CFLAGS = -std=gnu99 -DG_LOG_DOMAIN=\"libnice-stun\" $(ERROR_CFLAGS)
14 AM_CPPFLAGS = -I$(top_srcdir)
16 noinst_LTLIBRARIES = libstun.la
18 libstun_la_SOURCES = constants.h \
19 stunagent.c stunagent.h \
20 stunmessage.c stunmessage.h \
21 stun5389.c stun5389.h \
22 stuncrc32.c stuncrc32.h \
26 stunhmac.c stunhmac.h \
29 usages/ice.c usages/ice.h \
30 usages/bind.c usages/bind.h \
31 usages/turn.c usages/turn.h \
32 usages/timer.c usages/timer.h
34 libstun_la_LIBADD = $(LIBRT)
36 EXTRA_DIST = win32_common.h
38 libstun_la_includedir=$(includedir)/stun
39 libstun_la_include_HEADERS = stunagent.h stunmessage.h win32_common.h debug.h constants.h
41 libstun_usage_includedir=$(includedir)/stun/usages
42 libstun_usage_include_HEADERS = usages/bind.h usages/ice.h usages/turn.h usages/timer.h