-# $Id: Makefile.bsd-wrapper,v 1.2 1996/02/02 01:11:38 niklas Exp $
+# $Id: Makefile.bsd-wrapper,v 1.3 1996/09/06 19:10:22 pefo Exp $
MAN= binutils/ar.1 binutils/nlmconv.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 ld/ld.1 \
- gprof/gprof.1
+ binutils/strings.1 binutils/strip.1 gas/doc/as.1 ld/ld.1
# So far only gas is useful for us. This will change, be sure.
all: config.status
+.if (${MACHINE_ARCH} == "mips") || make(clean) || make(cleandir)
+ ${MAKE} LDFLAGS=${LDSTATIC}
+.else
${MAKE} LDFLAGS=${LDSTATIC} all-gas
+.endif
.FORCE: .IGNORE