Commit bd3bb038 authored by Youness Alaoui's avatar Youness Alaoui

Add a simple example to showcase the API thanks to Bryce Allen

parent 05b9f0af
......@@ -16,7 +16,8 @@ SUBDIRS = \
nice \
gst \
docs \
tests
tests \
examples
DISTCHECK_CONFIGURE_FLAGS = --disable-assert -enable-gtk-doc
......
......@@ -27,6 +27,7 @@ AC_CONFIG_FILES([
docs/reference/Makefile
docs/reference/libnice/Makefile
tests/Makefile
examples/Makefile
])
# Set the libtool C/A/R version info
......
#
# 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 \
$(ERROR_CFLAGS) \
$(GLIB_CFLAGS) \
$(GUPNP_CFLAGS)
bin_PROGRAMS = simple-example
simple_example_SOURCES = simple-example.c
simple_example_LDADD = $(top_builddir)/agent/libagent.la \
$(top_builddir)/socket/libsocket.la \
$(GLIB_LIBS) $(GUPNP_LIBS)
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment