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