st/mesa: treat 1D ARRAY upload like a depth or 2D array upload.
[mesa.git] / src / egl / Makefile
index 024453f8bb1cec9a872371e7508d02aa98522384..52daf2efa7e2705dd22cba96ec94acfcfc398aec 100644 (file)
@@ -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 \