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
15 -DG_LOG_DOMAIN=\"libnice-stun\" \
20 AM_CPPFLAGS = -I$(top_srcdir)
23 AM_CFLAGS += -DWINVER=0x0501 # _WIN32_WINNT_WINXP
26 noinst_LTLIBRARIES = libstun.la
28 libstun_la_SOURCES = constants.h \
29 stunagent.c stunagent.h \
30 stunmessage.c stunmessage.h \
31 stun5389.c stun5389.h \
32 stuncrc32.c stuncrc32.h \
34 stunhmac.c stunhmac.h \
37 usages/ice.c usages/ice.h \
38 usages/bind.c usages/bind.h \
39 usages/turn.c usages/turn.h \
40 usages/timer.c usages/timer.h
42 libstun_la_LIBADD = $(LIBRT) $(GNUTLS_LIBS) $(OPENSSL_LIBS) $(OPENSSL_LDFLAGS)
44 EXTRA_DIST = win32_common.h meson.build
46 libstun_la_includedir=$(includedir)/stun
47 libstun_la_include_HEADERS = stunagent.h stunmessage.h win32_common.h debug.h constants.h
49 libstun_usage_includedir=$(includedir)/stun/usages
50 libstun_usage_include_HEADERS = usages/bind.h usages/ice.h usages/turn.h usages/timer.h