examples should build conditionally
[platform/upstream/gst-plugins-good.git] / Makefile.am
1 if USE_GCONFTOOL
2 GCONF_DIR=gconf
3 else
4 GCONF_DIR=
5 endif
6
7 if BUILD_EXTERNAL
8 EXT_DIR=ext
9 else
10 EXT_DIR=
11 endif
12
13 if BUILD_EXAMPLES
14 EXAMPLES_DIR=examples
15 else
16 EXAMPLES_DIR=
17 endif
18
19 pkgconfigdir = $(libdir)/pkgconfig
20 pkgconfig_DATA = gstreamer-libs.pc gstreamer-play.pc
21
22 aclocaldir = $(datadir)/aclocal
23 aclocal_DATA = gst-element-check.m4
24
25 SUBDIRS=gst-libs gst sys $(EXT_DIR) $(EXAMPLES_DIR) tools $(GCONF_DIR) testsuite
26
27 DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite
28
29 EXTRA_DIST=gst-plugins.spec depcomp gst-element-check.m4 \
30            gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
31            gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in \
32            AUTHORS COPYING README RELEASE \
33            ChangeLog autogen.sh common m4
34
35 dist-hook:
36         rm -rf `find $(distdir)/common -name CVS`
37         rm -rf `find $(distdir)/m4 -name CVS`