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