1# $FreeBSD$ 2 3.PATH: ${.CURDIR:H} 4 5SRCS= zfs_defs.c 6OBJS= zfs_defs.o 7WARNS?= 1 8 9CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 10CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 11CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 12CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 13CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 14CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 15CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 16CFLAGS+= -I${.CURDIR:H} 17CFLAGS+= -DNEED_SOLARIS_BOOLEAN 18CFLAGS+= -fno-builtin -nostdlib 19 20all: ${OBJS} 21CLEANFILES= ${OBJS} 22 23.include <bsd.lib.mk> 24