Home | History | Annotate | Line # | Download | only in regex
Makefile revision 1.11.8.1
      1  1.11.8.1  perseant # $NetBSD: Makefile,v 1.11.8.1 2025/08/02 05:58:05 perseant Exp $
      2       1.1  pgoyette 
      3      1.10     darcy NOMAN=
      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.9      jmmv IMPLEMENTATION?=	-DREGEX_SPENCER -DSKIP_LEFTASSOC
      9       1.1  pgoyette 
     10  1.11.8.1  perseant LIBC= 		${NETBSDSRCDIR}/lib/libc
     11       1.1  pgoyette BINDIR=		${TESTSDIR}
     12       1.8  christos PROGS?=		h_regex
     13       1.3  christos SRCS.h_regex=	main.c split.c debug.c
     14  1.11.8.1  perseant CPPFLAGS+=	-I${LIBC}/regex ${IMPLEMENTATION} -DNLS
     15       1.1  pgoyette 
     16       1.8  christos TESTS_SH?=	t_regex
     17       1.9      jmmv TESTS_C=	t_regex_att
     18  1.11.8.1  perseant TESTS_C+=	t_regex_binary
     19       1.9      jmmv TESTS_C+=	t_exhaust
     20       1.1  pgoyette 
     21  1.11.8.1  perseant .PATH: ${LIBC}/regex
     22  1.11.8.1  perseant REGEXSRCS = regcomp.c regerror.c regexec.c regsub.c
     23  1.11.8.1  perseant SRCS.t_regex_binary=	t_regex_binary.c ${REGEXSRCS}
     24  1.11.8.1  perseant .for s in ${REGEXSRCS}
     25  1.11.8.1  perseant CPPFLAGS.$s+= -UNLS -I${LIBC}/include
     26  1.11.8.1  perseant .endfor
     27  1.11.8.1  perseant 
     28       1.1  pgoyette FILESDIR=	${TESTSDIR}/data
     29       1.1  pgoyette FILES+=		README
     30       1.1  pgoyette FILES+=		data/anchor.in
     31       1.1  pgoyette FILES+=		data/backref.in
     32       1.1  pgoyette FILES+=		data/basic.in
     33       1.1  pgoyette FILES+=		data/bracket.in
     34       1.1  pgoyette FILES+=		data/c_comments.in
     35       1.1  pgoyette FILES+=		data/complex.in
     36       1.1  pgoyette FILES+=		data/error.in
     37       1.1  pgoyette FILES+=		data/meta.in
     38       1.1  pgoyette FILES+=		data/nospec.in
     39       1.1  pgoyette FILES+=		data/paren.in
     40       1.1  pgoyette FILES+=		data/regress.in
     41       1.1  pgoyette FILES+=		data/repet_bounded.in
     42       1.1  pgoyette FILES+=		data/repet_multi.in
     43       1.1  pgoyette FILES+=		data/repet_ordinary.in
     44       1.1  pgoyette FILES+=		data/startend.in
     45       1.1  pgoyette FILES+=		data/subexp.in
     46       1.1  pgoyette FILES+=		data/subtle.in
     47       1.1  pgoyette FILES+=		data/word_bound.in
     48       1.4  dholland FILES+=		data/zero.in
     49       1.6  christos #FILES+=		data/att/README
     50       1.6  christos FILES+=		data/att/basic.dat
     51       1.6  christos FILES+=		data/att/categorization.dat
     52       1.6  christos FILES+=		data/att/forcedassoc.dat
     53       1.6  christos FILES+=		data/att/leftassoc.dat
     54       1.6  christos FILES+=		data/att/nullsubexpr.dat
     55       1.6  christos FILES+=		data/att/repetition.dat
     56       1.6  christos FILES+=		data/att/rightassoc.dat
     57       1.1  pgoyette 
     58       1.1  pgoyette .include <bsd.test.mk>
     59