summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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