-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+# SPDX-License-Identifier: MIT
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = include \
- common \
- compat \
- logging
+SUBDIRS = \
+ include \
+ src \
+ doc \
+ tests
-if WITH_PYTHON_PLUGINS
-# Only build the Python plugin provider shared object if the
-# configuration doesn't ask to make it built-in.
-SUBDIRS += python-plugin-provider
-endif
-
-SUBDIRS += \
- lib \
- plugins \
- cli \
- bindings \
- tests \
- doc \
- extras
-
-dist_doc_DATA = ChangeLog LICENSE mit-license.txt gpl-2.0.txt \
- std-ext-lib.txt README
+dist_doc_DATA = \
+ ChangeLog \
+ CONTRIBUTING.adoc \
+ LICENSE \
+ README.adoc
dist_noinst_DATA = CodingStyle
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = babeltrace.pc babeltrace-ctf.pc
+EXTRA_DIST = \
+ LICENSES/BSD-2-Clause.txt \
+ LICENSES/BSD-4-Clause.txt \
+ LICENSES/BSL-1.0.txt \
+ LICENSES/CC-BY-SA-4.0.txt \
+ LICENSES/FSFAP.txt \
+ LICENSES/FSFULLR.txt \
+ LICENSES/GPL-2.0-only.txt \
+ LICENSES/GPL-2.0-or-later.txt \
+ LICENSES/GPL-3.0-or-later.txt \
+ LICENSES/LGPL-2.1-only.txt \
+ LICENSES/LicenseRef-Autoconf-exception-macro.txt \
+ LICENSES/MIT.txt \
+ LICENSES/PSF-2.0.txt \
+ std-ext-lib.txt \
+ tools/format-cpp.sh \
+ tools/lint-py.sh \
+ tools/shellcheck.sh \
+ version