2002-07-01 01:45:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2019-09-05 14:13:08 +00:00
|
|
|
PACKAGE= runtime
|
2002-07-01 01:45:03 +00:00
|
|
|
LIB= ufs
|
2003-08-18 15:25:39 +00:00
|
|
|
SHLIBDIR?= /lib
|
2018-11-13 21:40:56 +00:00
|
|
|
SHLIB_MAJOR= 7
|
2005-09-26 06:23:43 +00:00
|
|
|
|
2019-06-17 19:49:08 +00:00
|
|
|
SRCS= block.c cgroup.c gsb_crc32.c inode.c sblock.c type.c ffs_subr.c
|
|
|
|
SRCS+= ffs_tables.c
|
2002-07-01 01:45:03 +00:00
|
|
|
INCS= libufs.h
|
2005-09-26 06:23:43 +00:00
|
|
|
|
2018-11-13 21:40:56 +00:00
|
|
|
MAN= bread.3 cgread.3 getinode.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
|
2018-01-17 17:58:24 +00:00
|
|
|
MLINKS+= cgread.3 cgget.3
|
|
|
|
MLINKS+= cgread.3 cgwrite.3
|
2006-10-31 21:21:48 +00:00
|
|
|
MLINKS+= cgread.3 cgwrite1.3
|
2018-01-17 17:58:24 +00:00
|
|
|
MLINKS+= cgread.3 cgput.3
|
2018-11-13 21:40:56 +00:00
|
|
|
MLINKS+= getinode.3 putinode.3
|
2003-06-09 09:59:11 +00:00
|
|
|
MLINKS+= sbread.3 sbwrite.3
|
2018-01-26 00:58:32 +00:00
|
|
|
MLINKS+= sbread.3 sbget.3
|
|
|
|
MLINKS+= sbread.3 sbput.3
|
2003-06-09 09:59:11 +00:00
|
|
|
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
|
|
|
|
2017-09-22 12:45:15 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/libkern ${SRCTOP}/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>
|