2014-03-12 11:43:49 +00:00
|
|
|
noinst_PROGRAMS =
|
|
|
|
|
|
|
|
if USE_OMX_TARGET_RPI
|
|
|
|
noinst_PROGRAMS += testegl
|
2017-08-22 12:48:26 +00:00
|
|
|
else
|
|
|
|
if HAVE_X11
|
|
|
|
noinst_PROGRAMS += testegl
|
|
|
|
endif
|
2014-03-12 11:43:49 +00:00
|
|
|
endif
|
2013-04-11 15:35:19 +00:00
|
|
|
|
|
|
|
testegl_SOURCES = testegl.c
|
|
|
|
|
|
|
|
noinst_HEADERS = cube_texture_and_coords.h
|
|
|
|
|
|
|
|
testegl_LDADD = \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
2013-09-20 06:19:48 +00:00
|
|
|
-lgstvideo-@GST_API_VERSION@ \
|
2013-04-11 15:35:19 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_LIBS) \
|
2014-04-25 16:32:16 +00:00
|
|
|
$(GST_GL_LIBS) \
|
|
|
|
-lm
|
2013-04-11 15:35:19 +00:00
|
|
|
|
2017-08-22 12:48:26 +00:00
|
|
|
if HAVE_GLES2
|
|
|
|
testegl_LDADD += $(GLES2_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_EGL
|
|
|
|
testegl_LDADD += $(EGL_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_X11
|
|
|
|
testegl_LDADD += $(X11_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_OMX_TARGET_RPI
|
|
|
|
testegl_LDADD += -lbcm_host
|
|
|
|
endif
|
|
|
|
|
2013-04-11 15:35:19 +00:00
|
|
|
testegl_CFLAGS = \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_CFLAGS) \
|
2014-04-25 12:21:59 +00:00
|
|
|
$(GST_GL_CFLAGS)
|