1 # $NetBSD: Makefile,v 1.4 2018/07/13 07:56:29 maxv Exp $ 2 3 .PATH: ${.CURDIR}/arch 4 5 PROG= tprof 6 MAN= tprof.8 7 SRCS= tprof.c 8 9 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 10 SRCS+= tprof_x86.c 11 .else 12 SRCS+= tprof_noarch.c 13 .endif 14 15 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 16 17 LDADD+= -lpthread 18 DPADD+= ${LIBPTHREAD} 19 20 .include <bsd.own.mk> 21 .include <bsd.prog.mk> 22