mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +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.
28 lines
573 B
Makefile
28 lines
573 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= ufs
|
|
SHLIBDIR?= /lib
|
|
|
|
SRCS= block.c cgroup.c inode.c sblock.c type.c
|
|
INCS= libufs.h
|
|
|
|
MAN= bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
|
|
MLINKS+= bread.3 bwrite.3
|
|
MLINKS+= bread.3 berase.3
|
|
MLINKS+= cgread.3 cgread1.3
|
|
MLINKS+= cgread.3 cgwrite1.3
|
|
MLINKS+= sbread.3 sbwrite.3
|
|
MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3
|
|
MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3
|
|
MLINKS+= ufs_disk_close.3 ufs_disk_write.3
|
|
|
|
WARNS?= 3
|
|
|
|
CFLAGS+= -D_LIBUFS
|
|
.if defined(LIBUFS_DEBUG)
|
|
CFLAGS+= -D_LIBUFS_DEBUGGING
|
|
.endif
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
.include <bsd.lib.mk>
|