EXTRA_CFLAGS:=$(EXTRA_CFLAGS) -I $(srcroot) -I $(srcdir)/../.. -I $(objroot)

libs			:=	../../commands/libcommands.a \
				../../libarch/libarch.a \
				../../libinifile/libinifile.a \
				../../libawk/libawk.a \
				../../libdate/libdate.a \
				../../libfsutils/libfsutils.a \
				$(objroot)/hackerlab/libhackerlab/libhackerlab.a \
				$(cfg__intl_library) \
				$(cfg__neon_library) \
				$(cfg__ssl_library) \
				$(cfg__crypto_library) \
				$(cfg__socket_library) \
				$(cfg__resolv_library) \
				$(cfg__net_library) \
				$(cfg__gpgme_library) \
				$(cfg__expat_library) \
				$(cfg__pth_library) \
				-lm

include $(makefiles)/unit-tests.mk

tests-timestamp: $(test-progs) $(test-scripts)
	set -e ; \
	for s in $(test-progs) ; do \
	  echo -n ./$$s; \
	  if ! ./$$s ; then \
	    echo '...failed'; \
	    false; \
	  fi; \
	  echo ...passed; \
	done
ifneq "$(strip $(test-scripts))" ""
	for s in $(test-scripts) ; do \
	  $(cfg__posix_shell) $$s; \
	done
endif
	touch tests-timestamp


syntax highlighted by Code2HTML, v. 0.9.1