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