gstreamer/ext/vulkan/xcb/Makefile.am
Jussi Kukkonen 97b0085c48 vulkan: Use the generated version of vkconfig.h
Build fails in ext/vulkan/xcb and ext/vulkan/wayland when:
* building from tarball
* building out-of-tree
* Only one WSI integration (xcb or wayland) is enabled by configure.ac
This is because vkconfig.h from source directory gets used instead
of the generated one.

Add the correct build directory to "-I". Use angle bracket
include in vkapi.h so that it actually looks in the include search
path instead of defaulting to the same (source tree) directory.

https://bugzilla.gnome.org/show_bug.cgi?id=784539
2017-07-10 21:42:49 +10:00

30 lines
623 B
Makefile

## Process this file with automake to produce Makefile.in
noinst_LTLIBRARIES = libgstvulkan-xcb.la
libgstvulkan_xcb_la_SOURCES = \
vkdisplay_xcb.c \
vkwindow_xcb.c \
xcb_event_source.c
noinst_HEADERS = \
vkdisplay_xcb.h \
vkwindow_xcb.h \
xcb_event_source.h
libgstvulkan_xcb_la_CFLAGS = \
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/ext/vulkan \
-I$(top_srcdir)/ext/vulkan \
-I$(top_builddir)/gst-libs \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
$(XCB_CFLAGS)
libgstvulkan_xcb_la_LIBADD = \
$(XCB_LIBS)
libgstvulkan_xcb_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \
$(GST_ALL_LDFLAGS)