1# $NetBSD: Makefile,v 1.12 2023/06/03 09:09:06 lukem Exp $ 2 3# $FreeBSD: head/cddl/usr.bin/ctfmerge/Makefile 314654 2017-03-04 11:30:04Z ngie $ 4 5.include <bsd.own.mk> 6 7.include "../../Makefile.inc" 8.include "../../Makefile.ctf" 9 10.PATH: ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt 11 12PROG= ctfmerge 13 14SRCS= alist.c \ 15 barrier.c \ 16 ctf.c \ 17 ctfmerge.c \ 18 fifo.c \ 19 hash.c \ 20 iidesc.c \ 21 input.c \ 22 list.c \ 23 memory.c \ 24 merge.c \ 25 output.c \ 26 strtab.c \ 27 symbol.c \ 28 tdata.c \ 29 traverse.c \ 30 util.c 31 32COPTS.util.c += -Wno-format-nonliteral 33 34.if (${HOSTPROG:U} == "") 35LDADD+=-lpthread 36DPADD+=${LIBPTHREAD} 37.endif 38 39COPTS.ctfmerge.c+= ${CC_WNO_STRINGOP_TRUNCATION} 40 41.include <bsd.prog.mk> 42