1# $FreeBSD: head/cddl/lib/libzpool/Makefile 168818 2007-04-17 15:52:37Z pjd $
| 1# $FreeBSD: head/cddl/lib/libzpool/Makefile 170431 2007-06-08 12:35:47Z pjd $
|
2 3.include "${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/Makefile.files" 4 5# ZFS_COMMON_SRCS 6.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs 7# ZFS_SHARED_SRCS 8.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/zfs 9# KERNEL_SRCS 10.PATH: ${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common 11# LIST_SRCS 12.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/os 13# ATOMIC_SRCS
| 2 3.include "${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/Makefile.files" 4 5# ZFS_COMMON_SRCS 6.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs 7# ZFS_SHARED_SRCS 8.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/zfs 9# KERNEL_SRCS 10.PATH: ${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common 11# LIST_SRCS 12.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/os 13# ATOMIC_SRCS
|
| 14.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
|
14.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
| 15.PATH: ${.CURDIR}/../../../sys/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
|
| 16ATOMIC_SRCS= atomic.S 17.else 18.PATH: ${.CURDIR}/../../../sys/compat/opensolaris/kern 19ATOMIC_SRCS= opensolaris_atomic.c 20.endif
|
15 16LIB= zpool 17 18ZFS_COMMON_SRCS= ${ZFS_COMMON_OBJS:C/.o$/.c/} vdev_file.c 19ZFS_SHARED_SRCS= ${ZFS_SHARED_OBJS:C/.o$/.c/} 20KERNEL_SRCS= kernel.c taskq.c util.c 21LIST_SRCS= list.c
| 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
|
22ATOMIC_SRCS= atomic.S
| |
23 24SRCS= ${ZFS_COMMON_SRCS} ${ZFS_SHARED_SRCS} \ 25 ${KERNEL_SRCS} ${LIST_SRCS} ${ATOMIC_SRCS} 26 27CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris 28CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include 29CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem 30CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common
--- 15 unchanged lines hidden --- | 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
--- 15 unchanged lines hidden --- |