mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 15:12:58 +00:00
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS, and fix all the Makefiles that use it. This is so that all the include directories are added in the proper order: first the directories in srcdir/builddir, then gst-plugins-base dirs, then gstreamer dirs. If the order is wrong, installed headers may be used instead of local headers and/or uninstalled headers from -base.
35 lines
992 B
Makefile
35 lines
992 B
Makefile
lib_LTLIBRARIES = libgstapp-@GST_MAJORMINOR@.la
|
|
|
|
glib_enum_define = GST_APP
|
|
glib_enum_prefix = gst_app
|
|
|
|
include $(top_srcdir)/common/glib-gen.mak
|
|
|
|
built_sources = gstapp-marshal.c
|
|
built_headers = gstapp-marshal.h
|
|
|
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
|
|
|
nodist_libgstapp_@GST_MAJORMINOR@_la_SOURCES = \
|
|
$(built_sources)
|
|
|
|
libgstapp_@GST_MAJORMINOR@_la_SOURCES = gstappsrc.c gstappbuffer.c gstappsink.c
|
|
libgstapp_@GST_MAJORMINOR@_la_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS)
|
|
libgstapp_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS)
|
|
libgstapp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_ALL_LDFLAGS)
|
|
libgstapp_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
libgstapp_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/app
|
|
libgstapp_@GST_MAJORMINOR@include_HEADERS = \
|
|
gstappsrc.h \
|
|
gstappbuffer.h \
|
|
gstappsink.h
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = gstapp-marshal.list
|
|
|