build as a lib rather than a plugin
[platform/upstream/gstreamer.git] / Makefile.am
index 2916ddd..4564aa5 100644 (file)
@@ -1,13 +1,6 @@
 PACKAGE = @PACKAGE@
 VERSION = @VERSION@
 
-# if libglade is present, build the player and editor
-if HAVE_LIBGLADE_GNOME
-SUBDIRS_LGG = gstplay editor
-else
-SUBDIRS_LGG =
-endif
-
 if BUILD_DOCS
 SUBDIRS_DOCS = docs
 else
@@ -15,7 +8,7 @@ SUBDIRS_DOCS =
 endif
 
 if BUILD_TESTS
-SUBDIRS_TESTS =
+SUBDIRS_TESTS = tests testsuite
 else
 SUBDIRS_TESTS =
 endif
@@ -26,47 +19,27 @@ else
 SUBDIRS_EXAMPLES =
 endif
 
-SUBDIRS = include gst libs plugins tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
-$(SUBDIRS_LGG) $(SUBDIRS_DOCS)
+SUBDIRS = include gst libs tools \
+       $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS)
 
 # These are all the possible subdirs
-DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
-
-
-bin_SCRIPTS = gstreamer-config
-
-m4datadir = $(datadir)/aclocal
-m4data_DATA = gstreamer.m4
+DIST_SUBDIRS = include libs gst tools tests testsuite examples docs
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gstreamer.pc
 
-man_MANS = gstreamer-config.1
-
-EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
+EXTRA_DIST = gstreamer.spec.in \
             gstreamer.pc.in gstreamer-uninstalled.pc.in \
-            configure.base autogen.sh \
-            LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
-            idiottest.mak
+            configure.ac autogen.sh depcomp \
+            REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
+            idiottest.mak common
 
 dist-hook:
        cp gstreamer.spec $(distdir)
+       rm -rf `find $(distdir)/common -name CVS`
 
 rpm: dist
        rpm -ta $(distdir).tar.gz
 
-deb:
-       dpkg-buildpacakge -rfakeroot -us -uc
-
-deb-maint:
-       debuild
-
 include $(top_srcdir)/idiottest.mak
 
-# Rules to generate autoconf scripts if configure.base is updated
-$(top_srcdir)/configure.in: $(top_srcdir)/configure.base
-       $(top_srcdir)/makeconfigure <$(top_srcdir)/configure.base >$(top_srcdir)/configure.in configure.in
-
-$(top_srcdir)/configure.ac: $(top_srcdir)/configure.base
-       $(top_srcdir)/makeconfigure <$(top_srcdir)/configure.base >$(top_srcdir)/configure.ac configure.ac
-