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