Fixing Makefiles
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 28 Sep 2010 11:46:25 +0000 (08:46 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 28 Sep 2010 11:51:59 +0000 (08:51 -0300)
Adds some missing lines to makefiles

tests/examples/app/Makefile.am
tools/Makefile.am

index c0651ed..4f17ad7 100644 (file)
@@ -10,23 +10,23 @@ appsrc_ex_LDADD = \
 
 appsrc_stream_SOURCES = appsrc-stream.c
 appsrc_stream_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-appsrc_stream_LDADD = $(GST_LIBS)
+appsrc_stream_LDADD = $(GST_BASE_LIBS) $(GST_LIBS)
 
 appsrc_stream2_SOURCES = appsrc-stream2.c
 appsrc_stream2_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-appsrc_stream2_LDADD = $(GST_LIBS)
+appsrc_stream2_LDADD = $(GST_BASE_LIBS) $(GST_LIBS)
 
 appsrc_ra_SOURCES = appsrc-ra.c
 appsrc_ra_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-appsrc_ra_LDADD = $(GST_LIBS)
+appsrc_ra_LDADD = $(GST_BASE_LIBS) $(GST_LIBS)
 
 appsrc_seekable_SOURCES = appsrc-seekable.c
 appsrc_seekable_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-appsrc_seekable_LDADD = $(GST_LIBS)
+appsrc_seekable_LDADD = $(GST_BASE_LIBS) $(GST_LIBS)
 
 appsink_src_SOURCES = appsink-src.c
 appsink_src_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
 appsink_src_LDADD = \
     $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la \
-    $(GST_LIBS)
+    $(GST_BASE_LIBS) $(GST_LIBS)
 
index faba72e..406d64e 100644 (file)
@@ -15,7 +15,9 @@ EXTRA_DIST = \
 
 LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la\
        -lgstpbutils-@GST_MAJORMINOR@ \
-       $(GST_LIBS)
+       $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la\
+       -lgstvideo-@GST_MAJORMINOR@ \
+       $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
 
 AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)