freebsd-dev/gnu/lib/libregex/Makefile
Rong-En Fan 27cfc42fc5 - Bump share library version which were missed in last bump
Reported by: 	     jhb
Discussed with:	     deischen, des, doubg, harti
Approved by:	     re (kensmith)
2007-06-18 18:47:54 +00:00

29 lines
537 B
Makefile

# $FreeBSD$
SUBDIR= doc
LIB= gnuregex
SHLIB_MAJOR= 4
SRCS= gnuregex.c
INCSGROUPS= INCS WRINCS PXINCS
INCS= regex.h.patched
INCSNAME= regex.h
INCSDIR= ${INCLUDEDIR}/gnu
WRINCS= gnuregex.h
PXINCS= posix/regex.h
PXINCSDIR= ${INCSDIR}/posix
CFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
CLEANFILES= regex.h.patched gnuregex.c
regex.h.patched: regex.h
sed 's=<posix/regex\.h>=<gnu/posix/regex.h>=g' \
< ${.ALLSRC} > ${.TARGET}
gnuregex.c: regex.c
sed 's=<regex\.h>=<gnu/regex.h>=g' \
< ${.ALLSRC} > ${.TARGET}
.include <bsd.lib.mk>