m4datadir = $(datadir)/aclocal
m4data_DATA = gstreamer.m4
-EXTRA_DIST = gstreamer.spec.in gstreamer-config.in
+EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4
+
+dist-hook:
+ cp gstreamer.spec $(distdir)
rpm: dist
rpm -ta $(distdir).tar.gz
])
AM_CONDITIONAL(HAVE_XAUDIO, test "x$HAVE_XAUDIO" = "xyes")
-PLUGINS_DIR=${libdir}/plugins
+PLUGINS_DIR=${prefix}/lib/gst
AC_DEFINE_UNQUOTED(PLUGINS_DIR,"$PLUGINS_DIR")
AC_SUBST(PLUGINS_DIR)
editor/Makefile
tools/Makefile
docs/Makefile
-stamp.h])
+stamp.h
+gstreamer-config
+gstreamer.spec])
+AC_OUTPUT_COMMANDS([chmod +x gstreamer-config])
bin_PROGRAMS = gsteditor
+gsteditor_SOURCES = editor.c
gsteditor_LDFLAGS = libgsteditor.la
-lib_LTLIBRARIES = libgstelements.la
+filterdir = $(libdir)/gst
+
+filter_LTLIBRARIES = libgstelements.la
libgstelements_la_DEPENDENCIES = ../libgst.la
libgstelements_la_SOURCES = \
-lib_LTLIBRARIES = libgsttypes.la
+filterdir = $(libdir)/gst
+
+filter_LTLIBRARIES = libgsttypes.la
libgsttypes_la_DEPENDENCIES = ../libgst.la
libgsttypes_la_SOURCES = \
-bin_PROGRAMS = save
+noinst_PROGRAMS = save
INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir)
LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS) $(top_srcdir)/gst/libgst.la
%{prefix}/bin/*
%{prefix}/lib/*
-%{prefix}/lib/gst/*
-%{prefix}/include/gst/*
+%{prefix}/include/*
-lib_LTLIBRARIES = libgstelements.la
+filterdir = $(libdir)/gst
+
+filter_LTLIBRARIES = libgstelements.la
libgstelements_la_DEPENDENCIES = ../libgst.la
libgstelements_la_SOURCES = \
-lib_LTLIBRARIES = libcrashtest.la
+noinst_LTLIBRARIES = libcrashtest.la
libcrashtest_la_SOURCES = \
dummy.c
include_HEADERS = \
dummy.h
-bin_PROGRAMS = test
-
+noinst_PROGRAMS = test
test_LDADD = libcrashtest.la
-bin_PROGRAMS = test simple
+noinst_PROGRAMS = test simple
test_SOURCES = test.c cothreads.c object.c looper.c
-bin_PROGRAMS = readreg createreg
+noinst_PROGRAMS = readreg createreg
INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir)
LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS) $(top_srcdir)/gst/libgst.la