Files
netbsd/external/bsd/tre/lib/Makefile
2013-04-06 16:48:33 +02:00

27 lines
542 B
Makefile

# $NetBSD: Makefile,v 1.2 2011/11/06 10:55:27 tron Exp $
# for information:
# the configure script is run as:
# ./configure --prefix=/usr --without-alloca
.include <bsd.own.mk>
TREDIST= ${.CURDIR}/../dist
# external tre sources
.PATH: ${TREDIST}/lib
CPPFLAGS+= -I${.CURDIR}
LIB= tre
SRCS+= regcomp.c regerror.c regexec.c
SRCS+= tre-ast.c tre-compile.c tre-match-approx.c
SRCS+= tre-match-backtrack.c tre-match-parallel.c tre-mem.c
SRCS+= tre-parse.c tre-stack.c xmalloc.c
WARNS= 4
.include <bsd.lib.mk>
CFLAGS+= -Wno-stack-protector