gstreamer/sys/bluez/Makefile.am
2015-07-10 09:52:07 +05:30

49 lines
1,011 B
Makefile

plugin_LTLIBRARIES = libgstbluez.la
libgstbluez_la_SOURCES = \
bluez-plugin.c \
gsta2dpsink.c \
gstavdtpsink.c \
gstavdtpsrc.c \
gstavdtputil.c
nodist_libgstbluez_la_SOURCES = \
$(BUILT_SOURCES)
libgstbluez_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
$(GIO_CFLAGS) \
$(GIO_UNIX_CFLAGS)
libgstbluez_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) \
-lgstaudio-$(GST_API_VERSION) \
-lgstrtp-$(GST_API_VERSION) \
$(GST_BASE_LIBS) \
$(GST_LIBS) \
$(GIO_LIBS) \
$(GIO_UNIX_LIBS)
libgstbluez_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstbluez_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
noinst_HEADERS = \
a2dp-codecs.h \
gsta2dpsink.h \
gstavdtpsink.h \
gstavdtpsrc.h \
gstavdtputil.h
BUILT_SOURCES = \
bluez.h \
bluez.c
EXTRA_DIST = org.bluez.xml
bluez.h: bluez.c
bluez.c: org.bluez.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) \
--c-namespace=Bluez \
--generate-c-code=bluez \
--interface-prefix=org.bluez \
$<