1# $FreeBSD: head/cddl/lib/libzpool/Makefile 170431 2007-06-08 12:35:47Z pjd $
| 1# $FreeBSD: head/cddl/lib/libzpool/Makefile 177674 2008-03-27 23:21:25Z jb $
|
2
| 2
|
3.include "${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/Makefile.files"
| 3.include "${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/Makefile.files"
|
4 5# ZFS_COMMON_SRCS
| 4 5# ZFS_COMMON_SRCS
|
6.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs
| 6.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
|
7# ZFS_SHARED_SRCS
| 7# ZFS_SHARED_SRCS
|
8.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/zfs
| 8.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
|
9# KERNEL_SRCS
| 9# KERNEL_SRCS
|
10.PATH: ${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common
| 10.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
|
11# LIST_SRCS
| 11# LIST_SRCS
|
12.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/os
| 12.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/os
|
13# ATOMIC_SRCS 14.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
| 13# ATOMIC_SRCS 14.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
|
15.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
| 15.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
|
16ATOMIC_SRCS= atomic.S 17.else
| 16ATOMIC_SRCS= atomic.S 17.else
|
18.PATH: ${.CURDIR}/../../../sys/compat/opensolaris/kern
| 18.PATH: ${.CURDIR}/../../../sys/cddl/compat/opensolaris/kern
|
19ATOMIC_SRCS= opensolaris_atomic.c 20.endif 21 22LIB= zpool 23 24ZFS_COMMON_SRCS= ${ZFS_COMMON_OBJS:C/.o$/.c/} vdev_file.c 25ZFS_SHARED_SRCS= ${ZFS_SHARED_OBJS:C/.o$/.c/} 26KERNEL_SRCS= kernel.c taskq.c util.c 27LIST_SRCS= list.c 28 29SRCS= ${ZFS_COMMON_SRCS} ${ZFS_SHARED_SRCS} \ 30 ${KERNEL_SRCS} ${LIST_SRCS} ${ATOMIC_SRCS} 31
| 19ATOMIC_SRCS= opensolaris_atomic.c 20.endif 21 22LIB= zpool 23 24ZFS_COMMON_SRCS= ${ZFS_COMMON_OBJS:C/.o$/.c/} vdev_file.c 25ZFS_SHARED_SRCS= ${ZFS_SHARED_OBJS:C/.o$/.c/} 26KERNEL_SRCS= kernel.c taskq.c util.c 27LIST_SRCS= list.c 28 29SRCS= ${ZFS_COMMON_SRCS} ${ZFS_SHARED_SRCS} \ 30 ${KERNEL_SRCS} ${LIST_SRCS} ${ATOMIC_SRCS} 31
|
32CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris 33CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include 34CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem 35CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common 36CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys 37CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs 38CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/common/zfs 39CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common 40CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
| 32CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 33CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 34CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 35CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 36CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 37CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 38CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 39CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 40CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
|
41CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
| 41CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
|
42CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair
| 42CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
|
43 44DPADD= ${LIBPTHREAD} ${LIBZ} 45LDADD= -lpthread -lz 46 47# atomic.S doesn't like profiling. 48NO_PROFILE= 49 50.include <bsd.lib.mk>
| 43 44DPADD= ${LIBPTHREAD} ${LIBZ} 45LDADD= -lpthread -lz 46 47# atomic.S doesn't like profiling. 48NO_PROFILE= 49 50.include <bsd.lib.mk>
|