-SUBDIRS = . hello fork ust-basic-tracing
-#SUBDIRS = . hello2 basic basic_long simple_include snprintf test-nevents test-libustinstr-malloc dlopen same_line_marker trace_event register_test tracepoint libustctl_function_tests exit-fast
+SUBDIRS = utils hello same_line_tracepoint snprintf
-dist_noinst_SCRIPTS = test_loop runtests trace_matches
+if CXX_WORKS
+SUBDIRS += hello.cxx
+endif
-noinst_LIBRARIES = libtap.a
-
-libtap_a_SOURCES = \
- tap.c \
- tap.h
+dist_noinst_SCRIPTS = test_loop run.sh unit_tests
+check-am:
+ ./run.sh unit_tests