summaryrefslogtreecommitdiff
path: root/ext/gl/Makefile.am
blob: 2a3cdfec1353cd5addf2d413ec1cb43ab8425c09 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102

plugin_LTLIBRARIES = libgstopengl.la

AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
AM_LIBS = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)

# full opengl required
if USE_OPENGL
OPENGL_SOURCES =  \
	gstglfiltershader.c \
	gstglfiltershader.h \
	gstglfilterblur.c \
	gstglfilterblur.h \
	gstglfiltersobel.c \
	gstglfiltersobel.h \
	gstglfilterlaplacian.c \
	gstglfilterlaplacian.h \
	gstglfilterglass.c \
	gstglfilterglass.h \
	gstglfilterapp.c \
	gstglfilterapp.h \
	gstglfilterreflectedscreen.c \
	gstglfilterreflectedscreen.h \
	gstgldeinterlace.c \
	gstgldeinterlace.h \
	gltestsrc.c \
	gltestsrc.h \
	gstgltestsrc.c \
	gstgltestsrc.h \
	gstglmosaic.c \
	gstglmosaic.h \
	gstglvideomixer.c \
	gstglvideomixer.h \
	effects/gstgleffectscurves.h \
	effects/gstgleffectstretch.c \
	effects/gstgleffecttunnel.c \
	effects/gstgleffectfisheye.c \
	effects/gstgleffecttwirl.c \
	effects/gstgleffectbulge.c \
	effects/gstgleffectsquare.c \
	effects/gstgleffectlumatocurve.c \
	effects/gstgleffectlumatocurve.h \
	effects/gstgleffectrgbtocurve.c \
	effects/gstgleffectsin.c \
	effects/gstgleffectglow.c \
	effects/gstgleffectxray.c

if HAVE_PNG
OPENGL_SOURCES += \
	gstglbumper.c \
	gstglbumper.h \
	gstgldifferencematte.c \
	gstgldifferencematte.h
if HAVE_JPEG
OPENGL_SOURCES += \
	gstgloverlay.c \
	gstgloverlay.h
endif
endif
endif

libgstopengl_la_SOURCES = \
	gstopengl.c \
	gstglimagesink.c \
	gstglimagesink.h \
	gstglfiltercube.c \
	gstglfiltercube.h \
	gstgleffects.c \
	gstgleffects.h \
	effects/gstgleffectssources.c \
	effects/gstgleffectssources.h \
	effects/gstgleffectidentity.c \
	effects/gstgleffectmirror.c \
	effects/gstgleffectsqueeze.c \
	gstglcolorscale.c \
	gstglcolorscale.h \
	$(OPENGL_SOURCES)

# check order of CFLAGS and LIBS, shouldn't the order be the other way around
# (like in AM_CFLAGS)?
libgstopengl_la_CFLAGS = \
	-I$(top_srcdir)/gst-libs \
	-I$(top_builddir)/gst-libs \
	$(GST_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GL_CFLAGS) \
	$(LIBPNG_CFLAGS)

libgstopengl_la_LIBADD = \
	$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
	$(GST_BASE_LIBS) \
	$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
	-lgstpbutils-$(GST_API_VERSION) \
	$(GL_LIBS) \
	$(LIBPNG_LIBS) \
        $(JPEG_LIBS) \
	$(LIBM)

libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstopengl_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)