From: Emil Velikov Date: Sun, 20 Jul 2014 22:20:57 +0000 (+0100) Subject: automake: handle gallium SUBDIRs in gallium/Makefile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b75e0d7e25c51f944347cd59ccfaf26bf917258f;p=mesa.git automake: handle gallium SUBDIRs in gallium/Makefile Considering the way we've been consolidating things it makes sense to add the final two (aux and tests) in here. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- diff --git a/src/Makefile.am b/src/Makefile.am index 7da91a25443..3e736d02934 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -48,15 +48,7 @@ SUBDIRS += egl/main endif if HAVE_GALLIUM -SUBDIRS += \ - gallium/auxiliary \ - gallium - -if HAVE_GALLIUM_TESTS -SUBDIRS += \ - gallium/tests/trivial \ - gallium/tests/unit -endif +SUBDIRS += gallium endif EXTRA_DIST = getopt diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am index d35e117578c..1e1fd43d508 100644 --- a/src/gallium/Makefile.am +++ b/src/gallium/Makefile.am @@ -1,5 +1,11 @@ SUBDIRS = +## +## Gallium auxiliary module +## + +SUBDIRS += auxiliary + ## ## Gallium pipe drivers and their respective winsys' ## @@ -156,3 +162,13 @@ endif if HAVE_ST_XVMC SUBDIRS += state_trackers/xvmc targets/xvmc endif + +## +## Gallium tests +## + +if HAVE_GALLIUM_TESTS +SUBDIRS += \ + tests/trivial \ + tests/unit +endif