Makefile revision 1.8
11.8Schristos# $NetBSD: Makefile,v 1.8 2011/11/06 19:45:37 christos Exp $
21.1Spgoyette
31.1SpgoyetteMKMAN=	no
41.1Spgoyette
51.1Spgoyette.include <bsd.own.mk>
61.1Spgoyette
71.5SchristosTESTSDIR?=	${TESTSBASE}/lib/libc/regex
81.6SchristosIMPLEMENTATION?=	-DREGEX_SPENCER
91.7SchristosSKIPASSOC?=	left
101.1Spgoyette
111.1SpgoyetteBINDIR=		${TESTSDIR}
121.8SchristosPROGS?=		h_regex
131.8SchristosPROGS+=		h_regex_att
141.6SchristosSRCS.h_regex_att=	att.c
151.3SchristosSRCS.h_regex=	main.c split.c debug.c
161.6SchristosCPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libc/regex ${IMPLEMENTATION}
171.1Spgoyette
181.8SchristosTESTS_SH?=	t_regex
191.6SchristosTESTS_SH+=	t_regex_att
201.2SchristosTESTS_C=	t_exhaust
211.1Spgoyette
221.1SpgoyetteFILESDIR=	${TESTSDIR}/data
231.1SpgoyetteFILES+=		README
241.1SpgoyetteFILES+=		data/anchor.in
251.1SpgoyetteFILES+=		data/backref.in
261.1SpgoyetteFILES+=		data/basic.in
271.1SpgoyetteFILES+=		data/bracket.in
281.1SpgoyetteFILES+=		data/c_comments.in
291.1SpgoyetteFILES+=		data/complex.in
301.1SpgoyetteFILES+=		data/error.in
311.1SpgoyetteFILES+=		data/meta.in
321.1SpgoyetteFILES+=		data/nospec.in
331.1SpgoyetteFILES+=		data/paren.in
341.1SpgoyetteFILES+=		data/regress.in
351.1SpgoyetteFILES+=		data/repet_bounded.in
361.1SpgoyetteFILES+=		data/repet_multi.in
371.1SpgoyetteFILES+=		data/repet_ordinary.in
381.1SpgoyetteFILES+=		data/startend.in
391.1SpgoyetteFILES+=		data/subexp.in
401.1SpgoyetteFILES+=		data/subtle.in
411.1SpgoyetteFILES+=		data/word_bound.in
421.4SdhollandFILES+=		data/zero.in
431.6Schristos#FILES+=		data/att/README
441.6SchristosFILES+=		data/att/basic.dat
451.6SchristosFILES+=		data/att/categorization.dat
461.6SchristosFILES+=		data/att/forcedassoc.dat
471.6SchristosFILES+=		data/att/leftassoc.dat
481.6SchristosFILES+=		data/att/nullsubexpr.dat
491.6SchristosFILES+=		data/att/repetition.dat
501.6SchristosFILES+=		data/att/rightassoc.dat
511.1Spgoyette
521.1Spgoyettet_regex.sh: t_regex.awk t_regex.in
531.5Schristos	${TOOL_AWK} -f ${.ALLSRC} > ${.TARGET}
541.1Spgoyette
551.6Schristost_regex_att.sh: t_regex.awk t_regex_att.in
561.7Schristos	${TOOL_AWK} -v skipassoc=${SKIPASSOC} -f ${.ALLSRC} > ${.TARGET}
571.6Schristos
581.6SchristosCLEANFILES+= t_regex.sh t_regex_att.sh
591.1Spgoyette
601.1Spgoyette.include <bsd.test.mk>
61