Makefile.am 1.39 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
	$(LIBNICE_CFLAGS) \
14
	$(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

21 22 23
if WINDOWS
  AM_CFLAGS += -DWINVER=0x0501 # _WIN32_WINNT_WINXP
endif
24

25
noinst_LTLIBRARIES = libagent.la
Dafydd Harries's avatar
Dafydd Harries committed
26

27
libagent_la_SOURCES = \
28 29
	address.h \
	address.c \
30 31
	debug.h \
	debug.c \
Dafydd Harries's avatar
Dafydd Harries committed
32 33
	candidate.h \
	candidate.c \
34 35
	component.h \
	component.c \
36
	agent.h \
37
	agent-priv.h \
38
	agent.c \
39 40
	stream.h \
	stream.c \
41 42 43 44
	conncheck.c \
	conncheck.h \
	discovery.c \
	discovery.h \
Youness Alaoui's avatar
Youness Alaoui committed
45 46
	interfaces.c \
	interfaces.h \
47 48
	pseudotcp.h \
	pseudotcp.c \
49 50 51 52 53 54
	iostream.h \
	iostream.c \
	inputstream.h \
	inputstream.c \
	outputstream.h \
	outputstream.c \
55
	$(BUILT_SOURCES)
Dafydd Harries's avatar
Dafydd Harries committed
56

Dafydd Harries's avatar
Dafydd Harries committed
57
libagent_la_LIBADD = \
58
	$(top_builddir)/random/libnice-random.la \
59 60
	$(top_builddir)/socket/libsocket.la \
	$(top_builddir)/stun/libstun.la
61
libagent_la_DEPENDENCIES = \
62
	$(top_builddir)/random/libnice-random.la \
63 64
	$(top_builddir)/socket/libsocket.la \
	$(top_builddir)/stun/libstun.la
65

66 67 68 69 70 71 72 73
pkginclude_HEADERS = \
	agent.h \
	candidate.h \
	debug.h \
	address.h \
	interfaces.h \
	pseudotcp.h \
	$(NULL)
74 75

if WINDOWS
76
  libagent_la_LIBADD += -liphlpapi -lws2_32
77
endif