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

# do not add libarch or commands.a here - that would be wrong layering.
libs			:=	\
				../libinifile.a \
				../../libawk/libawk.a \
				../../libfsutils/libfsutils.a \
				$(objroot)/hackerlab/libhackerlab/libhackerlab.a \
				$(cfg__socket_library) \
				$(cfg__resolv_library) \
				$(cfg__net_library) \
				-lneon \
				-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