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 24CFLAGS+= -D_LIBUFS 25.if defined(LIBUFS_DEBUG) 26CFLAGS+= -D_LIBUFS_DEBUGGING 27.endif 28CFLAGS+= -I${.CURDIR} 29 30.include <bsd.lib.mk> 31