removed editor
[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 SUBDIRS_LGG = gstplay
10 else
11 SUBDIRS_LGG =
12 endif
13  
14 if BUILD_DOCS
15 SUBDIRS_DOCS = docs
16 else
17 SUBDIRS_DOCS =
18 endif
19
20 if BUILD_TESTS
21 SUBDIRS_TESTS = test tests testsuite
22 else
23 SUBDIRS_TESTS =
24 endif
25
26 if BUILD_EXAMPLES
27 SUBDIRS_EXAMPLES = examples
28 else
29 SUBDIRS_EXAMPLES =
30 endif
31
32 SUBDIRS = include gst libs tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
33 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
34
35 # These are all the possible subdirs
36 DIST_SUBDIRS = include gst libs tools test tests testsuite examples gstplay docs
37
38
39 pkgconfigdir = $(libdir)/pkgconfig
40 pkgconfig_DATA = gstreamer.pc
41
42 EXTRA_DIST = gstreamer.spec.in \
43              gstreamer.pc.in gstreamer-uninstalled.pc.in \
44              configure.ac autogen.sh depcomp \
45              LICENSE REQUIREMENTS ABOUT-NLS \
46              idiottest.mak
47
48 dist-hook:
49         cp gstreamer.spec $(distdir)
50
51 rpm: dist
52         rpm -ta $(distdir).tar.gz
53
54 include $(top_srcdir)/idiottest.mak
55