Nasty Niklas, there's more out there than alphas..
authorpefo <pefo@openbsd.org>
Fri, 6 Sep 1996 19:10:22 +0000 (19:10 +0000)
committerpefo <pefo@openbsd.org>
Fri, 6 Sep 1996 19:10:22 +0000 (19:10 +0000)
gnu/usr.bin/binutils/Makefile.bsd-wrapper

index bcf701c..45dec02 100644 (file)
@@ -1,13 +1,16 @@
-#      $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