From: Zeeshan Ali (Khattak) Date: Mon, 19 Jan 2009 15:56:26 +0000 (+0000) Subject: configure options for disabling dvb and tracker plugins. X-Git-Tag: RYGEL_0_2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d02f932c2ebd7bc61b7dc5616dc1bf1c2abeeb6;p=profile%2Fivi%2Frygel.git configure options for disabling dvb and tracker plugins. svn path=/trunk/; revision=462 --- diff --git a/configure.ac b/configure.ac index e229b39..a333162 100644 --- a/configure.ac +++ b/configure.ac @@ -105,10 +105,23 @@ AC_ARG_ENABLE(test-plugin, [ --enable-test-plugin build test plugin],, enable_test_plugin=no) +# Build Tracker plugin +AC_ARG_ENABLE(tracker-plugin, + [ --enable-tracker-plugin build tracker plugin],, + enable_tracker_plugin=yes) + +# Build DVB plugin +AC_ARG_ENABLE(dvb-plugin, + [ --enable-dvb-plugin build DVB plugin],, + enable_dvb_plugin=yes) + AC_SUBST(abs_top_builddir) AM_CONDITIONAL([UNINSTALLED], [test "x$enable_uninstalled" = "xyes"]) AM_CONDITIONAL([BUILD_TEST_PLUGIN], [test "x$enable_test_plugin" = "xyes"]) +AM_CONDITIONAL([BUILD_TRACKER_PLUGIN], + [test "x$enable_tracker_plugin" = "xyes"]) +AM_CONDITIONAL([BUILD_DVB_PLUGIN], [test "x$enable_dvb_plugin" = "xyes"]) # Gettext GETTEXT_PACKAGE=rygel diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 76ee36f..f207556 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -1,7 +1,15 @@ if BUILD_TEST_PLUGIN -SUBDIRS = tracker dvb test -else -SUBDIRS = tracker dvb +TEST_PLUGIN = test endif +if BUILD_TRACKER_PLUGIN +TRACKER_PLUGIN = tracker +endif + +if BUILD_DVB_PLUGIN +DVB_PLUGIN = dvb +endif + +SUBDIRS = $(TEST_PLUGIN) $(TRACKER_PLUGIN) $(DVB_PLUGIN) + MAINTAINERCLEANFILES = Makefile.in