summaryrefslogtreecommitdiffstats
path: root/lib/libbz2/Makefile
blob: d63f168b48e22071e0a5e7fd5d4e4c0c70b2804b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $FreeBSD$

MAINTAINER=obrien@FreeBSD.org

BZ2DIR=	${.CURDIR}/../../contrib/bzip2
.PATH: ${BZ2DIR}

LIB=		bz2
SHLIB_MAJOR=	1
SHLIB_MINOR=	0
SRCS=		bzlib.c blocksort.c compress.c crctable.c decompress.c \
		huffman.c randtable.c
INCS=		bzlib.h
CFLAGS+=	-I${BZ2DIR}

beforeinstall:
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${BZ2DIR}/bzlib.h \
	    ${DESTDIR}/usr/include

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud