Home | History | Annotate | Line # | Download | only in libnvpair
      1 #	$NetBSD: Makefile,v 1.11 2019/09/22 18:45:19 brad Exp $
      2 
      3 .include <bsd.init.mk>
      4 
      5 USE_SHLIBDIR=	yes
      6 
      7 .PATH:  ${.CURDIR}/../../dist/lib/libnvpair
      8 .PATH:  ${.CURDIR}/../../dist/common/nvpair
      9 
     10 CPPFLAGS+=	-I${OSNETDIR}/sys \
     11 		-I${OPENSOLARIS_USR_DISTDIR}/head \
     12 		-I${OPENSOLARIS_SYS_DISTDIR}/common
     13 
     14 CPPFLAGS+=	-Wall \
     15 		-Wno-unknown-pragmas \
     16 		-Wno-shadow \
     17 		-Wno-format-security \
     18 		-Wno-format-nonliteral \
     19 		-Wno-cast-qual
     20 
     21 LIB=	nvpair
     22 
     23 SRCS=	libnvpair.c nvpair_alloc_system.c nvpair_alloc_fixed.c nvpair.c fnvpair.c nvpair_json.c
     24 
     25 .include "../../Makefile.zfs"
     26 .include <bsd.lib.mk>
     27