1999-08-28 05:11:36 +00:00
|
|
|
# $FreeBSD$
|
1993-11-09 20:25:14 +00:00
|
|
|
|
2004-09-19 12:15:25 +00:00
|
|
|
SUBDIR= doc
|
1999-04-03 22:52:35 +00:00
|
|
|
|
|
|
|
LIB= gnuregex
|
2005-07-22 17:19:05 +00:00
|
|
|
SHLIB_MAJOR= 3
|
1993-07-30 20:16:53 +00:00
|
|
|
|
2004-09-19 12:15:25 +00:00
|
|
|
SRCS= gnuregex.c
|
2004-02-25 02:41:15 +00:00
|
|
|
INCSGROUPS= INCS WRINCS PXINCS
|
2004-09-19 12:15:25 +00:00
|
|
|
INCS= regex.h.patched
|
2004-02-25 02:41:15 +00:00
|
|
|
INCSNAME= regex.h
|
2004-02-18 22:09:34 +00:00
|
|
|
INCSDIR= ${INCLUDEDIR}/gnu
|
2004-09-19 12:15:25 +00:00
|
|
|
WRINCS= gnuregex.h
|
|
|
|
PXINCS= posix/regex.h
|
|
|
|
PXINCSDIR= ${INCSDIR}/posix
|
1993-07-30 20:16:53 +00:00
|
|
|
|
2005-05-10 11:37:37 +00:00
|
|
|
CFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
|
2004-02-25 02:41:15 +00:00
|
|
|
|
2004-09-19 12:15:25 +00:00
|
|
|
CLEANFILES= regex.h.patched gnuregex.c
|
2004-02-25 02:41:15 +00:00
|
|
|
regex.h.patched: regex.h
|
|
|
|
sed 's=<posix/regex\.h>=<gnu/posix/regex.h>=g' \
|
|
|
|
< ${.ALLSRC} > ${.TARGET}
|
1995-01-16 17:56:20 +00:00
|
|
|
|
2004-09-16 01:39:13 +00:00
|
|
|
gnuregex.c: regex.c
|
|
|
|
sed 's=<regex\.h>=<gnu/regex.h>=g' \
|
|
|
|
< ${.ALLSRC} > ${.TARGET}
|
|
|
|
|
1993-07-30 20:16:53 +00:00
|
|
|
.include <bsd.lib.mk>
|