mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
Commit f9513c334f moved the shared libraries for ZFS and UFS into
separate packages (libzfs and libufs), which resulted in a rather
large number of packages being created, e.g. for ZFS:
FreeBSD-libzfs
FreeBSD-libzfs-dbg
FreeBSD-libzfs-dbg-lib32
FreeBSD-libzfs-dev
FreeBSD-libzfs-dev-lib32
FreeBSD-libzfs-lib32
FreeBSD-zfs
FreeBSD-zfs-dbg
FreeBSD-zfs-dbg-lib32
FreeBSD-zfs-dev
FreeBSD-zfs-dev-lib32
FreeBSD-zfs-lib32
FreeBSD-zfs-man
Use LIB_PACKAGE instead, which significantly reduces the number of
packages:
FreeBSD-zfs
FreeBSD-zfs-dbg
FreeBSD-zfs-dbg-lib32
FreeBSD-zfs-dev
FreeBSD-zfs-dev-lib32
FreeBSD-zfs-lib
FreeBSD-zfs-lib32
FreeBSD-zfs-man
MFC after: 3 days
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D52416
40 lines
928 B
Makefile
40 lines
928 B
Makefile
PACKAGE= ufs
|
|
LIB_PACKAGE=
|
|
|
|
LIB= ufs
|
|
SHLIBDIR?= /lib
|
|
SHLIB_MAJOR= 8
|
|
|
|
SRCS= block.c cgroup.c gsb_crc32.c inode.c sblock.c type.c ffs_subr.c
|
|
SRCS+= ffs_tables.c
|
|
INCS= libufs.h
|
|
|
|
MAN= bread.3 cgread.3 getinode.3 libufs.3 sbread.3 ufs_disk_close.3
|
|
MLINKS+= bread.3 bwrite.3
|
|
MLINKS+= bread.3 berase.3
|
|
MLINKS+= cgread.3 cgread1.3
|
|
MLINKS+= cgread.3 cgget.3
|
|
MLINKS+= cgread.3 cgwrite.3
|
|
MLINKS+= cgread.3 cgwrite1.3
|
|
MLINKS+= cgread.3 cgput.3
|
|
MLINKS+= getinode.3 putinode.3
|
|
MLINKS+= sbread.3 sbwrite.3
|
|
MLINKS+= sbread.3 sbget.3
|
|
MLINKS+= sbread.3 sbsearch.3
|
|
MLINKS+= sbread.3 sbfind.3
|
|
MLINKS+= sbread.3 sbput.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
|
|
|
|
.PATH: ${SRCTOP}/sys/libkern ${SRCTOP}/sys/ufs/ffs
|
|
|
|
WARNS?= 2
|
|
|
|
CFLAGS+= -D_LIBUFS
|
|
.if defined(LIBUFS_DEBUG)
|
|
CFLAGS+= -D_LIBUFS_DEBUGGING
|
|
.endif
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
.include <bsd.lib.mk>
|