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$build_dir/src
/gallium
/auxiliary \
24 -I$src_dir/src
/gallium
/auxiliary \
25 -I$build_dir/src
/gallium
/include \
26 -I$src_dir/src
/gallium
/include \
27 -I$build_dir/src
/mesa
/drivers
/dri
/common \
28 -I$src_dir/src
/mesa
/drivers
/dri
/common \
29 -I$build_dir/src
/mesa \
31 -I$build_dir/src
/mapi \
35 -I$build_dir/include \
37 $cco_slib_common_trailer &
42 $ar_rcs $build_dir/libdri.a
$libdri_a
44 printf "\t<--state trackers sub-components built\n"