summaryrefslogtreecommitdiff
path: root/usr.bin/objformat
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2007-01-25 23:12:19 +0000
committerPeter Wemm <peter@FreeBSD.org>2007-01-25 23:12:19 +0000
commited0cfa6ecc750bf21e33beee00eabac110e15b67 (patch)
treee82157beb1ba190ba7b946575f88173c3d75ac73 /usr.bin/objformat
parentb7696cdf60510a9c074ae168e59ea4f0aac47711 (diff)
Notes
Diffstat (limited to 'usr.bin/objformat')
-rw-r--r--usr.bin/objformat/Makefile7
-rw-r--r--usr.bin/objformat/objformat.sh26
2 files changed, 33 insertions, 0 deletions
diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile
new file mode 100644
index 000000000000..9550ff026345
--- /dev/null
+++ b/usr.bin/objformat/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+SCRIPTS=objformat.sh
+NO_MAN=
+
+.include <bsd.prog.mk>
+
diff --git a/usr.bin/objformat/objformat.sh b/usr.bin/objformat/objformat.sh
new file mode 100644
index 000000000000..edd96073f603
--- /dev/null
+++ b/usr.bin/objformat/objformat.sh
@@ -0,0 +1,26 @@
+#! /bin/sh
+# $FreeBSD$
+# /usr/bin/objformat has been obsolete and deprecated for years.
+# Please remove any build/configure script references. New software
+# should only have to only support elf on FreeBSD.
+#
+# FreeBSD-2.0, 2.1.x and 2.2.x will use a.out
+# FreeBSD-3.x will have a real /usr/bin/objformat and are more likely
+# to be elf than a.out.
+# Assume that FreeBSD-4.x will be using elf even though it is
+# **theoretically** possible to build an a.out world.
+# FreeBSD-5.x and higher only support elf.
+#
+
+echo '========================================================' 1>&2
+echo '== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==' 1>&2
+echo '=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======' 1>&2
+echo '========================================================' 1>&2
+(echo '========================================================' >/dev/tty) 2>/dev/null
+(echo '== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==' >/dev/tty) 2>/dev/null
+(echo '=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======' >/dev/tty) 2>/dev/null
+(echo '========================================================' >/dev/tty) 2>/dev/null
+# highlight the nag or it will never be fixed!
+sleep 10
+echo elf
+exit 0