# $FreeBSD$ SUBDIR+= doc LIB= gnuregex SHLIB_MAJOR= 2 SRCS= gnuregex.c INCSGROUPS= INCS WRINCS PXINCS INCS= regex.h.patched CLEANFILES+= regex.h.patched gnuregex.c INCSNAME= regex.h INCSDIR= ${INCLUDEDIR}/gnu WRINCS= gnuregex.h PXINCS= posix/regex.h PXINCSDIR= ${INCLUDEDIR}/gnu/posix NOMAN= noman CFLAGS+=-D_REGEX_RE_COMP -DSTDC_HEADERS regex.h.patched: regex.h sed 's===g' \ < ${.ALLSRC} > ${.TARGET} gnuregex.c: regex.c sed 's===g' \ < ${.ALLSRC} > ${.TARGET} .include