summaryrefslogtreecommitdiff
path: root/ext/gl/Makefile.am
blob: b501a51108413344d5af6e012079628012454994 (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
42
43
44
45
46
47
48
49
50
51
plugin_LTLIBRARIES = libgstopenglmixers.la

# These have to stay in -bad until we can move GstVideoAggregator to -base
libgstopenglmixers_la_SOURCES = \
	gstopengl.c \
	gstglbasemixer.c \
	gstglmixer.c \
	gstglmixerbin.c \
	gstglstereomix.c \
	gstglutils.c \
	gstglvideomixer.c

noinst_HEADERS = \
	gstglbasemixer.h \
	gstglmixer.h \
	gstglmixerbin.h \
	gstglstereomix.h \
	gstglutils.h \
	gstglvideomixer.h

# full opengl required
if USE_OPENGL
libgstopenglmixers_la_SOURCES += gstglmosaic.c
noinst_HEADERS += gstglmosaic.h
endif

# FIXME: can we remove GL flags here?

# check order of CFLAGS and LIBS, shouldn't the order be the other way around
# (like in AM_CFLAGS)?
libgstopenglmixers_la_CFLAGS = \
	$(GST_PLUGINS_BAD_CFLAGS) \
	$(GST_GL_CFLAGS) \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(GST_CONTROLLER_CFLAGS) \
	$(GST_CFLAGS) \
	$(X11_CFLAGS)

libgstopenglmixers_la_LIBADD = \
	$(top_builddir)/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la \
	$(GST_GL_LIBS) \
	$(GST_PLUGINS_BASE_LIBS) \
	$(GST_BASE_LIBS) \
	$(GST_CONTROLLER_LIBS) \
	$(GST_LIBS) \
	$(X11_LIBS) \
	$(LIBM)

libgstopenglmixers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstopenglmixers_la_LIBTOOLFLAGS = --tag=CC