1# $NetBSD: Makefile,v 1.7 2014/02/12 04:08:32 jmmv Exp $ 2 3.include <bsd.init.mk> 4 5TESTSDIR= ${TESTSBASE}/atf/atf-c/detail 6 7.PATH: ${SRCDIR}/atf-c/detail 8 9PROGS= 10.for prog in process_helpers \ 11 version_helper 12PROGS+= ${prog} 13SRCS.${prog}= ${prog}.c 14MAN.${prog}= # defined 15BINDIR.${prog}= ${TESTSDIR} 16.endfor 17 18TESTS_C= 19.for test in dynstr_test \ 20 env_test \ 21 fs_test \ 22 list_test \ 23 map_test \ 24 process_test \ 25 sanity_test \ 26 text_test \ 27 user_test 28TESTS_C+= ${test} 29SRCS.${test}= ${test}.c test_helpers.c 30.endfor 31.undef test 32 33# Don't warn about functions which cannot be stack smash protected as 34# there are a lot of them. 35COPTS.dynstr_test.c= -Wno-stack-protector 36 37.include <bsd.test.mk> 38