UNIT_TESTS = \ unit-test-ntlmssp.c \ unit-test-stringx.c INCLUDES= \ -I$(top_srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/common noinst_PROGRAMS= \ run-tests run-tests.c: $(UNIT_TESTS) prep-tests.sh Makefile.am sh prep-tests.sh -b run-tests $(UNIT_TESTS) run_tests_SOURCES = \ run-tests.c \ run-tests.h \ $(UNIT_TESTS) EXTRA_DIST = \ prep-tests.sh \ cu-test \ test-helpers.c \ test-helpers.h # ------------------------------------------------------------------------------ # Run the tests run: $(noinst_PROGRAMS) ./run-tests