1# $NetBSD: Makefile,v 1.2 2024/08/12 20:32:12 christos Exp $ 2 3NOCTF= 4HOSTPROG_CXX= 1 5 6.include <bsd.own.mk> 7 8.include "../Makefile.inc" 9 10LIBISPRIVATE= yes 11LIB= backtrace 12GDBARCHDIR= ${.CURDIR}/arch/${GDB_MACHINE_ARCH} 13 14.include "${GDBARCHDIR}/defs.mk" 15 16SRCS= ${G_OBJECTS:.o=.c} ${G_LIBADD:.o=.c} 17GCPPFLAGS= ${G_INTERNAL_CFLAGS} 18CPPFLAGS+= -I${.CURDIR} \ 19 -I${GDBARCHDIR} \ 20 -I${DIST} \ 21 -I${DIST}/libbacktrace \ 22 -I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \ 23 -I${.CURDIR}/../libdecnumber/arch/${GDB_MACHINE_ARCH} \ 24 -I${DIST}/bfd \ 25 -I${DIST}/include \ 26 -Dsighandler_t=sig_t \ 27 -DTARGET_SYSTEM_ROOT=\"\" \ 28 -DTARGET_SYSTEM_ROOT_RELOCATABLE=0 \ 29 -DBINDIR=\"${BINDIR}\" \ 30 ${GCPPFLAGS:M-D*} 31 32CWARNFLAGS.clang+= -Wno-switch 33 34.include "../../Makefile.inc" 35.include <bsd.lib.mk> 36 37.PATH: ${DIST}/libbacktrace ${GDBARCHDIR} 38