blob: 86e140cfd7c3ba973cafd08e9cc0550cc9a38a12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $OpenBSD: Makefile,v 1.7 2003/02/26 18:13:22 millert Exp $
LIB= z
HDRS= zconf.h zlib.h
SRCS= adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \
infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c \
uncompr.c zutil.c
NOMAN= noman
CFLAGS+=-DHAVE_UNISTD_H -DHAVE_STRERROR -DHAVE_MEMCPY -DHAS_vsnprintf \
-DHAS_snprintf
includes:
@cd ${.CURDIR}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
$$i ${DESTDIR}/usr/include"; \
echo $$j; \
eval "$$j"; \
done
.include <bsd.lib.mk>
|