gstreamer/gst/gl/Makefile.am

46 lines
1.2 KiB
Makefile

plugin_LTLIBRARIES = libgstopengl.la
AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
AM_LIBS = $(GST_BASE_LIBS)
libgstopengl_la_SOURCES = \
gstopengl.c \
gstglimagesink.c \
gstglimagesink.h \
gstglupload.c \
gstglupload.h \
gstgldownload.c \
gstgldownload.h \
gstgleffects.c \
gstglfilterblur.c \
gstglfiltercube.c \
gstglfiltercube.h \
gstglfilterlaplacian.c \
gstglfilterlaplacian.h \
gstglfilterapp.c \
gstglfilterapp.h \
gstglcolorscale.c \
gstglcolorscale.h \
gltestsrc.c \
gltestsrc.h \
gstgltestsrc.c \
gstgltestsrc.h
# check order of CFLAGS and LIBS, shouldn't the order be the other way around
# (like in AM_CFLAGS)?
libgstopengl_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) $(GST_BASE_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) $(GL_CFLAGS) \
-I$(top_srcdir)/gst-libs \
-I$(top_srcdir)/gst-libs/gst/freeglut \
-I$(top_srcdir)/gst-libs/gst/gl
libgstopengl_la_LIBADD = \
$(top_builddir)/gst-libs/gst/freeglut/libgstfreeglut-$(GST_MAJORMINOR).la \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_MAJORMINOR).la \
$(GST_BASE_LIBS) \
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) \
-lGLEW \
-lGLU \
-lGL
libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)