summaryrefslogtreecommitdiff
path: root/examples/egl/Makefile.am
blob: ed8d4eddd47839318c2ca48efc7b44f4328b1909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
noinst_PROGRAMS = 

if USE_OMX_TARGET_RPI
noinst_PROGRAMS += testegl
else
if HAVE_X11
noinst_PROGRAMS += testegl
endif
endif

testegl_SOURCES = testegl.c

noinst_HEADERS = cube_texture_and_coords.h

testegl_LDADD = \
	$(GST_PLUGINS_BASE_LIBS) \
  -lgstvideo-@GST_API_VERSION@ \
	$(GST_BASE_LIBS) \
	$(GST_LIBS) \
	$(GST_GL_LIBS) \
	$(BRCMEGL_LIBS) \
	-lm

if HAVE_GLES2
testegl_LDADD += $(GLES2_LIBS)
endif

if HAVE_EGL
testegl_LDADD += $(EGL_LIBS)
endif

if HAVE_X11
testegl_LDADD += $(X11_LIBS)
endif

testegl_CFLAGS = \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(GST_CFLAGS) \
	$(GST_GL_CFLAGS) \
	$(BRCMEGL_CFLAGS)