2002-06-30 21:45:03 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
|
|
LIB= ufs
|
2003-08-18 11:25:39 -04:00
|
|
|
SHLIBDIR?= /lib
|
2005-09-26 02:23:43 -04:00
|
|
|
|
2003-01-18 20:31:26 -05:00
|
|
|
SRCS= block.c cgroup.c inode.c sblock.c type.c
|
2002-06-30 21:45:03 -04:00
|
|
|
INCS= libufs.h
|
2005-09-26 02:23:43 -04:00
|
|
|
|
2005-08-31 03:44:45 -04:00
|
|
|
MAN= bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
|
2003-06-09 05:59:11 -04:00
|
|
|
MLINKS+= bread.3 bwrite.3
|
2007-12-16 13:02:37 -05:00
|
|
|
MLINKS+= bread.3 berase.3
|
2003-06-09 05:59:11 -04:00
|
|
|
MLINKS+= cgread.3 cgread1.3
|
2006-10-31 16:21:48 -05:00
|
|
|
MLINKS+= cgread.3 cgwrite1.3
|
2003-06-09 05:59:11 -04:00
|
|
|
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
|
2005-09-26 02:23:43 -04:00
|
|
|
|
|
|
|
|
WARNS?= 2
|
|
|
|
|
|
|
|
|
|
CFLAGS+= -D_LIBUFS
|
2002-07-01 14:20:48 -04:00
|
|
|
.if defined(LIBUFS_DEBUG)
|
2002-06-30 21:45:03 -04:00
|
|
|
CFLAGS+= -D_LIBUFS_DEBUGGING
|
|
|
|
|
.endif
|
2005-09-26 02:23:43 -04:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
2002-06-30 21:45:03 -04:00
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|