Deleted Added
full compact
Makefile (256281) Makefile (275236)
1# $FreeBSD: stable/10/cddl/lib/libzpool/Makefile 254949 2013-08-27 04:01:31Z will $
1# $FreeBSD: stable/10/cddl/lib/libzpool/Makefile 275236 2014-11-29 08:33:54Z rodrigc $
2
3.include "${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/Makefile.files"
4
5# ZFS_COMMON_SRCS
6.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
7# ZFS_SHARED_SRCS
8.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
9# KERNEL_SRCS

--- 41 unchanged lines hidden (view full) ---

51# XXX: pthread doesn't have mutex_owned() equivalent, so we need to look
52# into libthr private structures. That's sooo evil, but it's only for
53# ZFS debugging tools needs.
54CFLAGS+= -DWANTS_MUTEX_OWNED
55CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/thread
56CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/sys
57CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_CPUARCH}/include
58
2
3.include "${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/Makefile.files"
4
5# ZFS_COMMON_SRCS
6.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
7# ZFS_SHARED_SRCS
8.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
9# KERNEL_SRCS

--- 41 unchanged lines hidden (view full) ---

51# XXX: pthread doesn't have mutex_owned() equivalent, so we need to look
52# into libthr private structures. That's sooo evil, but it's only for
53# ZFS debugging tools needs.
54CFLAGS+= -DWANTS_MUTEX_OWNED
55CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/thread
56CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/sys
57CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_CPUARCH}/include
58
59DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ}
60LDADD= -lmd -lpthread -lz
59DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ} ${LIBNVPAIR} \
60 ${LIBAVL} ${LIBUMEM}
61LDADD= -lmd -lpthread -lz -lnvpair -lavl -lumem
61
62# atomic.S doesn't like profiling.
63NO_PROFILE=
64
65CSTD= c99
66
67# Since there are many asserts in this library, it makes no sense to compile
68# it without debugging.
69
70CFLAGS+= -g -DDEBUG=1
71
72.include <bsd.lib.mk>
62
63# atomic.S doesn't like profiling.
64NO_PROFILE=
65
66CSTD= c99
67
68# Since there are many asserts in this library, it makes no sense to compile
69# it without debugging.
70
71CFLAGS+= -g -DDEBUG=1
72
73.include <bsd.lib.mk>