Applied patch from Martin Schlemmer for locking issue, see bug http://bugzilla.gnome...
[platform/upstream/gstreamer.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 all-local: gstreamer-libs-@GST_MAJORMINOR@.pc gstreamer-play-@GST_MAJORMINOR@.pc gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc gst-element-check-@GST_MAJORMINOR@.m4
20
21 gstreamer-libs-@GST_MAJORMINOR@.pc: gstreamer-libs.pc gstreamer-libs.pc.in
22         cp gstreamer-libs.pc gstreamer-libs-@GST_MAJORMINOR@.pc
23 gstreamer-play-@GST_MAJORMINOR@.pc: gstreamer-play.pc gstreamer-play.pc.in
24         cp gstreamer-play.pc gstreamer-play-@GST_MAJORMINOR@.pc
25 gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc: gstreamer-libs-uninstalled.pc gstreamer-libs-uninstalled.pc.in
26         cp gstreamer-libs-uninstalled.pc gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc
27 gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc: gstreamer-play-uninstalled.pc gstreamer-play-uninstalled.pc.in
28         cp gstreamer-play-uninstalled.pc gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc
29 gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
30         cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
31
32 pkgconfigdir = $(libdir)/pkgconfig
33 pkgconfig_DATA = \
34         gstreamer-libs-@GST_MAJORMINOR@.pc \
35         gstreamer-play-@GST_MAJORMINOR@.pc
36
37 aclocaldir = $(datadir)/aclocal
38 aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
39
40 SUBDIRS=gst-libs gst sys $(EXT_DIR) $(EXAMPLES_DIR) tools $(GCONF_DIR) testsuite
41
42 DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite
43
44 EXTRA_DIST=gst-plugins.spec depcomp gst-element-check.m4 \
45            gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
46            gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in \
47            AUTHORS COPYING README RELEASE REQUIREMENTS \
48            ChangeLog autogen.sh common m4
49
50 dist-hook:
51         rm -rf `find $(distdir)/common -name CVS`
52         rm -rf `find $(distdir)/m4 -name CVS`