X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2FSConscript;h=146591866c1806c1f589bf3396c2beeea1e2f579;hb=de0593e33346609d85b8ab9f9f40d0b91171c1dd;hp=7b614daeea1cf18f0b28e43628d901fb8893108a;hpb=d34ddad9a5260937e3ad5fc0b945f3195d7e032e;p=mesa.git diff --git a/src/SConscript b/src/SConscript index 7b614daeea1..146591866c1 100644 --- a/src/SConscript +++ b/src/SConscript @@ -16,15 +16,17 @@ if env['hostonly']: # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to # enable OpenGL ES support. +SConscript('mapi/glapi/gen/SConscript') SConscript('mapi/glapi/SConscript') SConscript('mesa/SConscript') SConscript('mapi/vgapi/SConscript') -if env['platform'] != 'embedded': - SConscript('egl/main/SConscript') - SConscript('glu/sgi/SConscript') - SConscript('glut/glx/SConscript') +if not env['embedded']: + if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'): + SConscript('glx/SConscript') + if env['platform'] not in ['darwin', 'haiku', 'sunos']: + SConscript('egl/main/SConscript') if env['gles']: SConscript('mapi/shared-glapi/SConscript')