[055/906] * configure.ac: * docs/Makefile.am: * gst-libs/Makefile.am: * gst-libs/gst/gl/Makefile.am: * gst/gl/Makefile.am: * tests/Makefile.am: Fix compilation in uninstalled setup and some distcheck-y bits (not all though).

This commit is contained in:
Tim-Philipp Müller 2008-01-18 15:13:16 +00:00 committed by Matthew Waters
parent 46f9f1a828
commit 38699b8db5
2 changed files with 8 additions and 6 deletions

View file

@ -13,11 +13,11 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \
gstgldisplay.h
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
$(GSTPB_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) \
$(X_LIBS) $(GL_LIBS)
libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \
$(GSTPB_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)

View file

@ -3,7 +3,7 @@ plugin_LTLIBRARIES = libgstopengl.la
noinst_PROGRAMS = color_matrix
AM_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS)
AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
AM_LIBS = $(GST_BASE_LIBS)
libgstopengl_la_SOURCES = \
@ -17,12 +17,14 @@ libgstopengl_la_SOURCES = \
gltestsrc.h \
gstglfilterexample.c \
gstglconvert.c
# 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) \
$(GSTPB_CFLAGS) $(GL_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) $(GL_CFLAGS) \
-I$(top_srcdir)/gst-libs \
-I$(top_srcdir)/gst-libs/gst/gl
libgstopengl_la_LIBADD = $(GL_LIBS) \
$(GST_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
$(GSTPB_LIBS) -lgstinterfaces-$(GST_MAJORMINOR)
$(GST_BASE_LIBS) \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR)
libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)