2012-09-10 23:00:57 +00:00
|
|
|
plugin_LTLIBRARIES = libgsteglglessink.la
|
|
|
|
|
2013-04-10 20:27:27 +00:00
|
|
|
if HAVE_IOS
|
|
|
|
DISTRO_SRC = gstegladaptation_eagl.m
|
|
|
|
else
|
|
|
|
DISTRO_SRC = gstegladaptation_egl.c video_platform_wrapper.c
|
2013-09-23 12:36:40 +00:00
|
|
|
GST_EGL_LIBS = $(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la
|
2013-04-10 20:27:27 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
libgsteglglessink_la_SOURCES = gsteglglessink.c gstegladaptation.c $(DISTRO_SRC)
|
2012-09-10 23:00:57 +00:00
|
|
|
|
2013-02-21 13:40:02 +00:00
|
|
|
libgsteglglessink_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
2012-10-16 14:18:01 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
2012-09-10 23:00:57 +00:00
|
|
|
$(GST_CFLAGS) \
|
2013-04-10 20:27:27 +00:00
|
|
|
$(EGL_CFLAGS) \
|
2012-12-27 09:51:02 +00:00
|
|
|
$(EGLGLES_CFLAGS)
|
2013-04-10 20:27:27 +00:00
|
|
|
libgsteglglessink_la_OBJCFLAGS = $(GST_PLUGINS_BAD_OBJCFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_OBJCFLAGS) \
|
|
|
|
$(GST_BASE_OBJCFLAGS) \
|
|
|
|
$(GST_OBJCFLAGS) \
|
|
|
|
$(EGLGLES_OBJCFLAGS) \
|
|
|
|
-fobjc-abi-version=2 -fobjc-legacy-dispatch
|
2012-09-10 23:00:57 +00:00
|
|
|
|
|
|
|
libgsteglglessink_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
|
2013-02-21 13:40:02 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) $(EGL_LIBS) $(EGLGLES_LIBS) \
|
2013-09-23 12:36:40 +00:00
|
|
|
-lgstvideo-$(GST_API_VERSION) $(GST_EGL_LIBS)
|
2012-09-10 23:00:57 +00:00
|
|
|
|
2013-04-10 20:27:27 +00:00
|
|
|
if HAVE_IOS
|
2013-09-23 12:36:40 +00:00
|
|
|
libgsteglglessink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework,OpenGLES -Wl,-framework,QuartzCore -Wl,-framework,UIKit -Wl,-framework,CoreGraphics -Wl,-framework,CoreFoundation -Wl,-framework,Foundation -W
|
2013-04-10 20:27:27 +00:00
|
|
|
else
|
2012-09-10 23:00:57 +00:00
|
|
|
libgsteglglessink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2013-04-10 20:27:27 +00:00
|
|
|
endif
|
|
|
|
|
2013-09-19 14:44:48 +00:00
|
|
|
libgsteglglessink_la_LIBTOOLFLAGS = --tag=CC $(GST_PLUGIN_LIBTOOLFLAGS)
|
2012-09-10 23:00:57 +00:00
|
|
|
|
2013-04-10 17:53:48 +00:00
|
|
|
noinst_HEADERS = gsteglglessink.h gstegladaptation.h video_platform_wrapper.h
|
2013-04-10 20:27:27 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = gsteglglessink.c gstegladaptation.c gstegladaptation_egl.c video_platform_wrapper.c gstegladaptation_eagl.m $(noinst_HEADERS)
|