minix/external/bsd/kyua-testers/tests/kyua-testers/Makefile
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00

49 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2013/02/19 06:04:44 jmmv Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/kyua-testers
SRCDIR= ${NETBSDSRCDIR}/external/bsd/kyua-testers/dist
.PATH: ${SRCDIR}
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -DTESTERSDIR=\"/usr/libexec\"
CPPFLAGS+= -I${.CURDIR}/../../lib/libtester
CPPFLAGS+= -I${SRCDIR}
PRIVATELIBDIR!= cd ${.CURDIR}/../../lib; ${PRINTOBJDIR}
.for lib in atf_tester tester
LDADD+= ${PRIVATELIBDIR}/lib${lib}/lib${lib}.a
DPADD+= ${PRIVATELIBDIR}/lib${lib}/lib${lib}.a
.endfor
TESTS_C= atf_list_test
TESTS_C+= atf_result_test
TESTS_C+= atf_inttest
TESTS_C+= cli_test
TESTS_C+= env_test
TESTS_C+= error_test
#LSC FIXME: (MINIX) Requires tmpfs to work correctly, maybe a workaround
# with a ramdisk may be used.
#TESTS_C+= fs_test
TESTS_C+= plain_inttest
TESTS_C+= result_test
TESTS_C+= run_test
TESTS_C+= stacktrace_test
TESTS_C+= text_test
PROGS= atf_helpers
BINDIR.atf_helpers= ${TESTSDIR}
MAN.atf_helpers= # empty
LDADD.atf_helpers= -latf-c++ -latf-c
DPADD.atf_helpers= ${LIBATF_CXX} ${LIBATF_C}
PROGS+= plain_helpers
BINDIR.plain_helpers= ${TESTSDIR}
MAN.plain_helpers= # empty
PROGS+= stacktrace_helper
BINDIR.stacktrace_helper= ${TESTSDIR}
MAN.stacktrace_helper= # empty
.include <bsd.test.mk>