summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-07-14 01:58:33 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-07-22 16:35:27 +0100
commite3420396124c75ec9679c4d1cf3a42c185207e5a (patch)
tree65a590f48a2184a34ea4c413197596918b4df129 /src/Makefile.am
parent0399d7ab3f69624b7f0b7b39e948432959fe270e (diff)
downloadexternal_mesa3d-e3420396124c75ec9679c4d1cf3a42c185207e5a.zip
external_mesa3d-e3420396124c75ec9679c4d1cf3a42c185207e5a.tar.gz
external_mesa3d-e3420396124c75ec9679c4d1cf3a42c185207e5a.tar.bz2
automake: rework the EGL build
Simplify things by merging the two makefiles. This way we can combine the duplicated HAVE_PLATFORM_ checks, and build the library without having a separate static library. v2: use $() when referencing variables, use correct define (Matt) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 90bf947..0d49bcd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,16 +35,12 @@ if HAVE_EGL_PLATFORM_WAYLAND
SUBDIRS += egl/wayland/wayland-egl egl/wayland/wayland-drm
endif
-if HAVE_EGL_DRIVER_DRI2
-SUBDIRS += egl/drivers/dri2
-endif
-
if HAVE_GBM
SUBDIRS += gbm
endif
if HAVE_EGL
-SUBDIRS += egl/main
+SUBDIRS += egl
endif
if HAVE_GALLIUM
@@ -52,8 +48,6 @@ SUBDIRS += gallium
endif
EXTRA_DIST = \
- egl/drivers/haiku \
- egl/docs \
getopt hgl SConscript
AM_CFLAGS = $(VISIBILITY_CFLAGS)