xref: /minix3/tests/lib/libc/regex/Makefile (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
111be35a1SLionel Sambuc# $NetBSD: Makefile,v 1.9 2012/08/24 20:24:40 jmmv Exp $
211be35a1SLionel Sambuc
311be35a1SLionel SambucMKMAN=	no
411be35a1SLionel Sambuc
511be35a1SLionel Sambuc.include <bsd.own.mk>
611be35a1SLionel Sambuc
711be35a1SLionel SambucTESTSDIR?=	${TESTSBASE}/lib/libc/regex
811be35a1SLionel SambucIMPLEMENTATION?=	-DREGEX_SPENCER -DSKIP_LEFTASSOC
911be35a1SLionel Sambuc
1011be35a1SLionel SambucBINDIR=		${TESTSDIR}
1111be35a1SLionel SambucPROGS?=		h_regex
1211be35a1SLionel SambucSRCS.h_regex=	main.c split.c debug.c
1311be35a1SLionel SambucCPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libc/regex ${IMPLEMENTATION}
1411be35a1SLionel Sambuc
1511be35a1SLionel SambucTESTS_SH?=	t_regex
1611be35a1SLionel SambucTESTS_C=	t_regex_att
17*84d9c625SLionel Sambuc.if !defined(__MINIX)
1811be35a1SLionel SambucTESTS_C+=	t_exhaust
19*84d9c625SLionel Sambuc.else
20*84d9c625SLionel Sambuc# this test fails in a way which breaks the test run
21*84d9c625SLionel Sambuc# Thre following is normaly done in bsd.test.mk
22*84d9c625SLionel SambucPROGS+=	t_exhaust
23*84d9c625SLionel SambucBINDIR.t_exhaust=  ${TESTSDIR}
24*84d9c625SLionel SambucLDADD.t_exhaust+= -latf-c
25*84d9c625SLionel SambucDPADD.t_exhaust+= ${LIBATF_C}
26*84d9c625SLionel SambucMAN.t_exhaust=	# empty
27*84d9c625SLionel Sambuc.endif # !defined(__MINIX)
2811be35a1SLionel Sambuc
2911be35a1SLionel SambucFILESDIR=	${TESTSDIR}/data
3011be35a1SLionel SambucFILES+=		README
3111be35a1SLionel SambucFILES+=		data/anchor.in
3211be35a1SLionel SambucFILES+=		data/backref.in
3311be35a1SLionel SambucFILES+=		data/basic.in
3411be35a1SLionel SambucFILES+=		data/bracket.in
3511be35a1SLionel SambucFILES+=		data/c_comments.in
3611be35a1SLionel SambucFILES+=		data/complex.in
3711be35a1SLionel SambucFILES+=		data/error.in
3811be35a1SLionel SambucFILES+=		data/meta.in
3911be35a1SLionel SambucFILES+=		data/nospec.in
4011be35a1SLionel SambucFILES+=		data/paren.in
4111be35a1SLionel SambucFILES+=		data/regress.in
4211be35a1SLionel SambucFILES+=		data/repet_bounded.in
4311be35a1SLionel SambucFILES+=		data/repet_multi.in
4411be35a1SLionel SambucFILES+=		data/repet_ordinary.in
4511be35a1SLionel SambucFILES+=		data/startend.in
4611be35a1SLionel SambucFILES+=		data/subexp.in
4711be35a1SLionel SambucFILES+=		data/subtle.in
4811be35a1SLionel SambucFILES+=		data/word_bound.in
4911be35a1SLionel SambucFILES+=		data/zero.in
5011be35a1SLionel Sambuc#FILES+=		data/att/README
5111be35a1SLionel SambucFILES+=		data/att/basic.dat
5211be35a1SLionel SambucFILES+=		data/att/categorization.dat
5311be35a1SLionel SambucFILES+=		data/att/forcedassoc.dat
5411be35a1SLionel SambucFILES+=		data/att/leftassoc.dat
5511be35a1SLionel SambucFILES+=		data/att/nullsubexpr.dat
5611be35a1SLionel SambucFILES+=		data/att/repetition.dat
5711be35a1SLionel SambucFILES+=		data/att/rightassoc.dat
5811be35a1SLionel Sambuc
5911be35a1SLionel Sambuc.include <bsd.test.mk>
60