summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/Makefile.inc
blob: 12af2a83e75882925684eb7e1679e67fcfd68a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
#	$Id: Makefile.inc,v 1.3 1997/05/03 03:50:02 jb Exp $

# regex sources
.PATH: ${.CURDIR}/../libc/regex

CFLAGS+=-DPOSIX_MISTAKE

SRCS+=	regcomp.c regerror.c regexec.c regfree.c

.if ${LIB} == "c"
MAN3+=	regex.3
MAN7+=	re_format.7

MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
MLINKS+=regexec.3 regfree.3
.endif
OpenPOWER on IntegriCloud