2002-07-01 01:45:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2002-07-01 01:45:03 +00:00
|
|
|
LIB= ufs
|
2003-08-18 15:25:39 +00:00
|
|
|
SHLIBDIR?= /lib
|
2011-08-28 09:26:48 +00:00
|
|
|
SHLIB_MAJOR= 6
|
2005-09-26 06:23:43 +00:00
|
|
|
|
2010-04-24 07:05:35 +00:00
|
|
|
SRCS= block.c cgroup.c inode.c sblock.c type.c ffs_subr.c ffs_tables.c
|
2002-07-01 01:45:03 +00:00
|
|
|
INCS= libufs.h
|
2005-09-26 06:23:43 +00:00
|
|
|
|
2005-08-31 07:44:45 +00:00
|
|
|
MAN= bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
|
2003-06-09 09:59:11 +00:00
|
|
|
MLINKS+= bread.3 bwrite.3
|
2007-12-16 18:02:37 +00:00
|
|
|
MLINKS+= bread.3 berase.3
|
2003-06-09 09:59:11 +00:00
|
|
|
MLINKS+= cgread.3 cgread1.3
|
2006-10-31 21:21:48 +00:00
|
|
|
MLINKS+= cgread.3 cgwrite1.3
|
2003-06-09 09:59:11 +00:00
|
|
|
MLINKS+= sbread.3 sbwrite.3
|
|
|
|
MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3
|
|
|
|
MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3
|
|
|
|
MLINKS+= ufs_disk_close.3 ufs_disk_write.3
|
2005-09-26 06:23:43 +00:00
|
|
|
|
2010-04-24 07:05:35 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/ufs/ffs
|
2005-09-26 06:23:43 +00:00
|
|
|
|
2010-04-24 07:05:35 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2005-09-26 06:23:43 +00:00
|
|
|
CFLAGS+= -D_LIBUFS
|
2002-07-01 18:20:48 +00:00
|
|
|
.if defined(LIBUFS_DEBUG)
|
2002-07-01 01:45:03 +00:00
|
|
|
CFLAGS+= -D_LIBUFS_DEBUGGING
|
|
|
|
.endif
|
2005-09-26 06:23:43 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
2002-07-01 01:45:03 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|