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 \ gstglgraphicmaker.c \ gstglgraphicmaker.h \ gstglvideomaker.c \ gstglvideomaker.h \ gstglfilter.c \ gstglfilter.h \ gstglfiltercube.c \ gstglfiltercube.h \ gstglfilterapp.c \ gstglfilterapp.h \ gstglcolorscale.c \ gstglcolorscale.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)