]> git.saurik.com Git - apple/libc.git/blame - regex/Makefile.inc
Libc-583.tar.gz
[apple/libc.git] / regex / Makefile.inc
CommitLineData
5b2abdfb
A
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 $
3
4# regex sources
5.PATH: ${.CURDIR}/regex
b5d655f7 6CWD := ${.CURDIR}/regex
5b2abdfb 7
9385eb3d 8.include "Makefile.fbsd_begin"
59e0d9fe
A
9FBSDMISRCS= regcomp.c regerror.c regexec.c regfree.c
10CFLAGS-regcomp-fbsd.c+= -DPOSIX_MISTAKE
11FBSDHDRS= cclass.h cname.h engine.c regex2.h utils.h
9385eb3d 12.include "Makefile.fbsd_end"
5b2abdfb 13
224c7076
A
14LEGACYSRCS += regcomp.c
15
16# set the LIBC_ALIAS_* macros so we can decorate the symbol independent
17# of other macro settings
18CFLAGS-regcomp-fbsd.c += -DLIBC_ALIAS_REGCOMP
3d9156a7 19
5b2abdfb 20.if ${LIB} == "c"
9385eb3d
A
21.include "Makefile.fbsd_begin"
22FBSDMAN3= regex.3
23FBSDMAN7= re_format.7
24.include "Makefile.fbsd_end"
5b2abdfb 25
224c7076
A
26MLINKS+= regex.3 regcomp.3 \
27 regex.3 regexec.3 \
28 regex.3 regerror.3
29
30MLINKS+= regexec.3 regfree.3
5b2abdfb 31.endif