10Sstevel@tonic-gate# $FreeBSD: releng/10.2/lib/libufs/Makefile 225227 2011-08-28 09:26:48Z kib $
20Sstevel@tonic-gate
30Sstevel@tonic-gateLIB=	ufs
40Sstevel@tonic-gateSHLIBDIR?= /lib
50Sstevel@tonic-gateSHLIB_MAJOR=	6
60Sstevel@tonic-gate
70Sstevel@tonic-gateSRCS=	block.c cgroup.c inode.c sblock.c type.c ffs_subr.c ffs_tables.c
80Sstevel@tonic-gateINCS=	libufs.h
90Sstevel@tonic-gate
100Sstevel@tonic-gateMAN=	bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
110Sstevel@tonic-gateMLINKS+= bread.3 bwrite.3
120Sstevel@tonic-gateMLINKS+= bread.3 berase.3
130Sstevel@tonic-gateMLINKS+= cgread.3 cgread1.3
140Sstevel@tonic-gateMLINKS+= cgread.3 cgwrite1.3
150Sstevel@tonic-gateMLINKS+= sbread.3 sbwrite.3
160Sstevel@tonic-gateMLINKS+= ufs_disk_close.3 ufs_disk_fillout.3
170Sstevel@tonic-gateMLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3
180Sstevel@tonic-gateMLINKS+= ufs_disk_close.3 ufs_disk_write.3
190Sstevel@tonic-gate
200Sstevel@tonic-gate.PATH:  ${.CURDIR}/../../sys/ufs/ffs
210Sstevel@tonic-gate
220Sstevel@tonic-gateWARNS?=	2
230Sstevel@tonic-gate
240Sstevel@tonic-gateDEBUG_FLAGS = -g
250Sstevel@tonic-gateCFLAGS+= -D_LIBUFS
260Sstevel@tonic-gate.if defined(LIBUFS_DEBUG)
270Sstevel@tonic-gateCFLAGS+= -D_LIBUFS_DEBUGGING
280Sstevel@tonic-gate.endif
290Sstevel@tonic-gateCFLAGS+= -I${.CURDIR}
300Sstevel@tonic-gate
310Sstevel@tonic-gate.include <bsd.lib.mk>
320Sstevel@tonic-gate