plugins should be gotten from the separate gst-plugins module from now on we're fixin...
[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 tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
37 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
38
39 # These are all the possible subdirs
40 DIST_SUBDIRS = include gst libs tools test tests testsuite examples gstplay editor docs
41
42
43 pkgconfigdir = $(libdir)/pkgconfig
44 pkgconfig_DATA = gstreamer.pc
45
46 EXTRA_DIST = gstreamer.spec.in \
47              gstreamer.pc.in gstreamer-uninstalled.pc.in \
48              configure.ac autogen.sh depcomp \
49              LICENSE REQUIREMENTS ABOUT-NLS \
50              idiottest.mak
51
52 dist-hook:
53         cp gstreamer.spec $(distdir)
54
55 rpm: dist
56         rpm -ta $(distdir).tar.gz
57
58 include $(top_srcdir)/idiottest.mak
59