Add win32 directory to EXTRA_DIST
[sipe-libnice.git] / stun / Makefile.am
blob7601964617deb36b3078ded358575884b1f97b61
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 if WINDOWS
17   AM_CFLAGS += -DWINVER=0x0501 # _WIN32_WINNT_WINXP
18 endif
20 noinst_LTLIBRARIES = libstun.la
22 libstun_la_SOURCES = constants.h \
23         stunagent.c stunagent.h \
24         stunmessage.c stunmessage.h \
25         stun5389.c stun5389.h \
26         stuncrc32.c stuncrc32.h \
27         sha1.c sha1.h \
28         md5.c md5.h \
29         rand.c rand.h \
30         stunhmac.c stunhmac.h \
31         utils.c  utils.h \
32         debug.c  debug.h \
33         usages/ice.c usages/ice.h \
34         usages/bind.c usages/bind.h \
35         usages/turn.c usages/turn.h \
36         usages/timer.c usages/timer.h
38 libstun_la_LIBADD = $(LIBRT)
40 EXTRA_DIST = win32_common.h
42 libstun_la_includedir=$(includedir)/stun
43 libstun_la_include_HEADERS = stunagent.h stunmessage.h win32_common.h debug.h constants.h
45 libstun_usage_includedir=$(includedir)/stun/usages
46 libstun_usage_include_HEADERS = usages/bind.h usages/ice.h usages/turn.h usages/timer.h