1# $FreeBSD$
2
3LIB=	ufs
4SHLIBDIR?= /lib
5SHLIB_MAJOR=	6
6
7SRCS=	block.c cgroup.c inode.c sblock.c type.c ffs_subr.c ffs_tables.c
8INCS=	libufs.h
9
10MAN=	bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
11MLINKS+= bread.3 bwrite.3
12MLINKS+= bread.3 berase.3
13MLINKS+= cgread.3 cgread1.3
14MLINKS+= cgread.3 cgwrite1.3
15MLINKS+= sbread.3 sbwrite.3
16MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3
17MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3
18MLINKS+= ufs_disk_close.3 ufs_disk_write.3
19
20.PATH:  ${.CURDIR}/../../sys/ufs/ffs
21
22WARNS?=	2
23
24DEBUG_FLAGS = -g
25CFLAGS+= -D_LIBUFS
26.if defined(LIBUFS_DEBUG)
27CFLAGS+= -D_LIBUFS_DEBUGGING
28.endif
29CFLAGS+= -I${.CURDIR}
30
31.include <bsd.lib.mk>
32