SUBDIRS = \
include \
common \
- types \
- compat
+ compat \
+ logging
if WITH_PYTHON_PLUGINS
SUBDIRS += python-plugin-provider
SUBDIRS += \
lib \
- formats \
plugins \
- converter \
+ cli \
bindings \
tests \
doc \
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = babeltrace.pc babeltrace-ctf.pc
+
+# Create a symlink from libbabeltrace-ctf to libbabeltrace.
+# CTF writer used to be in libbabeltrace-ctf in Babeltrace 1, so this
+# file must still exist. As of Babeltrace 2, CTF writer is implemented
+# in libbabeltrace, hence the symlink.
+install-exec-hook:
+ $(LN_S) -f libbabeltrace.so $(DESTDIR)$(libdir)/libbabeltrace-ctf.so