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