freebsd-dev/gnu/lib/libregex/Makefile

26 lines
486 B
Makefile
Raw Normal View History

1999-08-28 05:11:36 +00:00
# $FreeBSD$
1993-11-09 20:25:14 +00:00
SUBDIR+= doc
LIB= gnuregex
SHLIB_MAJOR= 2
1993-07-30 20:16:53 +00:00
SRCS= regex.c
2004-02-25 02:41:15 +00:00
INCSGROUPS= INCS WRINCS PXINCS
INCS= regex.h.patched
CLEANFILES+= regex.h.patched
INCSNAME= regex.h
INCSDIR= ${INCLUDEDIR}/gnu
WRINCS= gnuregex.h
2004-02-25 02:41:15 +00:00
PXINCS= posix/regex.h
PXINCSDIR= ${INCLUDEDIR}/gnu/posix
1993-07-30 20:16:53 +00:00
NOMAN= noman
2004-02-25 02:41:15 +00:00
CFLAGS+=-D_REGEX_RE_COMP -DSTDC_HEADERS -I${DESTDIR}/usr/include/gnu
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
1993-07-30 20:16:53 +00:00
.include <bsd.lib.mk>