diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-10 23:31:35 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-10 23:31:35 +0000 |
commit | bc5bffb3c8d9d4e3ec33e5ad984b55507b23e4ec (patch) | |
tree | 5107e16eed8b3dc93d891cfca14f0d67ad2070cd /usr.bin/gprof/Makefile | |
parent | f244debbfc91839bc2ae1d46fcf5b12ea777b5e1 (diff) |
Do not make symlinks to files for architectures which do not use
this gprof. This wasy sparc64.c does not need to be created.
Diffstat (limited to 'usr.bin/gprof/Makefile')
-rw-r--r-- | usr.bin/gprof/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/gprof/Makefile b/usr.bin/gprof/Makefile index a2ca04f78d8..b63d3d77243 100644 --- a/usr.bin/gprof/Makefile +++ b/usr.bin/gprof/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2001/09/10 23:03:20 jason Exp $ +# $OpenBSD: Makefile,v 1.12 2001/09/10 23:31:34 drahn Exp $ TARGET_MACHINE_ARCH?= ${MACHINE_ARCH} @@ -14,9 +14,11 @@ SRCS= gprof.c arcs.c dfn.c lookup.c machine.c hertz.c \ CFLAGS+= -I${.CURDIR} -I. .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 \ |