summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-01-01 10:35:10 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-01-01 10:35:10 +0000
commit4df6b69edc59e1a36070027d85e5ba81f14c79ee (patch)
treeec6e142ae05bccbac0b509d9664232b7a17b28e8 /lib
parent74694c53383d4dce3e9d8759fcd2fd741b8cd20c (diff)
Hook libdrm into the build for selected architectures
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 0e1d39082..bae09c696 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -11,6 +11,13 @@ SUBDIR= freetype expat fontconfig libxtrans libXau libXdmcp \
SUBDIR+= libGL libGLU libGLw
+DRM_ARCHES= alpha amd64 i386 macppc sparc64
+
+.for a in $(DRM_ARCHES)
+SUBDIR_$a+= libdrm
+.endfor
+SUBDIR+= $(SUBDIR_$(MACHINE))
+
.include <bsd.subdir.mk>
build: _SUBDIRUSE