xref: /freebsd/cddl/usr.sbin/zhack/Makefile (revision acc37ca1c15f7cd8b5e5b0389cf6e6b98ea61447)
12d9cf57eSMartin Matuska# $FreeBSD$
22d9cf57eSMartin Matuska
3*acc37ca1SEnji Cooper.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/zhack
42d9cf57eSMartin Matuska
52d9cf57eSMartin MatuskaPROG=	zhack
63bdf7758SWarner LoshMAN=
72d9cf57eSMartin Matuska
82d9cf57eSMartin MatuskaWARNS?=	0
92d9cf57eSMartin MatuskaCSTD=	c99
102d9cf57eSMartin Matuska
11*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
12*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
13*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
14*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair
15*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common
16*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
17*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common
18*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
19*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
20*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
21*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys
22*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs
23*acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
242d9cf57eSMartin Matuska
251be9a78bSBaptiste DaroussinLIBADD=	nvpair zfs zpool
262d9cf57eSMartin Matuska
274c5238d5SMartin MatuskaCFLAGS+=	-DDEBUG=1
284c5238d5SMartin Matuska#DEBUG_FLAGS+=	-g
294c5238d5SMartin Matuska
302d9cf57eSMartin Matuska.include <bsd.prog.mk>
31