+if NO_SHARED
+# Do not build this test if shared libraries support was
+# explicitly disabled.
+
+CLEANFILES = lttng-ust-getcpu-override-test.so \
+ lttng-ust-getcpu-override-test.so.debug
+
+EXTRA_DIST = test_getcpu_override run-getcpu-override \
+ lttng-ust-getcpu-override-test.c
+
+else
+
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src