summaryrefslogtreecommitdiff
path: root/gnu/lib/libobjc
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-06-01 02:08:07 +0000
committerthorpej <thorpej@NetBSD.org>2003-06-01 02:08:07 +0000
commita20987422eaab59b9ab1ca82fbe8007c86446470 (patch)
treeaffd869da59bf4a597177b6ad517f89c98c1e459 /gnu/lib/libobjc
parentd6c02b1523d348eae753398685aca7ef357fc925 (diff)
If MKGCC == no, don't build these libraries (which are bundled with
the compiler).
Diffstat (limited to 'gnu/lib/libobjc')
-rw-r--r--gnu/lib/libobjc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
index a0005c4bb39..717abeef2bf 100644
--- a/gnu/lib/libobjc/Makefile
+++ b/gnu/lib/libobjc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2002/09/17 23:18:35 thorpej Exp $
+# $NetBSD: Makefile,v 1.22 2003/06/01 02:08:08 thorpej Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -7,6 +7,8 @@ NOLINT= # defined
LIB= objc
+.if ${MKGCC} != "no"
+
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
@@ -35,3 +37,6 @@ runtime-info.h:
.include <bsd.lib.mk>
${OBJS} ${POBJS} ${SOBJS}: runtime-info.h
+.else
+.include <bsd.prog.mk> # do nothing
+.endif