build: Only compile, don't try to link
[profile/ivi/rygel.git] / Makefile.am
1 SUBDIRS = src data tests po doc examples
2
3 pkgconfig_DATA= rygel-core-2.0.pc rygel-renderer-2.0.pc rygel-server-2.0.pc
4 pkgconfigdir = $(libdir)/pkgconfig
5
6 if HAVE_GSTREAMER
7 pkgconfig_DATA += rygel-renderer-gst-2.0.pc
8 endif
9
10 EXTRA_DIST = rygel-core-2.0.pc.in rygel-renderer-2.0.pc.in \
11              rygel-server-2.0.pc.in .version
12
13 DISTCHECK_CONFIGURE_FLAGS =
14
15 # Extra clean files so that maintainer-clean removes *everything*
16 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing config.h.in
17
18 ACLOCAL_AMFLAGS = -I m4
19
20 # see build-aux/git-version-get for details
21 BUILT_SOURCES = $(top_srcdir)/.version
22 $(top_srcdir)/.version:
23         echo $(VERSION) > $@-t && mv $@-t $@
24 dist-hook:
25         echo $(VERSION) > $(distdir)/.tarball-version
26         @if test -d "$(srcdir)/.git"; \
27                 then \
28                                 echo Creating ChangeLog && \
29                                 ( cd "$(top_srcdir)" && \
30                                   echo '# Generated by Makefile. Do not edit.'; echo; \
31                                   "$(top_srcdir)"/build-aux/missing --run git log --stat ) > ChangeLog.tmp \
32                                 && mv -f ChangeLog.tmp $(distdir)/ChangeLog \
33                                 || ( rm -f ChangeLog.tmp ; \
34                                          echo Failed to generate ChangeLog >&2 ); \
35                 else \
36                                 echo A git clone is required to generate a ChangeLog >&2; \
37                 fi
38
39 vala-clean:
40         rm -f `find . -name "*.stamp"`