Integrate ctf proto into the plugin build system
[babeltrace.git] / configure.ac
index f680a8b42a0cbfd9170e83cf98c2045a80a57a7e..01043fbdcd7178ea870a669f91b04f3582c85eff 100644 (file)
@@ -3,7 +3,7 @@ AC_INIT([babeltrace],[2.0.0-pre],[jeremie dot galarneau at efficios dot com])
 
 # Following the numbering scheme proposed by libtool for the library version
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
-AC_SUBST([BABELTRACE_LIBRARY_VERSION], [1:0:0])
+AC_SUBST([BABELTRACE_LIBRARY_VERSION], [2:0:0])
 
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([config])
@@ -231,6 +231,10 @@ AC_CHECK_LIB([popt], [poptGetContext], [],
         [AC_MSG_ERROR([Cannot find popt.])]
 )
 
+# Plugins
+AC_ARG_VAR([PLUGINSDIR], [built-in plugins install directory [LIBDIR/babeltrace/plugins]])
+AS_IF([test "x$PLUGINSDIR" = x], [PLUGINSDIR='$(libdir)/babeltrace/plugins'])
+
 # For Python
 # SWIG version needed or newer:
 swig_version=2.0.0
@@ -357,6 +361,7 @@ AC_CONFIG_FILES([
        doc/images/Makefile
        lib/Makefile
        lib/prio_heap/Makefile
+       lib/plugin-system/Makefile
        include/Makefile
        bindings/Makefile
        bindings/python/Makefile
@@ -370,6 +375,14 @@ AC_CONFIG_FILES([
        extras/Makefile
        extras/valgrind/Makefile
        plugins/Makefile
+       plugins/ctf/Makefile
+       plugins/ctf/common/Makefile
+       plugins/ctf/common/btr/Makefile
+       plugins/ctf/common/metadata/Makefile
+       plugins/ctf/common/notif-iter/Makefile
+       plugins/ctf/fs/Makefile
+       plugins/ctf/lttng-live/Makefile
+       plugins/text/Makefile
        babeltrace.pc
        babeltrace-ctf.pc
 ])
This page took 0.022477 seconds and 4 git commands to generate.