1#         $NetBSD: Makefile,v 1.11 2023/06/03 09:09:06 lukem Exp $
2
3# $FreeBSD: head/cddl/usr.bin/ctfconvert/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
12DEBUG_FLAGS=        -g
13
14PROG=               ctfconvert
15
16SRCS=               alist.c \
17                    ctf.c \
18                    ctfconvert.c \
19                    dwarf.c \
20                    fixup_tdescs.c \
21                    hash.c \
22                    iidesc.c \
23                    input.c \
24                    list.c \
25                    memory.c \
26                    merge.c \
27                    output.c \
28                    st_parse.c \
29                    stabs.c \
30                    stack.c \
31                    strtab.c \
32                    symbol.c \
33                    tdata.c \
34                    traverse.c \
35                    util.c
36
37COPTS.dwarf.c +=    ${CC_WNO_STRINGOP_TRUNCATION}
38COPTS.st_parse.c += -Wno-format-nonliteral
39COPTS.util.c +=               -Wno-format-nonliteral
40COPTS.st_parse.c += ${CC_WNO_MAYBE_UNINITIALIZED}
41
42.include <bsd.prog.mk>
43