X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2FSConscript;h=146591866c1806c1f589bf3396c2beeea1e2f579;hb=4ef1c8fb4c0ae8d0fa2a0e4311ef63255d8485f0;hp=87e2444034cfc637000b26d03ea75eea5ebec8a9;hpb=636d01bd61cac83e13c3c64874e7e34e828ca93a;p=mesa.git diff --git a/src/SConscript b/src/SConscript index 87e2444034c..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('glx/SConscript') - SConscript('egl/main/SConscript') - SConscript('glu/sgi/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')