summaryrefslogtreecommitdiff
path: root/lib/libGL
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libGL')
-rw-r--r--lib/libGL/glsl/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libGL/glsl/Makefile.inc b/lib/libGL/glsl/Makefile.inc
index 7e2bb7d41..9af73c621 100644
--- a/lib/libGL/glsl/Makefile.inc
+++ b/lib/libGL/glsl/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.1 2010/05/22 20:14:15 matthieu Exp $
+# $OpenBSD: Makefile.inc,v 1.2 2010/08/25 17:44:24 todd Exp $
.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == sparc
@@ -10,7 +10,9 @@ OBJS = ${C_SOURCES:.c=.so}
CPPFLAGS = \
-I${.CURDIR} ${LIBRARY_INCLUDES}
+.if defined(LIB)
all: ${LIB}_pic.a
+.endif
${LIB}_pic.a: ${OBJS} $(DPADD)
@rm -f ${LIB}_pic.a