]>
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 | |
3d9156a7 A |
13 | UNIX03SRCS += regcomp.c |
14 | ||
5b2abdfb | 15 | .if ${LIB} == "c" |
9385eb3d A |
16 | .include "Makefile.fbsd_begin" |
17 | FBSDMAN3= regex.3 | |
18 | FBSDMAN7= re_format.7 | |
19 | .include "Makefile.fbsd_end" | |
5b2abdfb A |
20 | |
21 | MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3 | |
22 | MLINKS+=regexec.3 regfree.3 | |
23 | .endif |