]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - Makefile.am
Some basic deb building rules
[glsdk/gstreamer0-10.git] / Makefile.am
1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
4 # if libglade is present, build the player and editor
5 if HAVE_LIBGLADE_GNOME
6 SUBDIRS_LGG = gstplay editor
7 else
8 SUBDIRS_LGG =
9 endif
11 if BUILD_DOCS
12 SUBDIRS_DOCS = docs
13 else
14 SUBDIRS_DOCS =
15 endif
17 if BUILD_TESTS
18 SUBDIRS_TESTS = test tests testsuite
19 else
20 SUBDIRS_TESTS =
21 endif
23 if BUILD_EXAMPLES
24 SUBDIRS_EXAMPLES = examples
25 else
26 SUBDIRS_EXAMPLES =
27 endif
29 SUBDIRS = include gst libs plugins tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
30 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
32 # These are all the possible subdirs
33 DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
36 bin_SCRIPTS = gstreamer-config
38 m4datadir = $(datadir)/aclocal
39 m4data_DATA = gstreamer.m4
41 pkgconfigdir = $(libdir)/pkgconfig
42 pkgconfig_DATA = gstreamer.pc
44 man_MANS = gstreamer-config.1
46 EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
47              gstreamer.pc.in gstreamer-uninstalled.pc.in \
48              configure.base autogen.sh \
49              LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
50              idiottest.mak
52 dist-hook:
53         cp gstreamer.spec $(distdir)
55 rpm: dist
56         rpm -ta $(distdir).tar.gz
58 deb:
59         dpkg-buildpacakge -rfakeroot -us -uc
61 deb-maint:
62         debuild
64 include $(top_srcdir)/idiottest.mak
66 # Rules to generate autoconf scripts if configure.base is updated
67 $(top_srcdir)/configure.in: $(top_srcdir)/configure.base
68         $(top_srcdir)/makeconfigure <$(top_srcdir)/configure.base >$(top_srcdir)/configure.in configure.in
70 $(top_srcdir)/configure.ac: $(top_srcdir)/configure.base
71         $(top_srcdir)/makeconfigure <$(top_srcdir)/configure.base >$(top_srcdir)/configure.ac configure.ac