| 1 | AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include |
| 2 | |
| 3 | ACLOCAL_AMFLAGS = -I m4 |
| 4 | |
| 5 | SUBDIRS = include \ |
| 6 | common \ |
| 7 | compat \ |
| 8 | logging |
| 9 | |
| 10 | if WITH_PYTHON_PLUGINS |
| 11 | # Only build the Python plugin provider shared object if the |
| 12 | # configuration doesn't ask to make it built-in. |
| 13 | SUBDIRS += python-plugin-provider |
| 14 | endif |
| 15 | |
| 16 | SUBDIRS += \ |
| 17 | lib \ |
| 18 | plugins \ |
| 19 | cli \ |
| 20 | bindings \ |
| 21 | tests \ |
| 22 | doc \ |
| 23 | extras |
| 24 | |
| 25 | dist_doc_DATA = ChangeLog LICENSE mit-license.txt gpl-2.0.txt \ |
| 26 | std-ext-lib.txt README |
| 27 | |
| 28 | dist_noinst_DATA = CodingStyle |
| 29 | |
| 30 | pkgconfigdir = $(libdir)/pkgconfig |
| 31 | pkgconfig_DATA = babeltrace.pc babeltrace-ctf.pc |
| 32 | |
| 33 | # Create a symlink from libbabeltrace-ctf to libbabeltrace. |
| 34 | # CTF writer used to be in libbabeltrace-ctf in Babeltrace 1, so this |
| 35 | # file must still exist. As of Babeltrace 2, CTF writer is implemented |
| 36 | # in libbabeltrace, hence the symlink. |
| 37 | install-exec-hook: |
| 38 | $(LN_S) -f libbabeltrace.so $(DESTDIR)$(libdir)/libbabeltrace-ctf.so |