Makefile.am 1.65 KB
Newer Older
1 2 3 4 5 6 7
#
# 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.
Dafydd Harries's avatar
Dafydd Harries committed
8

9 10
include $(top_srcdir)/common.mk

11
AM_CFLAGS = \
12
	-DG_LOG_DOMAIN=\"libnice\" \
13 14
	$(ERROR_CFLAGS) \
	$(GLIB_CFLAGS) \
Youness Alaoui's avatar
Youness Alaoui committed
15
	$(GUPNP_CFLAGS) \
16
	-I $(top_srcdir) \
17
	-I $(top_srcdir)/random \
18
	-I $(top_srcdir)/socket \
19
	-I $(top_srcdir)/stun
Dafydd Harries's avatar
Dafydd Harries committed
20

Youness Alaoui's avatar
Youness Alaoui committed
21
COMMON_LDADD = libagent.la $(GLIB_LIBS) (GUPNP_LIBS)
22

23
dist_noinst_DATA = agent-signals-marshal.list
24
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
25

26
agent-signals-marshal.h: agent-signals-marshal.list
27
	glib-genmarshal --header --prefix=agent_marshal $? > $@
28

29 30 31 32
agent-signals-marshal.c: agent-signals-marshal.list
	echo '#include "agent-signals-marshal.h"' > $@
	glib-genmarshal --body --prefix=agent_marshal $? | \
	sed -e 's/^}$$/(void)return_value;(void)invocation_hint;}/' >> $@
33 34 35 36 37 38 39

BUILT_SOURCES = \
	agent-signals-marshal.h \
	agent-signals-marshal.c

CLEANFILES += $(BUILT_SOURCES)

40
libagent_la_SOURCES = \
41 42
	address.h \
	address.c \
43 44
	debug.h \
	debug.c \
Dafydd Harries's avatar
Dafydd Harries committed
45 46
	candidate.h \
	candidate.c \
47 48
	component.h \
	component.c \
49
	agent.h \
50
	agent-priv.h \
51
	agent.c \
52 53
	stream.h \
	stream.c \
54 55 56 57
	conncheck.c \
	conncheck.h \
	discovery.c \
	discovery.h \
Youness Alaoui's avatar
Youness Alaoui committed
58 59
	interfaces.c \
	interfaces.h \
60 61
	pseudotcp.h \
	pseudotcp.c \
62
	$(BUILT_SOURCES)
Dafydd Harries's avatar
Dafydd Harries committed
63

Dafydd Harries's avatar
Dafydd Harries committed
64
libagent_la_LIBADD = \
65 66 67
	$(top_builddir)/random/librandom.la \
	$(top_builddir)/socket/libsocket.la \
	$(top_builddir)/stun/libstun.la
68
libagent_la_DEPENDENCIES = \
69 70 71
	$(top_builddir)/random/librandom.la \
	$(top_builddir)/socket/libsocket.la \
	$(top_builddir)/stun/libstun.la
72

73
pkginclude_HEADERS = agent.h candidate.h debug.h address.h interfaces.h pseudotcp.h