bk: 55643e9f6V7DhM4DgT9VgU3gSVudLA
SUBDIRS =
if GTEST_AVAILABLE
-SUBDIRS += libntp \
- ntpd \
- $(NULL)
+SUBDIRS += \
+ ntpd \
+ $(NULL)
endif
-SUBDIRS += bug-2803 \
- sandbox \
- $(NULL)
+SUBDIRS += \
+ bug-2803 \
+ libntp \
+ sandbox \
+ $(NULL)
run_unity = cd $(srcdir) && ruby ../../sntp/unity/auto/generate_test_runner.rb
-check_PROGRAMS = test-libntp tests
+check_PROGRAMS = test-libntp
+if GTEST_AVAILABLE
+check_PROGRAMS += tests
+else
+EXTRA_PROGRAMS = tests
+endif
LDADD = \
$(top_builddir)/libntp/libntp.a \