Makefile (222447d5e0b0966ae6350312718c2c783c3ce88b) | Makefile (25faff346c8453b8248f99c7cff71708262faa37) |
---|---|
1# $FreeBSD$ 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 --- 37 unchanged lines hidden (view full) --- 46CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem 47CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 48# XXX: pthread doesn't have mutex_owned() equivalent, so we need to look 49# into libthr private structures. That's sooo evil, but it's only for 50# ZFS debugging tools needs. 51CFLAGS+= -DWANTS_MUTEX_OWNED 52CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/thread 53CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/sys | 1# $FreeBSD$ 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 --- 37 unchanged lines hidden (view full) --- 46CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem 47CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 48# XXX: pthread doesn't have mutex_owned() equivalent, so we need to look 49# into libthr private structures. That's sooo evil, but it's only for 50# ZFS debugging tools needs. 51CFLAGS+= -DWANTS_MUTEX_OWNED 52CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/thread 53CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/sys |
54CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_ARCH}/include | 54CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_CPUARCH}/include |
55 56DPADD= ${LIBPTHREAD} ${LIBZ} 57LDADD= -lpthread -lz 58 59# atomic.S doesn't like profiling. 60NO_PROFILE= 61 62CSTD= c99 63 64.include <bsd.lib.mk> | 55 56DPADD= ${LIBPTHREAD} ${LIBZ} 57LDADD= -lpthread -lz 58 59# atomic.S doesn't like profiling. 60NO_PROFILE= 61 62CSTD= c99 63 64.include <bsd.lib.mk> |