Makefile revision 1.6
1# $NetBSD: Makefile,v 1.6 2018/07/15 16:25:31 jmcneill Exp $ 2 3.PATH: ${.CURDIR}/arch 4 5PROG= tprof 6MAN= tprof.8 7SRCS= tprof.c tprof_analyze.c 8 9.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 10SRCS+= tprof_x86.c 11.elif ${MACHINE_ARCH} == "aarch64" 12SRCS+= tprof_armv8.c 13.else 14SRCS+= tprof_noarch.c 15.endif 16 17CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 18 19LDADD+= -lpthread 20LDADD+= -lelf 21LDADD+= -lutil 22DPADD+= ${LIBPTHREAD} 23DPADD+= ${LIBELF} 24DPADD+= ${LIBUTIL} 25 26.include <bsd.own.mk> 27.include <bsd.prog.mk> 28