summaryrefslogtreecommitdiff
path: root/usr.bin/ranlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ranlib/Makefile')
-rw-r--r--usr.bin/ranlib/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/ranlib/Makefile b/usr.bin/ranlib/Makefile
index e040bec3bb7..2cc07f10dea 100644
--- a/usr.bin/ranlib/Makefile
+++ b/usr.bin/ranlib/Makefile
@@ -1,9 +1,17 @@
-# $OpenBSD: Makefile,v 1.3 1999/05/10 16:14:07 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2005/09/19 13:01:26 deraadt Exp $
+.include <bsd.own.mk>
+
+.if (${ELF_TOOLCHAIN:L} == "no")
PROG= ranlib
SRCS= archive.c build.c misc.c ranlib.c touch.c
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../ar -I${.CURDIR}/../nm
-MAN= ranlib.1 ranlib.5
+MAN= ranlib.1
VPATH= ${.CURDIR}/../ar
+.else
+NOPROG=
+.endif
+
+MAN+= ranlib.5
.include <bsd.prog.mk>