diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-06-18 02:01:56 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-06-18 02:01:56 +0000 |
commit | 62077e03b61180ab9234e9ea62cb698a2ffff106 (patch) | |
tree | 53a1a8eefff3fcbb8abca676dec87565c2633004 /gnu | |
parent | 41bdf0d8b036a313415ec24d72b501afc95d13ec (diff) |
build objdump for all archs.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/Makefile.bsd-wrapper | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper index a670b9b2f22..f6994a0aced 100644 --- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper +++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.29 1999/01/09 17:57:10 espie Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.30 1999/06/18 02:01:55 espie Exp $ SUBDIRS= libiberty opcodes bfd MAN= @@ -17,6 +17,8 @@ MAN+= binutils/ar.1 binutils/nm.1 \ binutils/objcopy.1 binutils/objdump.1 binutils/ranlib.1 \ binutils/size.1 binutils/strings.1 binutils/strip.1 \ gas/doc/as.1 gprof/gprof.1 ld/ld.1 +.else +MAN+= binutils/objdump.1 .endif # Used by the GNU Makefile @@ -27,6 +29,9 @@ all: config.status ${MAKE} CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS=${LDSTATIC} \ SUBDIRS="${SUBDIRS}" ALL_MODULES="${ALL_MODULES}" \ INSTALL_MODULES="${INSTALL_MODULES}" + cd ${.OBJDIR}/binutils && \ + ${MAKE} CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS=${LDSTATIC} \ + objdump .FORCE: .IGNORE @@ -59,6 +64,9 @@ install: maninstall bindir=${DESTDIR}/usr/bin INSTALL_MAN= SUBDIRS="${SUBDIRS}" \ ALL_MODULES="${ALL_MODULES}" INSTALL_MODULES="${INSTALL_MODULES}" \ install install-info + cd ${.OBJDIR}/binutils && \ + ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \ + -m ${BINMODE} objdump ${DESTDIR}/usr/bin clean cleandir: -@if [ -e Makefile ]; then ${MAKE} distclean; fi |