X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2FMakefile.am;h=34671ca88d50a2e6e3ae80a372ed7f2c6e4faaa2;hb=30424fd25a2f6554c35272d8edeacab0299ad8cc;hp=d35e117578c0a06c53ca3e62592bd2e7b73686c1;hpb=7af25d17a5956106c5319ba8cd7d947fbab76f6b;p=mesa.git diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am index d35e117578c..34671ca88d5 100644 --- a/src/gallium/Makefile.am +++ b/src/gallium/Makefile.am @@ -1,12 +1,18 @@ SUBDIRS = +## +## Gallium auxiliary module +## + +SUBDIRS += auxiliary +SUBDIRS += auxiliary/pipe-loader + ## ## Gallium pipe drivers and their respective winsys' ## SUBDIRS += \ - drivers/galahad \ - drivers/identity \ + drivers/ddebug \ drivers/noop \ drivers/trace \ drivers/rbug @@ -54,6 +60,7 @@ endif ## radeonsi if HAVE_GALLIUM_RADEONSI SUBDIRS += drivers/radeonsi +SUBDIRS += winsys/amdgpu/drm endif ## the radeon winsys - linked in by r300, r600 and radeonsi @@ -62,20 +69,29 @@ SUBDIRS += winsys/radeon/drm endif ## swrast/softpipe -if NEED_GALLIUM_SOFTPIPE_DRIVER +if HAVE_GALLIUM_SOFTPIPE SUBDIRS += drivers/softpipe ## swrast/llvmpipe -if NEED_GALLIUM_LLVMPIPE_DRIVER +if HAVE_GALLIUM_LLVMPIPE SUBDIRS += drivers/llvmpipe endif endif +if HAVE_GALLIUM_SWR +SUBDIRS += drivers/swr +endif + ## vc4/rpi if HAVE_GALLIUM_VC4 SUBDIRS += drivers/vc4 winsys/vc4/drm endif +## virgl +if HAVE_GALLIUM_VIRGL +SUBDIRS += drivers/virgl winsys/virgl/drm winsys/virgl/vtest +endif + ## the sw winsys' SUBDIRS += winsys/sw/null @@ -87,28 +103,30 @@ if HAVE_DRISW SUBDIRS += winsys/sw/dri endif -if HAVE_DRI2 +if HAVE_DRISW_KMS SUBDIRS += winsys/sw/kms-dri endif -if HAVE_EGL_PLATFORM_FBDEV -SUBDIRS += winsys/sw/fbdev -endif +SUBDIRS += winsys/sw/wrapper -if HAVE_EGL_PLATFORM_WAYLAND -SUBDIRS += winsys/sw/wayland -endif +## +## Don't forget to bundle the remaining (non autotools) winsys' +## -if NEED_WINSYS_WRAPPER -SUBDIRS += winsys/sw/wrapper -endif +EXTRA_DIST = \ + docs \ + README.portability \ + SConscript \ + winsys/sw/gdi \ + winsys/sw/hgl ## ## Gallium state trackers and their users (targets) ## -if NEED_GALLIUM_LOADER +## XXX: Rename the conditional once we have a config switch for static/dynamic pipe-drivers +if HAVE_CLOVER SUBDIRS += targets/pipe-loader endif @@ -120,20 +138,7 @@ if HAVE_DRICOMMON SUBDIRS += state_trackers/dri targets/dri endif -## the egl target depends on vega -if HAVE_OPENVG -SUBDIRS += state_trackers/vega -endif - -if HAVE_GALLIUM_EGL -SUBDIRS += state_trackers/egl targets/egl-static -endif - -if HAVE_GALLIUM_GBM -SUBDIRS += state_trackers/gbm targets/gbm -endif - -if HAVE_X11_DRIVER +if HAVE_GALLIUM_XLIB_GLX SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib endif @@ -145,6 +150,10 @@ if HAVE_GALLIUM_OSMESA SUBDIRS += state_trackers/osmesa targets/osmesa endif +if HAVE_ST_VA +SUBDIRS += state_trackers/va targets/va +endif + if HAVE_ST_VDPAU SUBDIRS += state_trackers/vdpau targets/vdpau endif @@ -156,3 +165,34 @@ endif if HAVE_ST_XVMC SUBDIRS += state_trackers/xvmc targets/xvmc endif + +if HAVE_ST_NINE +SUBDIRS += state_trackers/nine targets/d3dadapter9 +endif + +## +## Don't forget to bundle the remaining (non autotools) state-trackers/targets +## + +EXTRA_DIST += \ + include \ + state_trackers/README \ + state_trackers/wgl targets/libgl-gdi \ + targets/graw-gdi targets/graw-null targets/graw-xlib \ + state_trackers/hgl targets/haiku-softpipe \ + tools + + +## +## Gallium tests +## + +if HAVE_GALLIUM_TESTS +SUBDIRS += \ + tests/trivial \ + tests/unit +endif + +EXTRA_DIST += \ + tests/graw \ + tests/python