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
12 -DG_LOG_DOMAIN=\"libnice\" \
17 -I $(top_srcdir)/random \
18 -I $(top_srcdir)/socket \
22 AM_CFLAGS += -DWINVER=0x0501 # _WIN32_WINNT_WINXP
25 dist_noinst_DATA = agent-signals-marshal.list
26 noinst_LTLIBRARIES = libagent.la
28 agent-signals-marshal.h: agent-signals-marshal.list
29 glib-genmarshal --header --prefix=agent_marshal $? > $@
31 agent-signals-marshal.c: agent-signals-marshal.list
32 echo '#include "agent-signals-marshal.h"' > $@
33 glib-genmarshal --body --prefix=agent_marshal $? | \
34 sed -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' >> $@
37 agent-signals-marshal.h \
38 agent-signals-marshal.c
40 CLEANFILES += $(BUILT_SOURCES)
42 libagent_la_SOURCES = \
66 libagent_la_LIBADD = \
67 $(top_builddir)/random/libnice-random.la \
68 $(top_builddir)/socket/libsocket.la \
69 $(top_builddir)/stun/libstun.la
70 libagent_la_DEPENDENCIES = \
71 $(top_builddir)/random/libnice-random.la \
72 $(top_builddir)/socket/libsocket.la \
73 $(top_builddir)/stun/libstun.la
75 pkginclude_HEADERS = agent.h candidate.h debug.h address.h interfaces.h pseudotcp.h
78 libagent_la_LIBADD += -lws2_32