1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5BINDIR= ${TESTSDIR} 6 7IMPLEMENTATION?= -DREGEX_SPENCER 8 9CFLAGS.h_regex+=-I${TESTSRC} -I${.CURDIR:H:H}/regex 10PROGS+= h_regex 11SRCS.h_regex= main.c split.c debug.c 12 13NETBSD_ATF_TESTS_SH= regex_test 14 15FILESDIR= ${TESTSDIR}/data 16FILES+= README 17FILES+= data/anchor.in 18FILES+= data/backref.in 19FILES+= data/basic.in 20FILES+= data/bracket.in 21FILES+= data/c_comments.in 22FILES+= data/complex.in 23FILES+= data/error.in 24FILES+= data/meta.in 25FILES+= data/nospec.in 26FILES+= data/paren.in 27FILES+= data/regress.in 28FILES+= data/repet_bounded.in 29FILES+= data/repet_multi.in 30FILES+= data/repet_ordinary.in 31FILES+= data/startend.in 32FILES+= data/subexp.in 33FILES+= data/subtle.in 34FILES+= data/word_bound.in 35FILES+= data/zero.in 36#FILES+= data/att/README 37FILES+= data/att/basic.dat 38FILES+= data/att/categorization.dat 39FILES+= data/att/forcedassoc.dat 40FILES+= data/att/leftassoc.dat 41FILES+= data/att/nullsubexpr.dat 42FILES+= data/att/repetition.dat 43FILES+= data/att/rightassoc.dat 44 45NETBSD_ATF_TESTS_C= exhaust_test 46NETBSD_ATF_TESTS_C+= regex_att_test 47 48.for t in ${NETBSD_ATF_TESTS_C} 49CFLAGS.$t+= -I${TESTSRC} ${IMPLEMENTATION} 50.endfor 51 52.include "../Makefile.netbsd-tests" 53 54DPADD.regex_att_test+= ${LIBUTIL} 55LDADD.regex_att_test+= -lutil 56 57.include <bsd.test.mk> 58