freebsd-nq/lib/libc/regex/Makefile.inc
Marcel Moolenaar 8876613dc5 Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}
if not already defined. This allows building libc from outside of
lib/libc using a reach-over makefile.

A typical use-case is to build a standard ILP32 version and a COMPAT32
version in a single iteration by building the COMPAT32 version using a
reach-over makefile.

Obtained from:	Juniper Networks, Inc.
2014-03-04 02:19:39 +00:00

18 lines
345 B
Makefile

# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# $FreeBSD$
# regex sources
.PATH: ${LIBC_SRCTOP}/regex
CFLAGS+=-DPOSIX_MISTAKE
SRCS+= regcomp.c regerror.c regexec.c regfree.c
SYM_MAPS+=${LIBC_SRCTOP}/regex/Symbol.map
MAN+= regex.3
MAN+= re_format.7
MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
MLINKS+=regexec.3 regfree.3