1# $FreeBSD$ 2 3PACKAGE= ufs 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 sbsearch.3 24MLINKS+= sbread.3 sbfind.3 25MLINKS+= sbread.3 sbput.3 26MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3 27MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3 28MLINKS+= ufs_disk_close.3 ufs_disk_write.3 29 30.PATH: ${SRCTOP}/sys/libkern ${SRCTOP}/sys/ufs/ffs 31 32WARNS?= 2 33 34CFLAGS+= -D_LIBUFS 35.if defined(LIBUFS_DEBUG) 36CFLAGS+= -D_LIBUFS_DEBUGGING 37.endif 38CFLAGS+= -I${.CURDIR} 39 40.include <bsd.lib.mk> 41