1 1.30 mrg # $NetBSD: Makefile,v 1.30 2023/09/05 00:12:14 mrg Exp $ 2 1.1 pooka # 3 1.1 pooka 4 1.2 dogcow .include <bsd.own.mk> 5 1.2 dogcow 6 1.25 matt USE_FORT?= yes # data-driven bugs? 7 1.19 tls 8 1.25 matt WARNS?= 5 9 1.1 pooka 10 1.1 pooka LIB= puffs 11 1.21 pooka 12 1.18 pooka SRCS= puffs.c callcontext.c creds.c dispatcher.c flush.c \ 13 1.18 pooka framebuf.c null.c opdump.c paths.c pnode.c requests.c \ 14 1.18 pooka subr.c suspend.c 15 1.14 pooka MAN= puffs.3 puffs_cc.3 puffs_cred.3 puffs_flush.3 \ 16 1.23 pooka puffs_framebuf.3 puffs_node.3 puffs_ops.3 puffs_path.3 17 1.1 pooka INCS= puffs.h puffsdump.h 18 1.3 christos INCSDIR= /usr/include 19 1.3 christos LINTFLAGS+=-S -w 20 1.28 rillig LINTFLAGS+= -X 351 # extern declaration outside header 21 1.29 rillig LINTFLAGS+= -X 352 # nested extern declaration 22 1.1 pooka 23 1.30 mrg # XXXGCC12 - accesses struct puffs_cc* via stack pointers, returns the 24 1.30 mrg # address to caller 25 1.30 mrg COPTS.callcontext.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 12:? -Wno-dangling-pointer :} 26 1.30 mrg 27 1.1 pooka .include <bsd.lib.mk> 28