mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-28 12:08:24 +02:00
42 lines
621 B
Makefile
42 lines
621 B
Makefile
# src/egl/drivers/Makefile
|
|
|
|
TOP = ../../..
|
|
include $(TOP)/configs/current
|
|
|
|
|
|
SUBDIRS = demo dri xdri
|
|
|
|
|
|
default: dri_subdirs
|
|
|
|
|
|
# (UNUSED) depending on $DRIVER_DIRS...
|
|
conditional_subdirs:
|
|
@if [ "${DRIVER_DIRS}" = "dri" ] ; then \
|
|
$(MAKE) dri_subdirs ; \
|
|
fi
|
|
|
|
|
|
dri_subdirs:
|
|
@ (cd dri ; $(MAKE)) || exit 1
|
|
@ (cd xdri ; $(MAKE)) || exit 1
|
|
|
|
demo_subdir:
|
|
@ (cd demo ; $(MAKE)) || exit 1
|
|
|
|
|
|
|
|
subdirs:
|
|
@for dir in $(SUBDIRS) ; do \
|
|
if [ -d $$dir ] ; then \
|
|
(cd $$dir ; $(MAKE)) || exit 1 ; \
|
|
fi \
|
|
done
|
|
|
|
|
|
clean:
|
|
@for dir in $(SUBDIRS) ; do \
|
|
if [ -d $$dir ] ; then \
|
|
(cd $$dir ; $(MAKE) clean) ; \
|
|
fi \
|
|
done
|