=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/gprof/Makefile,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- src/usr.bin/gprof/Makefile 2007/12/05 09:59:38 1.16 +++ src/usr.bin/gprof/Makefile 2007/12/09 19:51:30 1.17 @@ -1,13 +1,13 @@ -# $OpenBSD: Makefile,v 1.16 2007/12/05 09:59:38 deraadt Exp $ +# $OpenBSD: Makefile,v 1.17 2007/12/09 19:51:30 espie Exp $ .include TARGET_MACHINE_ARCH?= ${MACHINE_ARCH} PROG= gprof -SRCS= gprof.c arcs.c dfn.c lookup.c machine.c hertz.c \ +SRCS= gprof.c arcs.c dfn.c lookup.c ${TARGET_MACHINE_ARCH}.c hertz.c \ printgprof.c printlist.c -CFLAGS+= -I${.CURDIR} -I. +CFLAGS+= -I. -DMD_INCLUDE=\"${TARGET_MACHINE_ARCH}.h\" # XXX - need support for multiple archs. .if (${ELF_TOOLCHAIN:L} == "yes") @@ -15,12 +15,6 @@ .else SRCS+=aout.c .endif - -.if defined(PROG) -beforedepend: - ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.h machine.h - ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.c machine.c -.endif # defined (PROG) beforeinstall: ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \