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