Makefile.am 1.13 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.
8

9
AM_CFLAGS = $(LIBNICE_CFLAGS) \
10
	-I $(top_srcdir) \
11
	-I $(top_srcdir)/socket \
12 13
	-I $(top_srcdir)/agent \
	-I $(top_srcdir)/random \
14
	-I $(top_srcdir)/stun
15

16
COMMON_LIBADD = \
17 18 19 20
	$(top_builddir)/nice/libnice.la

# libgstnice

21
if WITH_GSTREAMER
22
gstplugin_LTLIBRARIES = libgstnice.la
23

24 25
libgstnice_la_CFLAGS = $(AM_CFLAGS) $(GST_CFLAGS) -DGST_USE_UNSTABLE_API

26 27
libgstnice_la_SOURCES = \
	gstnicesrc.h \
28
	gstnicesrc.c \
Dafydd Harries's avatar
Dafydd Harries committed
29 30 31
	gstnicesink.h \
	gstnicesink.c \
	gstnice.h \
32
	gstnice.c
33

34
libgstnice_la_LIBADD = 	$(COMMON_LIBADD) $(GST_LIBS)
35

36
libgstnice_la_LDFLAGS = -module -avoid-version -no-undefined
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
endif


if WITH_GSTREAMER010
gstplugin010_LTLIBRARIES = libgstnice010.la

libgstnice010_la_CFLAGS = $(AM_CFLAGS) $(GST010_CFLAGS)

libgstnice010_la_SOURCES = \
	gstnicesrc.h \
	gstnicesrc.c \
	gstnicesink.h \
	gstnicesink.c \
	gstnice.h \
	gstnice.c

libgstnice010_la_LIBADD = $(COMMON_LIBADD) $(GST010_LIBS)

55
libgstnice010_la_LDFLAGS = -module -avoid-version -no-undefined
56
endif