-SUBDIRS = . include protocol common src client tools
+
+if HAVE_UTEST
+SUBDIRS = . include protocol common src backends client tools utests
+else
+SUBDIRS = . include protocol common src backends client tools
+endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libtdm.pc