drm: Merge the drm and drm2 implementations
[dragonfly.git] / sys / dev / Makefile
1 .include "../platform/${MACHINE_PLATFORM}/Makefile.inc"
2
3 SUBDIR= \
4         acpica \
5         agp \
6         crypto \
7         disk \
8         drm \
9         misc \
10         netif \
11         pccard \
12         powermng \
13         raid \
14         serial \
15         sound \
16         video \
17         virtual
18
19 .if !defined(WANT_USB4BSD)
20 SUBDIR+=usbmisc
21 .endif
22
23 .for dir in ${SUBDIR}
24 .if empty(DEV_SUPPORT:M${dir}) && empty(DEV_SUPPORT:M${dir}/*)
25 SUBDIR:= ${SUBDIR:N${dir}}
26 .endif
27 .endfor
28
29 .include <bsd.subdir.mk>