vestigial configure.base removal
[platform/upstream/gstreamer.git] / Makefile.am
1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
3
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
10
11 if BUILD_DOCS
12 SUBDIRS_DOCS = docs
13 else
14 SUBDIRS_DOCS =
15 endif
16
17 if BUILD_TESTS
18 SUBDIRS_TESTS = test tests testsuite
19 else
20 SUBDIRS_TESTS =
21 endif
22
23 if BUILD_EXAMPLES
24 SUBDIRS_EXAMPLES = examples
25 else
26 SUBDIRS_EXAMPLES =
27 endif
28
29 SUBDIRS = include gst libs plugins tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
30 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
31
32 # These are all the possible subdirs
33 DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
34
35
36 bin_SCRIPTS = gstreamer-config
37
38 m4datadir = $(datadir)/aclocal
39 m4data_DATA = gstreamer.m4
40
41 pkgconfigdir = $(libdir)/pkgconfig
42 pkgconfig_DATA = gstreamer.pc
43
44 man_MANS = gstreamer-config.1
45
46 EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
47              gstreamer.pc.in gstreamer-uninstalled.pc.in \
48              configure.ac autogen.sh depcomp \
49              LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
50              idiottest.mak
51
52 dist-hook:
53         cp gstreamer.spec $(distdir)
54
55 rpm: dist
56         rpm -ta $(distdir).tar.gz
57
58 deb:
59         dpkg-buildpacakge -rfakeroot -us -uc
60
61 deb-maint:
62         debuild
63
64 include $(top_srcdir)/idiottest.mak
65