# Overview

librygel-server is part of the Rygel project.

This library may be used to:

- Create UPnP or DLNA servers, such as the Rygel server.
- Create Rygel Server plugins
- Create Rygel Media Engines

librygel-server is licensed under the GNU Lesser General Public License (LGPL).

## Basic Usage

Include the header:

    #include <rygel-server.h>

If your source file is program.c, you can compile it with:

gcc program.cc -o program `pkg-config --cflags --libs ryhttp://git.gnome.org/browse/rygel/commit/doc/reference/librygel-server/gtkdoc/overview.xml?id=b5748f34b25c5fc260d4f21969e2fb2cb8b5a1c2gel-server-2.0`

Alternatively, if using autoconf, use the following in configure.ac:

    PKG_CHECK_MODULES([DEPS], [rygel-server-2.0])

Then use the generated DEPS_CFLAGS and DEPS_LIBS variables in the project Makefile.am files. For example:

http://git.gnome.org/browse/rygel/commit/doc/reference/librygel-server/gtkdoc/overview.xml?id=b5748f34b25c5fc260d4f21969e2fb2cb8b5a1c2

    program_CPPFLAGS = $(DEPS_CFLAGS)
    program_LDADD = $(DEPS_LIBS)