summaryrefslogtreecommitdiff
path: root/external/cddl/osnet/usr.bin/ctfconvert/Makefile
blob: 187139ea595886f7e5660729b0ddcf3b090d2e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#	$NetBSD: Makefile,v 1.11 2023/06/03 09:09:06 lukem Exp $

# $FreeBSD: head/cddl/usr.bin/ctfconvert/Makefile 314654 2017-03-04 11:30:04Z ngie $

.include <bsd.own.mk>

.include	"../../Makefile.inc"
.include	"../../Makefile.ctf"

.PATH:          ${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt

DEBUG_FLAGS=	-g

PROG=		ctfconvert

SRCS=		alist.c \
		ctf.c \
		ctfconvert.c \
		dwarf.c \
		fixup_tdescs.c \
		hash.c \
		iidesc.c \
		input.c \
		list.c \
		memory.c \
		merge.c \
		output.c \
		st_parse.c \
		stabs.c \
		stack.c \
		strtab.c \
		symbol.c \
		tdata.c \
		traverse.c \
		util.c

COPTS.dwarf.c +=	${CC_WNO_STRINGOP_TRUNCATION}
COPTS.st_parse.c +=	-Wno-format-nonliteral
COPTS.util.c +=		-Wno-format-nonliteral
COPTS.st_parse.c +=	${CC_WNO_MAYBE_UNINITIALIZED}

.include <bsd.prog.mk>