Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.6
      1  1.6       mrg #	$NetBSD: Makefile,v 1.6 2023/08/14 05:29:28 mrg Exp $
      2  1.1  christos 
      3  1.1  christos # for information:
      4  1.1  christos # the configure script is run as:
      5  1.1  christos #	./configure --prefix=/usr --without-alloca
      6  1.1  christos 
      7  1.1  christos .include <bsd.own.mk>
      8  1.1  christos TREDIST=	${.CURDIR}/../dist
      9  1.1  christos 
     10  1.1  christos # external tre sources
     11  1.1  christos .PATH: ${TREDIST}/lib
     12  1.1  christos 
     13  1.1  christos CPPFLAGS+=	-I${.CURDIR}
     14  1.1  christos 
     15  1.1  christos LIB=	tre
     16  1.1  christos 
     17  1.1  christos SRCS+=	regcomp.c regerror.c regexec.c
     18  1.1  christos SRCS+=	tre-ast.c tre-compile.c tre-match-approx.c
     19  1.1  christos SRCS+=	tre-match-backtrack.c tre-match-parallel.c tre-mem.c
     20  1.1  christos SRCS+=	tre-parse.c tre-stack.c xmalloc.c
     21  1.1  christos 
     22  1.6       mrg # XXXGCC12 this is very broken.  it double-free()'s as well as the UB
     23  1.6       mrg # after realloc().
     24  1.6       mrg COPTS.xmalloc.c+=	-Wno-error
     25  1.6       mrg 
     26  1.1  christos .include <bsd.lib.mk>
     27