mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Ed Schouten](/assets/img/avatar_default.png)
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>
|