summaryrefslogtreecommitdiff
path: root/lib/libGL
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2010-08-25 17:44:28 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2010-08-25 17:44:28 +0000
commite39f747dc230a82dfb30cb5c666f61ce93bee3d7 (patch)
tree6038c5ec7f8cf09a836759ecc015183a8336a8ce /lib/libGL
parent87a3b39fdcbf70728c9be369d3863d20035d3c60 (diff)
enable pixman (with a workaround from miod@) for m68k, fixes hp300 and mvme68k
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