opnsense-src/gnu/lib/libregex/Makefile

31 lines
652 B
Makefile
Raw Normal View History

1999-08-28 01:11:36 -04:00
# $FreeBSD$
1993-11-09 15:25:14 -05:00
LIB= gnuregex
SHLIB_MAJOR= 5
1993-07-30 16:16:53 -04:00
REGEXDIR= ${SRCTOP}/contrib/libgnuregex
2013-06-05 17:31:06 -04:00
.PATH: ${REGEXDIR}
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
2013-06-05 17:31:06 -04:00
PXINCS= ${REGEXDIR}/regex.h
2004-09-19 08:15:25 -04:00
PXINCSDIR= ${INCSDIR}/posix
1993-07-30 16:16:53 -04:00
2013-06-05 17:31:06 -04:00
CFLAGS+= -D__attribute_warn_unused_result__=""
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${REGEXDIR}
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>