]>
Commit | Line | Data |
---|---|---|
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 | |
6 | ||
9385eb3d | 7 | .include "Makefile.fbsd_begin" |
59e0d9fe A |
8 | FBSDMISRCS= regcomp.c regerror.c regexec.c regfree.c |
9 | CFLAGS-regcomp-fbsd.c+= -DPOSIX_MISTAKE | |
10 | FBSDHDRS= cclass.h cname.h engine.c regex2.h utils.h | |
9385eb3d | 11 | .include "Makefile.fbsd_end" |
5b2abdfb | 12 | |
224c7076 A |
13 | LEGACYSRCS += regcomp.c |
14 | ||
15 | # set the LIBC_ALIAS_* macros so we can decorate the symbol independent | |
16 | # of other macro settings | |
17 | CFLAGS-regcomp-fbsd.c += -DLIBC_ALIAS_REGCOMP | |
3d9156a7 | 18 | |
5b2abdfb | 19 | .if ${LIB} == "c" |
9385eb3d A |
20 | .include "Makefile.fbsd_begin" |
21 | FBSDMAN3= regex.3 | |
22 | FBSDMAN7= re_format.7 | |
23 | .include "Makefile.fbsd_end" | |
5b2abdfb | 24 | |
224c7076 A |
25 | MLINKS+= regex.3 regcomp.3 \ |
26 | regex.3 regexec.3 \ | |
27 | regex.3 regerror.3 | |
28 | ||
29 | MLINKS+= regexec.3 regfree.3 | |
5b2abdfb | 30 | .endif |