1 # from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/libc/regex/Makefile.inc,v 1.6 2001/03/27 17:26:51 ru Exp $
5 .PATH: ${.CURDIR}/regex
6 CWD := ${.CURDIR}/regex
8 .include "Makefile.fbsd_begin"
9 FBSDMISRCS= regcomp.c regerror.c regexec.c regfree.c
10 CFLAGS-regcomp-fbsd.c+= -DPOSIX_MISTAKE
11 FBSDHDRS= cclass.h cname.h engine.c regex2.h utils.h
12 .include "Makefile.fbsd_end"
14 LEGACYSRCS += regcomp.c
16 # set the LIBC_ALIAS_* macros so we can decorate the symbol independent
17 # of other macro settings
18 CFLAGS-regcomp-fbsd.c += -DLIBC_ALIAS_REGCOMP
21 .include "Makefile.fbsd_begin"
24 .include "Makefile.fbsd_end"
26 MLINKS+= regex.3 regcomp.3 \
30 MLINKS+= regexec.3 regfree.3