-SUBDIRS = . hello hello2 basic basic_long fork simple_include snprintf test-nevents test-libustinstr-malloc dlopen same_line_marker trace_event register_test tracepoint ustcmd_function_tests
+SUBDIRS = utils hello same_line_tracepoint snprintf benchmark
-dist_noinst_SCRIPTS = test_loop runtests trace_matches
+if CXX_WORKS
+SUBDIRS += hello.cxx
+endif
-lib_LTLIBRARIES = libtap.la
+dist_noinst_SCRIPTS = test_loop run.sh unit_tests
-libtap_la_SOURCES = \
- tap.c \
- tap.h
-
-libtap_la_LDFLAGS = -no-undefined -version-info 0:0:0
-
-libtap_la_LIBADD = \
- -lpthread
\ No newline at end of file
+check-am:
+ ./run.sh unit_tests