1 1.6 christos # $NetBSD: Makefile,v 1.6 2011/11/06 17:02:33 christos Exp $ 2 1.1 pgoyette 3 1.1 pgoyette MKMAN= no 4 1.1 pgoyette 5 1.1 pgoyette .include <bsd.own.mk> 6 1.1 pgoyette 7 1.5 christos TESTSDIR?= ${TESTSBASE}/lib/libc/regex 8 1.6 christos IMPLEMENTATION?= -DREGEX_SPENCER 9 1.1 pgoyette 10 1.1 pgoyette BINDIR= ${TESTSDIR} 11 1.6 christos PROGS+= h_regex h_regex_att 12 1.6 christos SRCS.h_regex_att= att.c 13 1.3 christos SRCS.h_regex= main.c split.c debug.c 14 1.6 christos CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/regex ${IMPLEMENTATION} 15 1.1 pgoyette 16 1.1 pgoyette TESTS_SH= t_regex 17 1.6 christos TESTS_SH+= t_regex_att 18 1.2 christos TESTS_C= t_exhaust 19 1.1 pgoyette 20 1.1 pgoyette FILESDIR= ${TESTSDIR}/data 21 1.1 pgoyette FILES+= README 22 1.1 pgoyette FILES+= data/anchor.in 23 1.1 pgoyette FILES+= data/backref.in 24 1.1 pgoyette FILES+= data/basic.in 25 1.1 pgoyette FILES+= data/bracket.in 26 1.1 pgoyette FILES+= data/c_comments.in 27 1.1 pgoyette FILES+= data/complex.in 28 1.1 pgoyette FILES+= data/error.in 29 1.1 pgoyette FILES+= data/meta.in 30 1.1 pgoyette FILES+= data/nospec.in 31 1.1 pgoyette FILES+= data/paren.in 32 1.1 pgoyette FILES+= data/regress.in 33 1.1 pgoyette FILES+= data/repet_bounded.in 34 1.1 pgoyette FILES+= data/repet_multi.in 35 1.1 pgoyette FILES+= data/repet_ordinary.in 36 1.1 pgoyette FILES+= data/startend.in 37 1.1 pgoyette FILES+= data/subexp.in 38 1.1 pgoyette FILES+= data/subtle.in 39 1.1 pgoyette FILES+= data/word_bound.in 40 1.4 dholland FILES+= data/zero.in 41 1.6 christos #FILES+= data/att/README 42 1.6 christos FILES+= data/att/basic.dat 43 1.6 christos FILES+= data/att/categorization.dat 44 1.6 christos FILES+= data/att/forcedassoc.dat 45 1.6 christos FILES+= data/att/leftassoc.dat 46 1.6 christos FILES+= data/att/nullsubexpr.dat 47 1.6 christos FILES+= data/att/repetition.dat 48 1.6 christos FILES+= data/att/rightassoc.dat 49 1.1 pgoyette 50 1.1 pgoyette t_regex.sh: t_regex.awk t_regex.in 51 1.5 christos ${TOOL_AWK} -f ${.ALLSRC} > ${.TARGET} 52 1.1 pgoyette 53 1.6 christos t_regex_att.sh: t_regex.awk t_regex_att.in 54 1.6 christos ${TOOL_AWK} -f ${.ALLSRC} > ${.TARGET} 55 1.6 christos 56 1.6 christos CLEANFILES+= t_regex.sh t_regex_att.sh 57 1.1 pgoyette 58 1.1 pgoyette .include <bsd.test.mk> 59