summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: 1e7decfb37f1970319ed5f86e0f5f888f3941bd9 (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
30
31
32
33
#
# 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 = \
	-I $(top_srcdir) \
	-I $(top_srcdir)/agent \
	-I $(top_srcdir)/random \
	-I $(top_srcdir)/socket \
	-I $(top_srcdir)/stun \
	$(LIBNICE_CFLAGS) \
	$(GLIB_CFLAGS) \
        $(GUPNP_CFLAGS)

bin_PROGRAMS = simple-example threaded-example sdp-example

simple_example_SOURCES = simple-example.c
simple_example_LDADD = $(top_builddir)/agent/libagent.la \
	 $(GLIB_LIBS) $(GUPNP_LIBS)

threaded_example_SOURCES = threaded-example.c
threaded_example_LDADD = $(top_builddir)/agent/libagent.la \
	 $(GLIB_LIBS) $(GUPNP_LIBS)

sdp_example_SOURCES = sdp-example.c
sdp_example_LDADD = $(top_builddir)/agent/libagent.la \
	 $(GLIB_LIBS) $(GUPNP_LIBS)