11.30Smrg# $NetBSD: Makefile,v 1.30 2023/09/05 00:12:14 mrg Exp $ 21.1Spooka# 31.1Spooka 41.2Sdogcow.include <bsd.own.mk> 51.2Sdogcow 61.25SmattUSE_FORT?= yes # data-driven bugs? 71.19Stls 81.25SmattWARNS?= 5 91.1Spooka 101.1SpookaLIB= puffs 111.21Spooka 121.18SpookaSRCS= puffs.c callcontext.c creds.c dispatcher.c flush.c \ 131.18Spooka framebuf.c null.c opdump.c paths.c pnode.c requests.c \ 141.18Spooka subr.c suspend.c 151.14SpookaMAN= puffs.3 puffs_cc.3 puffs_cred.3 puffs_flush.3 \ 161.23Spooka puffs_framebuf.3 puffs_node.3 puffs_ops.3 puffs_path.3 171.1SpookaINCS= puffs.h puffsdump.h 181.3SchristosINCSDIR= /usr/include 191.3SchristosLINTFLAGS+=-S -w 201.28SrilligLINTFLAGS+= -X 351 # extern declaration outside header 211.29SrilligLINTFLAGS+= -X 352 # nested extern declaration 221.1Spooka 231.30Smrg# XXXGCC12 - accesses struct puffs_cc* via stack pointers, returns the 241.30Smrg# address to caller 251.30SmrgCOPTS.callcontext.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 12:? -Wno-dangling-pointer :} 261.30Smrg 271.1Spooka.include <bsd.lib.mk> 28