+if WITH_LEGACY_PROTOCOL
+TESTS += \
+ legacy-protocol.test \
+ algorithms.test
+endif
+
+if LINUX
+TESTS += \
+ ns-ping.test \
+ compression.test
+endif
+
+dist_check_SCRIPTS = $(TESTS)
+
+AM_CFLAGS = -iquote.
+
+check_PROGRAMS = \
+ splice
+
+splice_SOURCES = splice.c
+
+.PHONY: extra
+extra: $(check_PROGRAMS)