Home | History | Annotate | Line # | Download | only in ctfconvert
      1 #	$NetBSD: Makefile,v 1.12 2025/09/18 03:36:00 mrg 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 
     12 DEBUG_FLAGS=	-g
     13 
     14 PROG=		ctfconvert
     15 
     16 SRCS=		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 
     37 COPTS.dwarf.c +=	${CC_WNO_STRINGOP_TRUNCATION}
     38 COPTS.st_parse.c +=	-Wno-format-nonliteral
     39 COPTS.util.c +=		-Wno-format-nonliteral
     40 COPTS.st_parse.c +=	${CC_WNO_MAYBE_UNINITIALIZED}
     41 COPTS.st_parse.c +=	${CC_WNO_CALLOC_TRANSPOSED_ARGS}
     42 
     43 .include <bsd.prog.mk>
     44