mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 15:32:45 +00:00
daaf575910
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
16 lines
254 B
Makefile
16 lines
254 B
Makefile
# $FreeBSD$
|
|
|
|
BZ2DIR= ${.CURDIR}/../../contrib/bzip2
|
|
.PATH: ${BZ2DIR}
|
|
|
|
LIB= bz2
|
|
SHLIB_MAJOR= 4
|
|
SRCS= bzlib.c blocksort.c compress.c crctable.c decompress.c \
|
|
huffman.c randtable.c
|
|
INCS= bzlib.h
|
|
CFLAGS+= -I${BZ2DIR}
|
|
|
|
WARNS?= 3
|
|
|
|
.include <bsd.lib.mk>
|