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