1*a8089ea5SJohn Baldwin.include <src.opts.mk> 2*a8089ea5SJohn Baldwin.PATH: ${SRCTOP}/sys/libkern 3*a8089ea5SJohn Baldwin 4*a8089ea5SJohn BaldwinPACKAGE=nvme-tools 5*a8089ea5SJohn BaldwinPROG= nvmfd 6*a8089ea5SJohn BaldwinSRCS= nvmfd.c controller.c ctl.c devices.c discovery.c gsb_crc32.c io.c 7*a8089ea5SJohn BaldwinCFLAGS+= -I${SRCTOP}/lib/libnvmf 8*a8089ea5SJohn BaldwinMAN= nvmfd.8 9*a8089ea5SJohn BaldwinLIBADD+= nvmf pthread util nv 10*a8089ea5SJohn Baldwin 11*a8089ea5SJohn Baldwin.include <bsd.prog.mk> 12*a8089ea5SJohn Baldwin 13*a8089ea5SJohn BaldwinCFLAGS.ctl.c= -I${SRCTOP}/sys 14*a8089ea5SJohn BaldwinCWARNFLAGS.gsb_crc32.c= -Wno-cast-align 15