Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 2023/08/03 13:36:08 rin Exp $
2
3# for information:
4# the configure script is run as:
5#	./configure --prefix=/usr --without-alloca
6
7.include <bsd.own.mk>
8TREDIST=	${.CURDIR}/../dist
9
10# external tre sources
11.PATH: ${TREDIST}/lib
12
13CPPFLAGS+=	-I${.CURDIR}
14
15LIB=	tre
16
17SRCS+=	regcomp.c regerror.c regexec.c
18SRCS+=	tre-ast.c tre-compile.c tre-match-approx.c
19SRCS+=	tre-match-backtrack.c tre-match-parallel.c tre-mem.c
20SRCS+=	tre-parse.c tre-stack.c xmalloc.c
21
22COPTS.xmalloc.c+=	${CC_WNO_USE_AFTER_FREE}
23
24.include <bsd.lib.mk>
25