dnl Private vars for libgst only
LIBGST_LIBS="$GST_LIBS $XML_LIBS $GLIB_LIBS"
-LIBGST_CFLAGS="$GST_CFLAGS $XML_CFLAGS $GLIB_CFLAGS"
+LIBGST_CFLAGS="$GST_CFLAGS $XML_CFLAGS $GLIB_CFLAGS -I\$(top_srcdir)"
AC_SUBST(LIBGST_LIBS)
AC_SUBST(LIBGST_CFLAGS)
dnl Vars for everyone else
GST_LIBS="\$(top_builddir)/gst/libgst.la $LIBGST_LIBS"
-GST_CFLAGS="-I\$(top_srcdir) -I\$(top_srcdir)/libs -I\$(top_srcdir)/include $LIBGST_CFLAGS"
+GST_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir)/include $LIBGST_CFLAGS"
AC_SUBST(GST_LIBS)
AC_SUBST(GST_CFLAGS)
gstpropsprivate.h
libgst_la_CFLAGS = -D_GNU_SOURCE -DGST_CONFIG_DIR=\""$(GST_CONFIG_DIR)"\" \
- $(LIBGST_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS) \
+ $(LIBGST_CFLAGS) \
-D_GNU_SOURCE \
-DG_LOG_DOMAIN=g_log_domain_gstreamer \
-DGST_CONFIG_DIR=\""$(GST_CONFIG_DIR)"\" \
-Wnested-externs \
-Winline -Wno-unused
-libgst_la_LIBADD = $(XML_LIBS) $(GLIB_LIBS)
+libgst_la_LIBADD = $(LIBGST_LIBS)
libgst_la_LDFLAGS = -version-info $(GST_LIBVERSION)
!plugin_times_older_than(get_time(GST_CONFIG_DIR"/reg.xml")))
{
if (_gst_warn_old_registry)
- g_error ("gstplugin: registry needs rebuild: run gstreamer-register\n");
+ g_warning ("gstplugin: registry needs rebuild: run gstreamer-register\n");
_gst_plugin_paths = g_list_concat (_gst_plugin_paths, gst_plugin_default_paths);
gst_plugin_load_all ();
/* gst_plugin_unload_all (); */
# we have nothing but apps here, we can do this safely
LIBS = $(GST_LIBS)
-CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
+CFLAGS = $(GST_CFLAGS)
# FIXME : refcounting threadds
DIST_SUBDIRS = capsnego plugin bytestream cleanup
-testprogs = converter enum # capsnego converter2
+testprogs = converter # enum capsnego converter2
TESTS = $(testprogs)
# we have nothing but apps here, we can do this safely
LIBS = $(GST_LIBS)
-CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
+CFLAGS = $(GST_CFLAGS)
TESTS = $(testprogs)
check_PROGRAMS = $(testprogs)
+
+LIBS = $(GST_LIBS)
+CFLAGS = $(GST_CFLAGS)
+
# we have nothing but apps here, we can do this safely
LIBS = $(GST_LIBS)
-CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
+CFLAGS = $(GST_CFLAGS)
# FIXME : refcounting threadds
DIST_SUBDIRS = capsnego plugin bytestream cleanup
-testprogs = converter enum # capsnego converter2
+testprogs = converter # enum capsnego converter2
TESTS = $(testprogs)
# we have nothing but apps here, we can do this safely
LIBS = $(GST_LIBS)
-CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_CFLAGS)
+CFLAGS = $(GST_CFLAGS)
TESTS = $(testprogs)
check_PROGRAMS = $(testprogs)
+
+LIBS = $(GST_LIBS)
+CFLAGS = $(GST_CFLAGS)
+