summaryrefslogtreecommitdiff
path: root/gnu/lib/libregex/Makefile
blob: 98b877899e453d7ac902af6b5ea02f05b0377580 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $FreeBSD$


LIB=	gnuregex
CFLAGS+=-I${.CURDIR} -DHAVE_STRING_H=1 -DSTDC_HEADERS=1
SRCS=	regex.c
NOMAN=	noman

SUBDIR+= doc

beforeinstall:
	cmp -s ${.CURDIR}/regex.h ${DESTDIR}/usr/include/gnuregex.h || \
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/regex.h ${DESTDIR}/usr/include/gnuregex.h

.include <bsd.lib.mk>