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
|
|
|
|
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) \
|
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
|
|
$(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la
|
2012-09-10 23:00:57 +00:00
|
|
|
|
2013-04-10 20:27:27 +00:00
|
|
|
if HAVE_IOS
|
|
|
|
libgsteglglessink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework,OpenGLES -Wl,-framework,QuartzCore -Wl,-framework,IOKit -Wl,-framework,UIKit -Wl,-framework,CoreGraphics -Wl,-framework,CoreFoundation -Wl,-framework,Foundation -W
|
|
|
|
else
|
2012-09-10 23:00:57 +00:00
|
|
|
libgsteglglessink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2013-04-10 20:27:27 +00:00
|
|
|
endif
|
|
|
|
|
2012-10-22 09:18:39 +00:00
|
|
|
libgsteglglessink_la_LIBTOOLFLAGS = $(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)
|