2008-01-17 23:23:31 +00:00
|
|
|
|
2012-05-29 07:55:44 +00:00
|
|
|
lib_LTLIBRARIES = libgstgl-@GST_API_VERSION@.la
|
2008-01-17 23:23:31 +00:00
|
|
|
|
2013-07-11 09:03:31 +00:00
|
|
|
SUBDIRS = glprototypes
|
2013-08-30 13:12:37 +00:00
|
|
|
DIST_SUBDIRS = glprototypes android x11 win32 cocoa wayland dispmanx
|
2009-01-09 03:18:47 +00:00
|
|
|
|
2013-07-03 07:12:39 +00:00
|
|
|
noinst_HEADERS =
|
|
|
|
|
2013-12-25 23:35:50 +00:00
|
|
|
built_header_configure = gstglconfig.h
|
|
|
|
|
2012-05-29 07:55:44 +00:00
|
|
|
libgstgl_@GST_API_VERSION@_la_SOURCES = \
|
2008-01-31 20:21:26 +00:00
|
|
|
gstgldisplay.c \
|
2013-08-14 00:44:19 +00:00
|
|
|
gstglcontext.c \
|
2012-07-06 08:22:22 +00:00
|
|
|
gstglmemory.c \
|
2012-07-06 09:05:03 +00:00
|
|
|
gstglbufferpool.c \
|
2008-07-18 08:49:34 +00:00
|
|
|
gstglfilter.c \
|
2009-10-23 08:52:39 +00:00
|
|
|
gstglmixer.c \
|
2011-11-17 16:36:44 +00:00
|
|
|
gstglshader.c \
|
2012-09-17 00:30:01 +00:00
|
|
|
gstglshadervariables.c \
|
|
|
|
gstgldownload.c \
|
2012-11-13 11:12:20 +00:00
|
|
|
gstglupload.c \
|
2012-12-08 22:32:48 +00:00
|
|
|
gstglwindow.c \
|
2013-01-09 13:25:06 +00:00
|
|
|
gstglapi.c \
|
2013-06-11 15:04:55 +00:00
|
|
|
gstglfeature.c \
|
2013-06-16 10:44:47 +00:00
|
|
|
gstglutils.c \
|
|
|
|
gstglframebuffer.c
|
2008-01-17 23:23:31 +00:00
|
|
|
|
2014-03-17 09:56:39 +00:00
|
|
|
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
|
|
|
|
libgstgl_@GST_API_VERSION@include_HEADERS = \
|
|
|
|
gstglwindow.h \
|
|
|
|
gstgldisplay.h \
|
|
|
|
gstglcontext.h \
|
|
|
|
gstglmemory.h \
|
|
|
|
gstglbufferpool.h \
|
|
|
|
gstgles2.h \
|
|
|
|
gstglfilter.h \
|
|
|
|
gstglmixer.h \
|
|
|
|
gstglmixerpad.h \
|
|
|
|
gstglshadervariables.h \
|
|
|
|
gstglshader.h \
|
|
|
|
gstgldownload.h \
|
|
|
|
gstglupload.h \
|
|
|
|
gstglapi.h \
|
|
|
|
gstglfeature.h \
|
|
|
|
gstglutils.h \
|
|
|
|
gstglframebuffer.h \
|
|
|
|
gstgl_fwd.h \
|
|
|
|
gl.h
|
|
|
|
|
2012-11-19 11:54:19 +00:00
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD = \
|
2014-03-17 14:16:13 +00:00
|
|
|
$(GMODULE_NO_EXPORT_LIBS) \
|
2012-11-28 14:01:59 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_LIBS) \
|
2012-11-19 11:54:19 +00:00
|
|
|
$(GL_LIBS)
|
|
|
|
|
2012-11-13 11:12:20 +00:00
|
|
|
if HAVE_WINDOW_WIN32
|
2012-11-19 11:54:19 +00:00
|
|
|
SUBDIRS += win32
|
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += win32/libgstgl-win32.la
|
2012-11-15 02:17:59 +00:00
|
|
|
endif
|
|
|
|
|
2012-11-13 11:12:20 +00:00
|
|
|
if HAVE_WINDOW_COCOA
|
2012-11-19 11:54:19 +00:00
|
|
|
SUBDIRS += cocoa
|
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += cocoa/libgstgl-cocoa.la
|
2009-04-13 05:24:06 +00:00
|
|
|
endif
|
2012-11-15 02:17:59 +00:00
|
|
|
|
2012-11-13 11:12:20 +00:00
|
|
|
if HAVE_WINDOW_X11
|
2012-11-19 11:54:19 +00:00
|
|
|
SUBDIRS += x11
|
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += x11/libgstgl-x11.la
|
2009-09-01 12:21:39 +00:00
|
|
|
endif
|
2009-04-13 05:24:06 +00:00
|
|
|
|
2012-11-28 14:01:59 +00:00
|
|
|
if HAVE_WINDOW_WAYLAND
|
|
|
|
SUBDIRS += wayland
|
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += wayland/libgstgl-wayland.la
|
|
|
|
endif
|
|
|
|
|
2013-08-30 13:12:37 +00:00
|
|
|
if HAVE_WINDOW_DISPMANX
|
|
|
|
SUBDIRS += dispmanx
|
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += dispmanx/libgstgl-dispmanx.la
|
|
|
|
endif
|
|
|
|
|
2013-07-10 09:31:17 +00:00
|
|
|
if HAVE_WINDOW_ANDROID
|
|
|
|
SUBDIRS += android
|
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += android/libgstgl-android.la
|
2013-07-03 07:12:39 +00:00
|
|
|
endif
|
|
|
|
|
2013-07-10 09:31:17 +00:00
|
|
|
if USE_EGL
|
2014-03-17 09:56:39 +00:00
|
|
|
libgstgl_@GST_API_VERSION@_la_SOURCES += egl/gstglcontext_egl.c \
|
|
|
|
egl/gstgldisplay_egl.c
|
2014-03-17 14:06:25 +00:00
|
|
|
libgstgl_@GST_API_VERSION@_la_LIBADD += $(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la
|
2014-03-17 09:56:39 +00:00
|
|
|
libgstgl_@GST_API_VERSION@include_HEADERS += egl/gstgldisplay_egl.h
|
2013-08-21 04:05:56 +00:00
|
|
|
noinst_HEADERS += egl/gstglcontext_egl.h
|
2013-07-03 07:12:39 +00:00
|
|
|
endif
|
|
|
|
|
2013-12-25 23:35:50 +00:00
|
|
|
nodist_libgstgl_@GST_API_VERSION@include_HEADERS = \
|
|
|
|
$(built_header_configure)
|
|
|
|
|
2012-05-29 07:55:44 +00:00
|
|
|
libgstgl_@GST_API_VERSION@_la_CFLAGS = \
|
2013-07-11 09:03:31 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
2014-03-24 16:33:00 +00:00
|
|
|
-I$(top_builddir)/gst-libs \
|
2012-11-19 11:54:19 +00:00
|
|
|
$(GL_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2012-11-28 14:01:59 +00:00
|
|
|
$(GST_CFLAGS) \
|
|
|
|
$(GL_CFLAGS)
|
2008-01-17 23:23:31 +00:00
|
|
|
|
2012-05-29 07:55:44 +00:00
|
|
|
libgstgl_@GST_API_VERSION@_la_LDFLAGS = \
|
2012-11-19 11:54:19 +00:00
|
|
|
$(GST_LIB_LDFLAGS) \
|
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(GST_LT_LDFLAGS)
|
2013-12-25 23:35:50 +00:00
|
|
|
|
|
|
|
# DISTCLEANFILES is for files generated by configure
|
|
|
|
DISTCLEANFILES = $(built_header_configure)
|