1 printf "\tbuilding state trackers sub-components-->\n"
4 $src_dir/src/gallium/state_trackers/dri/dri_context.c \
5 $src_dir/src/gallium/state_trackers/dri/dri_drawable.c \
6 $src_dir/src/gallium/state_trackers/dri/dri_helpers.c \
7 $src_dir/src/gallium/state_trackers/dri/dri_query_renderer.c \
8 $src_dir/src/gallium/state_trackers/dri/dri_screen.c \
10 $src_dir/src/gallium/state_trackers/dri/dri2.c \
13 for f
in $libdri_files
15 libdri_obj_dir
=$
(dirname $f)
16 libdri_obj_dir
=$build_dir/${libdri_obj_dir#*/src/}
17 mkdir
-p $libdri_obj_dir
19 libdri_obj
=$libdri_obj_dir/$
(basename $f .c
).o
20 libdri_a
="$libdri_a $libdri_obj"
22 $cco_slib -o $libdri_obj $f \
23 -I$src_dir/src
/gallium
/auxiliary \
24 -I$src_dir/src
/gallium
/include \
25 -I$src_dir/src
/mesa
/drivers
/dri
/common \
30 $cco_slib_common_trailer &
35 $ar $build_dir/libdri.a
$libdri_a
37 printf "\t<--state trackers sub-components built\n"