summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-08 15:55:56 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-08 15:55:56 +0000
commit1061974874c2f694bd97561da8143ad4dde251da (patch)
treee073e9ee0e5cb0ea57d1694bba97be6cf0e9d49d /gnu/usr.bin/binutils/Makefile.bsd-wrapper
parentfb8e9f28d01f0244b284f53ebcdeed7c1b103945 (diff)
Tweaks for OpenBSD:
1) recognize OpenBSD at various places 2) m68k-cbm-* is *NOT* ELF always 3) clean-info must be called before distclean in the GAS realclean target 4) don't install unformatted ma-pages 5) add a Makefile.bsd-wrapper 6) just build gas through Makefile.bsd-wrapper yet There are still other things to do...
Diffstat (limited to 'gnu/usr.bin/binutils/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..fa8e1ea0665
--- /dev/null
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -0,0 +1,38 @@
+# $Id: Makefile.bsd-wrapper,v 1.1 1996/01/08 15:54:12 niklas 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
+
+# So far only gas is useful for us. This will change, be sure.
+all: config.status
+ ${MAKE} LDFLAGS=${LDSTATIC} all-gas
+
+.FORCE: .IGNORE
+
+config: .FORCE
+ sh ${.CURDIR}/configure --prefix=/usr
+
+config.status:
+ sh ${.CURDIR}/configure --prefix=/usr
+
+install: maninstall
+ ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \
+ bindir=${DESTDIR}/usr/bin INSTALL_MAN= install-gas install-ld
+
+clean cleandir:
+ -@if [ -e Makefile ]; then ${MAKE} realclean; fi
+
+depend:
+ # Nothing here so far...
+
+lint:
+ # Nothing here so far...
+
+tags:
+ # Nothing here so far...
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>
+.include <bsd.man.mk>