Home | History | Annotate | Line # | Download | only in llvm-xray
Makefile revision 1.1
      1 #	$NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
      2 
      3 PROG_CXX=	llvm-xray
      4 NOMAN=		yes
      5 
      6 .include <bsd.init.mk>
      7 
      8 .PATH: ${LLVM_SRCDIR}/tools/llvm-xray
      9 
     10 SRCS=	func-id-helper.cpp \
     11 	llvm-xray.cpp \
     12 	xray-account.cpp \
     13 	xray-color-helper.cpp \
     14 	xray-converter.cpp \
     15 	xray-extract.cpp \
     16 	xray-fdr-dump.cpp \
     17 	xray-graph.cpp \
     18 	xray-graph-diff.cpp \
     19 	xray-registry.cpp \
     20 	xray-stacks.cpp
     21 
     22 LLVM_LIBS+= \
     23 	XRay \
     24 	DebugInfoSymbolize \
     25 	DebugInfoDWARF \
     26 	DebugInfoPDB \
     27 	DebugInfoPDBNative \
     28 	Object \
     29 	BitReader \
     30 	BitstreamReader \
     31 	MCParser \
     32 	IR \
     33 	MC \
     34 	BinaryFormat \
     35 	Support \
     36 	Demangle
     37 
     38 LDADD+=	-lz
     39 .if !defined(HOSTPROG)
     40 DPADD+=	${LIBZ}
     41 .endif
     42 
     43 .include "${.PARSEDIR}/../../link.mk"
     44 
     45 .include <bsd.prog.mk>
     46