-ACLOCAL_AMFLAGS = -I config
+ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = . include snprintf libringbuffer liblttng-ust-comm liblttng-ust-baddr \
+SUBDIRS = . include snprintf libringbuffer liblttng-ust-comm \
+ libcounter \
+ libmsgpack \
liblttng-ust \
liblttng-ust-ctl \
+ liblttng-ust-fd \
liblttng-ust-fork \
- liblttng-ust-dl \
liblttng-ust-libc-wrapper \
liblttng-ust-cyg-profile \
tools
+if HAVE_DLINFO
+SUBDIRS += liblttng-ust-dl
+endif
+
if BUILD_JNI_INTERFACE
-SUBDIRS += liblttng-ust-java liblttng-ust-jul
+SUBDIRS += liblttng-ust-java
+endif
+
+if BUILD_JAVA_AGENT
+SUBDIRS += liblttng-ust-java-agent
+endif
+
+if BUILD_PYTHON_AGENT
+SUBDIRS += python-lttngust \
+ liblttng-ust-python-agent
endif
SUBDIRS += tests doc
# liblttng-ust-malloc
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = lttng-ust.pc
+pkgconfig_DATA = lttng-ust.pc lttng-ust-ctl.pc
+
+dist_doc_DATA = \
+ ChangeLog \
+ COPYING \
+ LICENSE \
+ README.md
-dist_doc_DATA = README ChangeLog
+dist_noinst_DATA = \
+ CodingStyle \
+ CONTRIBUTING.md \
+ gpl-2.0.txt \
+ lgpl-2.1.txt \
+ mit-license.txt
-dist_noinst_DATA = CodingStyle
+check-loop:
+ cd tests && $(MAKE) $(AM_MAKEFLAGS) check-loop
+.PHONY: check-loop