1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
4 # if libglade is present, build the player and editor
5 if HAVE_LIBGLADE_GNOME
6 SUBDIRS_LGG = gstplay editor
7 else
8 SUBDIRS_LGG =
9 endif
11 if BUILD_DOCS
12 SUBDIRS_DOCS = docs
13 else
14 SUBDIRS_DOCS =
15 endif
17 if BUILD_TESTS
18 SUBDIRS_TESTS = test tests testsuite
19 else
20 SUBDIRS_TESTS =
21 endif
23 if BUILD_EXAMPLES
24 SUBDIRS_EXAMPLES = examples
25 else
26 SUBDIRS_EXAMPLES =
27 endif
29 SUBDIRS = include gst libs plugins tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) components\
30 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
32 # These are all the possible subdirs
33 DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
36 bin_SCRIPTS = gstreamer-config
38 m4datadir = $(datadir)/aclocal
39 m4data_DATA = gstreamer.m4
41 pkgconfigdir = $(libdir)/pkgconfig
42 pkgconfig_DATA = gstreamer.pc
44 man_MANS = gstreamer-config.1
46 EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
47 gstreamer.pc.in gstreamer-uninstalled.pc.in \
48 configure.base autogen.sh \
49 LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
50 idiottest.mak
52 dist-hook:
53 cp gstreamer.spec $(distdir)
55 rpm: dist
56 rpm -ta $(distdir).tar.gz
58 include $(top_srcdir)/idiottest.mak
60 # Rules to generate autoconf scripts if configure.base is updated
61 $(top_srcdir)/configure.in: $(top_srcdir)/configure.base
62 sed <$(top_srcdir)/configure.base >$(top_srcdir)/configure.in '/^SUBSTFOR configure.ac:.*/d;s/^SUBSTFOR configure.in://g'
63 $(top_srcdir)/configure.ac: $(top_srcdir)/configure.base
64 sed <$(top_srcdir)/configure.base >$(top_srcdir)/configure.ac '/^SUBSTFOR configure.in:.*/d;s/^SUBSTFOR configure.ac://g'