mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
a5ead086f9
Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=767671
58 lines
1.6 KiB
Makefile
58 lines
1.6 KiB
Makefile
plugin_LTLIBRARIES = libgstwaylandsink.la
|
|
|
|
libgstwaylandsink_la_SOURCES = \
|
|
gstwaylandsink.c \
|
|
wlshmallocator.c \
|
|
wlbuffer.c \
|
|
wldisplay.c \
|
|
wlwindow.c \
|
|
wlvideoformat.c \
|
|
viewporter-protocol.c
|
|
|
|
libgstwaylandsink_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(WAYLAND_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
|
|
libgstwaylandsink_la_LIBADD = \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
-lgstallocators-$(GST_API_VERSION) \
|
|
$(WAYLAND_LIBS) \
|
|
$(top_builddir)/gst-libs/gst/wayland/libgstwayland-$(GST_API_VERSION).la
|
|
libgstwaylandsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstwaylandsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
noinst_HEADERS = \
|
|
gstwaylandsink.h \
|
|
wlshmallocator.h \
|
|
wlbuffer.h \
|
|
wldisplay.h \
|
|
wlwindow.h \
|
|
wlvideoformat.h \
|
|
viewporter-client-protocol.h
|
|
|
|
CLEANFILES = viewporter-protocol.c viewporter-client-protocol.h
|
|
|
|
gstwaylandsink.c: viewporter-client-protocol.h
|
|
|
|
wlshmallocator.c: viewporter-client-protocol.h
|
|
|
|
wlbuffer.c: viewporter-client-protocol.h
|
|
|
|
wldisplay.c: viewporter-client-protocol.h
|
|
|
|
wlwindow.c: viewporter-client-protocol.h
|
|
|
|
.SECONDEXPANSION:
|
|
|
|
define protostability
|
|
$(if $(findstring unstable,$1),unstable,stable)
|
|
endef
|
|
|
|
define protoname
|
|
$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
|
|
endef
|
|
|
|
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
|
$(AM_V_GEN)$(wayland_scanner) code < $< > $@
|
|
|
|
%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
|
$(AM_V_GEN)$(wayland_scanner) client-header < $< > $@
|