Makefile revision 1.4
1# $NetBSD: Makefile,v 1.4 2023/07/31 17:02:08 christos Exp $ 2 3NOCTF= 4#HOSTPROG_CXX= 1 5 6.include <bsd.own.mk> 7 8.include "../Makefile.inc" 9 10LIBISPRIVATE= yes 11LIB= ctf 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. \ 20 -I${DIST} \ 21 -I${DIST}/libctf \ 22 -I${DIST}/gnulib/import \ 23 -I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH} \ 24 -I${.CURDIR}/../libgnulib/arch/${GDB_MACHINE_ARCH}/import \ 25 -I${.CURDIR}/../libbfd/arch/${GDB_MACHINE_ARCH} \ 26 -I${GDBARCHDIR} \ 27 -I${DIST}/bfd \ 28 -I${DIST}/include \ 29 -Dsighandler_t=sig_t \ 30 -DHAVE_DECL_STPCPY \ 31 -DTARGET_SYSTEM_ROOT=\"\" \ 32 -DTARGET_SYSTEM_ROOT_RELOCATABLE=0 \ 33 -DBINDIR=\"${BINDIR}\" \ 34 ${GCPPFLAGS:M-D*} 35 36.include "../../Makefile.inc" 37.include <bsd.lib.mk> 38 39.PATH: ${DIST}/libctf ${GDBARCHDIR} 40