Remove generated .spec file
[platform/upstream/gstreamer.git] / Makefile.am
1 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
2
3 if BUILD_EXAMPLES
4 SUBDIRS_EXAMPLES = examples
5 else
6 SUBDIRS_EXAMPLES =
7 endif
8
9 SUBDIRS =               \
10         gst \
11         common \
12         pkgconfig \
13         docs \
14         $(SUBDIRS_EXAMPLES) \
15         tests
16
17 DIST_SUBDIRS = gst common pkgconfig docs examples tests
18
19 # include before EXTRA_DIST for win32 assignment
20 include $(top_srcdir)/common/win32.mak
21
22 EXTRA_DIST = \
23         ChangeLog autogen.sh depcomp \
24         AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
25         docs/design/gst-rtp-server-design \
26         gst-rtsp-server.doap \
27         $(win32)
28
29 ACLOCAL_AMFLAGS = -I m4 -I common/m4
30
31 DISTCLEANFILES = _stdint.h
32
33 include $(top_srcdir)/common/release.mak
34 include $(top_srcdir)/common/po.mak
35
36 include $(top_srcdir)/common/coverage/lcov.mak
37
38 check-valgrind:
39         $(MAKE) -C tests/check check-valgrind
40
41 if HAVE_CHECK
42 check-torture:
43         $(MAKE) -C tests/check torture
44 build-checks:
45         $(MAKE) -C tests/check  build-checks
46 else
47 check-torture:
48         true
49 build-checks:
50         true
51 endif
52
53 # cruft: plugins that have been merged or moved or renamed
54 CRUFT_FILES = \
55         $(top_builddir)/gst-rtsp.spec \
56         $(top_builddir)/common/shave \
57         $(top_builddir)/common/shave-libtool \
58         $(top_builddir)/common/m4/codeset.m4 \
59         $(top_builddir)/common/m4/gettext.m4 \
60         $(top_builddir)/common/m4/glibc2.m4 \
61         $(top_builddir)/common/m4/glibc21.m4 \
62         $(top_builddir)/common/m4/iconv.m4 \
63         $(top_builddir)/common/m4/intdiv0.m4 \
64         $(top_builddir)/common/m4/intl.m4 \
65         $(top_builddir)/common/m4/intldir.m4 \
66         $(top_builddir)/common/m4/intlmacosx.m4 \
67         $(top_builddir)/common/m4/intmax.m4 \
68         $(top_builddir)/common/m4/inttypes-pri.m4 \
69         $(top_builddir)/common/m4/inttypes_h.m4 \
70         $(top_builddir)/common/m4/lcmessage.m4 \
71         $(top_builddir)/common/m4/lib-ld.m4 \
72         $(top_builddir)/common/m4/lib-link.m4 \
73         $(top_builddir)/common/m4/lib-prefix.m4 \
74         $(top_builddir)/common/m4/libtool.m4 \
75         $(top_builddir)/common/m4/lock.m4 \
76         $(top_builddir)/common/m4/longlong.m4 \
77         $(top_builddir)/common/m4/ltoptions.m4 \
78         $(top_builddir)/common/m4/ltsugar.m4 \
79         $(top_builddir)/common/m4/ltversion.m4 \
80         $(top_builddir)/common/m4/lt~obsolete.m4 \
81         $(top_builddir)/common/m4/nls.m4 \
82         $(top_builddir)/common/m4/po.m4 \
83         $(top_builddir)/common/m4/printf-posix.m4 \
84         $(top_builddir)/common/m4/progtest.m4 \
85         $(top_builddir)/common/m4/size_max.m4 \
86         $(top_builddir)/common/m4/stdint_h.m4 \
87         $(top_builddir)/common/m4/uintmax_t.m4 \
88         $(top_builddir)/common/m4/visibility.m4 \
89         $(top_builddir)/common/m4/wchar_t.m4 \
90         $(top_builddir)/common/m4/wint_t.m4 \
91         $(top_builddir)/common/m4/xsize.m4
92
93 include $(top_srcdir)/common/cruft.mak
94
95 all-local: check-cruft