gstreamer/sys/bluez/Makefile.am
Nicolas Dufresne 4261692187 Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-16 14:05:52 -04:00

53 lines
1,021 B
Makefile

plugin_LTLIBRARIES = libgstbluez.la
libgstbluez_la_SOURCES = \
bluez-plugin.c \
gsta2dpsink.c \
gstavdtpsink.c \
gstavdtpsrc.c \
gstavdtputil.c \
gstavrcputil.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)
noinst_HEADERS = \
a2dp-codecs.h \
gsta2dpsink.h \
gstavdtpsink.h \
gstavdtpsrc.h \
gstavdtputil.h \
gstavrcputil.h
BUILT_SOURCES = \
bluez.h \
bluez.c
CLEANFILES = $(BUILT_SOURCES)
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 \
$<