=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/gprof/Makefile,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- src/usr.bin/gprof/Makefile 2007/12/09 19:51:30 1.17 +++ src/usr.bin/gprof/Makefile 2010/02/03 20:49:01 1.18 @@ -1,13 +1,14 @@ -# $OpenBSD: Makefile,v 1.17 2007/12/09 19:51:30 espie Exp $ +# $OpenBSD: Makefile,v 1.18 2010/02/03 20:49:01 miod Exp $ .include TARGET_MACHINE_ARCH?= ${MACHINE_ARCH} +TARGET_MACHINE_CPU?= ${MACHINE_CPU} PROG= gprof -SRCS= gprof.c arcs.c dfn.c lookup.c ${TARGET_MACHINE_ARCH}.c hertz.c \ +SRCS= gprof.c arcs.c dfn.c lookup.c ${TARGET_MACHINE_CPU}.c hertz.c \ printgprof.c printlist.c -CFLAGS+= -I. -DMD_INCLUDE=\"${TARGET_MACHINE_ARCH}.h\" +CFLAGS+= -I. -DMD_INCLUDE=\"${TARGET_MACHINE_CPU}.h\" # XXX - need support for multiple archs. .if (${ELF_TOOLCHAIN:L} == "yes")