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