4ef20db290
- Break the dependency on ../Makefile.inc for .PATH, and include ../Makefile.inc implicitly. This is required to ... - Set WARNS?=6 in top-level Makefile.inc - Remove now redundant WARNS settings, add WARNS?=0 where appropriate - Remove redundant SHLIB_MAJOR overrides - Use NO_MAN, not MK_MAN=no - Remove redundant inclusion of bsd.own.mk - Order Makefiles more according to style.Makefile(9) - Reduce diff of cddl Makefiles against each other No objection: pjd Approved by: ed (co-mentor)
27 lines
1001 B
Makefile
27 lines
1001 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/opensolaris/cmd/zinject
|
|
|
|
PROG= zinject
|
|
SRCS= zinject.c translate.c
|
|
NO_MAN=
|
|
|
|
WARNS?= 0
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
|
|
CFLAGS+= -I${.CURDIR}/../../compat/opensolaris/include
|
|
CFLAGS+= -I${.CURDIR}/../../compat/opensolaris/lib/libumem
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/lib/libzfs/common
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/lib/libzpool/common
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/lib/libnvpair
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head
|
|
CFLAGS+= -I${.CURDIR}/../../lib/libumem
|
|
|
|
DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBUUTIL} \
|
|
${LIBZFS} ${LIBZPOOL}
|
|
LDADD= -lavl -lgeom -lm -lnvpair -lumem -luutil -lzfs -lzpool
|
|
|
|
.include <bsd.prog.mk>
|