freebsd-skq/gnu/lib/libregex/Makefile

29 lines
537 B
Makefile
Raw Normal View History

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