Cross Reference: Makefile
xref: /src/usr.sbin/tprof/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/tprof/
Makefile revision 1.11
1#	$NetBSD: Makefile,v 1.11 2022/12/01 00:41:10 ryo Exp $
2
3.PATH:	${.CURDIR}/arch
4
5PROG=	tprof
6MAN=	tprof.8
7SRCS=	tprof.c tprof_analyze.c ksyms.c
8
9.if	${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
10SRCS+=	tprof_x86.c
11.elif	!empty(MACHINE_ARCH:M*armv7*)
12SRCS+=	tprof_armv7.c
13.elif	!empty(MACHINE_ARCH:Maarch64*)
14SRCS+=	tprof_armv8.c
15.else
16SRCS+=	tprof_noarch.c
17.endif
18
19CPPFLAGS+= -I${NETBSDSRCDIR}/sys/
20
21LDADD+= -lpthread
22LDADD+= -lelf
23LDADD+= -lutil
24DPADD+= ${LIBPTHREAD}
25DPADD+= ${LIBELF}
26DPADD+= ${LIBUTIL}
27
28.include <bsd.own.mk>
29.include <bsd.prog.mk>
30

Indexes created Sat Dec 20 21:09:36 GMT 2025