no check yet
[platform/upstream/gstreamer.git] / Makefile.am
1 if USE_GCONFTOOL
2 SUBDIRS_GCONF = gconf
3 else
4 SUBDIRS_GCONF =
5 endif
6
7 if BUILD_EXTERNAL
8 SUBDIRS_EXT = ext
9 else
10 SUBDIRS_EXT =
11 endif
12
13 if BUILD_EXAMPLES
14 SUBDIRS_EXAMPLES = examples
15 else
16 SUBDIRS_EXAMPLES =
17 endif
18
19 if HAVE_CHECK
20 SUBDIRS_CHECK = check
21 else
22 SUBDIRS_CHECK =
23 endif
24
25 SUBDIRS =                       \
26         gst-libs                \
27         gst sys $(SUBDIRS_EXT)  \
28         $(SUBDIRS_EXAMPLES)     \
29         tools                   \
30         $(SUBDIRS_GCONF)        \
31         docs                    \
32         po                      \
33         common                  \
34         m4                      \
35         pkgconfig
36
37 DIST_SUBDIRS =                  \
38         docs                    \
39         gst-libs                \
40         gst sys ext             \
41         examples                \
42         tools                   \
43         gconf                   \
44         po                      \
45         common                  \
46         m4                      \
47         pkgconfig
48
49 EXTRA_DIST = \
50         gst-plugins-base.spec depcomp \
51         AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
52         ChangeLog autogen.sh
53
54 DISTCLEANFILES = _stdint.h
55
56 # check that no marshal or enumtypes files are included
57 # this in turn ensures that distcheck fails for missing .list files which is currently
58 # shadowed when the corresponding .c and .h files are included.
59 distcheck-hook:
60         @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch]`" && \
61         test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
62         ( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
63           $(ECHO) "*** Make sure the following files are not disted:" && \
64           find $(distdir) -name \*-enumtypes.[ch] && \
65           find $(distdir) -name \*-marshal.[ch] && \
66           false )
67
68 include $(top_srcdir)/common/release.mak
69 include $(top_srcdir)/common/po.mak