opnsense-src/gnu/lib/libregex/Makefile

29 lines
537 B
Makefile
Raw Normal View History

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