summaryrefslogtreecommitdiff
path: root/stun/tools/Makefile.am
blob: 42b3108c5b2ce8312da4955a28b01b1e037c42b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Makefile.am for the Nice Glib ICE library
#
# (C) 2006, 2007 Collabora Ltd.
# (C) 2006, 2007 Nokia Corporation. All rights reserved.
#
# Licensed under MPL 1.1/LGPL 2.1. See file COPYING.
#

include $(top_srcdir)/common.mk
AM_CFLAGS = -std=gnu99 $(ERROR_CFLAGS)
AM_CPPFLAGS = -I$(top_srcdir) 

bin_PROGRAMS = stunbdc stund

check_PROGRAMS = stund

stund_SOURCES = stund.c stund.h
stund_LDADD = $(top_builddir)/stun/libstun.la

stunbdc_SOURCES = stunbdc.c 

stunbdc_LDADD = $(top_builddir)/stun/libstun.la


if WINDOWS
  AM_CFLAGS += -DWINVER=0x0501 # _WIN32_WINNT_WINXP
  stunbdc_LDADD += -lws2_32
endif