Don't pass the agent to the socket layer
[sipe-libnice.git] / agent / Makefile.am
blob3a7e37f2947e791b97a901876dc30e0893d48583
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
11 AM_CFLAGS = \
12         -DG_LOG_DOMAIN=\"libnice\" \
13         $(ERROR_CFLAGS) \
14         $(GLIB_CFLAGS) \
15         $(GUPNP_CFLAGS) \
16         -I $(top_srcdir) \
17         -I $(top_srcdir)/random \
18         -I $(top_srcdir)/socket \
19         -I $(top_srcdir)/stun
21 COMMON_LDADD = libagent.la $(GLIB_LIBS) (GUPNP_LIBS)
23 dist_noinst_DATA = agent-signals-marshal.list
24 noinst_LTLIBRARIES = libagent.la
26 agent-signals-marshal.h: agent-signals-marshal.list
27         glib-genmarshal --header --prefix=agent_marshal $? > $@
29 agent-signals-marshal.c: agent-signals-marshal.list
30         echo '#include "agent-signals-marshal.h"' > $@
31         glib-genmarshal --body --prefix=agent_marshal $? | \
32         sed -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' >> $@
34 BUILT_SOURCES = \
35         agent-signals-marshal.h \
36         agent-signals-marshal.c
38 CLEANFILES += $(BUILT_SOURCES)
40 libagent_la_SOURCES = \
41         address.h \
42         address.c \
43         debug.h \
44         debug.c \
45         candidate.h \
46         candidate.c \
47         component.h \
48         component.c \
49         agent.h \
50         agent-priv.h \
51         agent.c \
52         stream.h \
53         stream.c \
54         conncheck.c \
55         conncheck.h \
56         discovery.c \
57         discovery.h \
58         interfaces.c \
59         interfaces.h \
60         pseudotcp.h \
61         pseudotcp.c \
62         $(BUILT_SOURCES)
64 libagent_la_LIBADD = \
65         $(top_builddir)/random/libnice-random.la \
66         $(top_builddir)/socket/libsocket.la \
67         $(top_builddir)/stun/libstun.la
68 libagent_la_DEPENDENCIES = \
69         $(top_builddir)/random/libnice-random.la \
70         $(top_builddir)/socket/libsocket.la \
71         $(top_builddir)/stun/libstun.la
73 pkginclude_HEADERS = agent.h candidate.h debug.h address.h interfaces.h pseudotcp.h