-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+SUBDIRS = utils cli lib bindings
-SUBDIRS = lib
+EXTRA_DIST = $(srcdir)/ctf-traces/** \
+ $(srcdir)/debug-info-data/** \
+ $(srcdir)/debug-info-data/.build-id/cd/**
-noinst_PROGRAMS = test-bitfield
-
-test_bitfield_SOURCES = test-bitfield.c
-
-EXTRA_DIST = runall.sh ctf-traces/**
-
-check-am:
- ./runall.sh
+if !ENABLE_BUILT_IN_PLUGINS
+SUBDIRS += plugins
+endif