$NetBSD$

--- src/arch/netbsd/async/Makefile.orig	2017-11-02 06:34:33.811925841 +0000
+++ src/arch/netbsd/async/Makefile
@@ -0,0 +1,13 @@
+top_builddir=../../../..
+include $(top_builddir)/Makefile.conf
+
+CFILES=sigsegv.c signal.c debug.c
+ifeq ($(HAVE_LIBBFD),1)
+CFILES += backtrace-symbols.c
+endif
+
+ALL_CPPFLAGS += -I$(REALTOPDIR)/src/arch/linux/mcontext
+
+include $(REALTOPDIR)/src/Makefile.common
+
+all: lib
