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)
26 lines
835 B
Makefile
26 lines
835 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../..//contrib/opensolaris/cmd/ztest
|
|
|
|
PROG= ztest
|
|
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/libzpool/common
|
|
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= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \
|
|
${LIBPTHREAD} ${LIBZ} ${LIBAVL}
|
|
LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl
|
|
|
|
CSTD= c99
|
|
|
|
.include <bsd.prog.mk>
|