X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fegl%2FMakefile;h=52daf2efa7e2705dd22cba96ec94acfcfc398aec;hb=13f5a4d3169be75136ee5255474df803a8f4e070;hp=024453f8bb1cec9a872371e7508d02aa98522384;hpb=9136c9b29ed5c14bc89a4c4e3a391e0b097092e1;p=mesa.git diff --git a/src/egl/Makefile b/src/egl/Makefile index 024453f8bb1..52daf2efa7e 100644 --- a/src/egl/Makefile +++ b/src/egl/Makefile @@ -1,8 +1,13 @@ # src/egl/Makefile TOP = ../.. +include $(TOP)/configs/current -SUBDIRS = main drivers +SUBDIRS = drivers main + +ifneq ($(findstring wayland, $(EGL_PLATFORMS)),) +SUBDIRS += wayland +endif default: subdirs @@ -15,6 +20,12 @@ subdirs: fi \ done +install: + @for dir in $(SUBDIRS) ; do \ + if [ -d $$dir ] ; then \ + (cd $$dir && $(MAKE) install) || exit 1 ; \ + fi \ + done clean: -@for dir in $(SUBDIRS) ; do \