1 printf "\tbuilding frontends sub-components-->\n"
4 $build_dir/src/gallium/frontends/dri/dri_util.c \
7 for f
in $libdricommon_files
9 libdricommon_obj_dir
=$
(dirname $f)
10 libdricommon_obj_dir
=$build_dir/${libdricommon_obj_dir#*/src/}
11 mkdir
-p $libdricommon_obj_dir
13 libdricommon_obj
=$libdricommon_obj_dir/$
(basename $f .c
).o
14 libdricommon_a
="$libdricommon_a $libdricommon_obj"
16 $cco_slib -o $libdricommon_obj $f \
17 -I$build_dir/src
/util \
18 -I$build_dir/src
/gallium
/frontends
/dri \
19 -I$src_dir/src
/gallium
/frontends
/dri \
20 -I$src_dir/src
/gallium
/auxiliary \
21 -I$src_dir/src
/gallium
/include \
27 $cco_slib_common_trailer &
31 $ar $build_dir/libdricommon.a
$libdricommon_a
33 #===============================================================================
36 $src_dir/src/gallium/frontends/dri/dri_context.c \
37 $src_dir/src/gallium/frontends/dri/dri_drawable.c \
38 $src_dir/src/gallium/frontends/dri/dri_helpers.c \
39 $src_dir/src/gallium/frontends/dri/dri_query_renderer.c \
40 $src_dir/src/gallium/frontends/dri/dri_screen.c \
42 $build_dir/src/gallium/frontends/dri/dri2.c \
45 for f
in $libdri_files
47 libdri_obj_dir
=$
(dirname $f)
48 libdri_obj_dir
=$build_dir/${libdri_obj_dir#*/src/}
49 mkdir
-p $libdri_obj_dir
51 libdri_obj
=$libdri_obj_dir/$
(basename $f .c
).o
52 libdri_a
="$libdri_a $libdri_obj"
54 $cco_slib -o $libdri_obj $f \
55 -I$build_dir/src
/gallium
/frontends
/dri \
57 -I$src_dir/src
/gallium
/frontends
/dri \
58 -I$src_dir/src
/gallium
/auxiliary \
59 -I$src_dir/src
/gallium
/include \
60 -I$src_dir/src
/mesa
/drivers
/dri
/common \
65 $cco_slib_common_trailer &
70 $ar $build_dir/libdri.a
$libdri_a
72 printf "\t<--frontends sub-components built\n"