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 <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Emil Velikov 2014-07-20 23:20:57 +01:00
parent 7af25d17a5
commit b75e0d7e25
2 changed files with 17 additions and 9 deletions

View file

@ -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

View file

@ -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