1 printf "\tbuilding targets sub-components-->\n"
3 mkdir
-p $build_dir/gallium
/targets
/dri
5 $cco_slib -o $build_dir/gallium
/targets
/dri
/target.o
$src_dir/src
/gallium
/targets
/dri
/target.c \
8 -I$build_dir/src
/gallium
/auxiliary \
10 -I$build_dir/src
/util \
11 -I$build_dir/src
/gallium
/drivers \
12 -I$build_dir/src
/gallium
/frontends
/dri \
13 -I$src_dir/src
/gallium
/frontends
/dri \
14 -I$src_dir/src
/gallium
/winsys \
15 -I$src_dir/src
/gallium
/drivers \
16 -I$src_dir/src
/gallium
/auxiliary \
17 -I$src_dir/src
/gallium
/include \
18 -I$src_dir/src
/mesa
/drivers
/dri
/common \
22 $cco_slib_common_trailer
24 #-------------------------------------------------------------------------------
26 # This is the opengl common ("mesa") dri gallium driver
28 mkdir
-p $build_dir/install_root
$dri_driver_search_dir
31 #$build_dir/libmesa_sse41.a \
32 if test "${gallium_dri_link_cmd-unset}" = unset ; then
33 gallium_dri_link_cmd
="\
34 g++ -o $build_dir/install_root$dri_driver_search_dir/radeonsi_dri.so -Wl,-soname=gallium_dri.so \
35 -shared -static-libgcc -static-libstdc++ \
36 -B/nyan/glibc/current/lib -L/nyan/glibc/current/lib \
37 -Wl,-rpath-link,/nyan/glibc/current/lib \
38 -Wl,--version-script=$src_dir/src/gallium/targets/dri/dri.sym \
39 -Wl,--no-undefined,--gc-sections \
40 $build_dir/gallium/targets/dri/target.o \
43 $build_dir/libmesa_gallium.a \
44 $build_dir/libglsl.a \
45 $build_dir/libglcpp.a \
47 $build_dir/libcompiler.a \
49 $build_dir/libdricommon.a \
51 $build_dir/libgallium.a \
52 $build_dir/libgalliumvl.a \
54 $build_dir/libpipe_loader_static.a \
55 $build_dir/libloader.a \
56 $build_dir/libxmlconfig.a \
58 $build_dir/libradeonsi.a \
59 $libradeonsi_gfx_libs \
60 $build_dir/libmesa_util.a \
61 $build_dir/libwinsys_amdgpu_drm.a \
62 $build_dir/libaddrlib.a \
63 $build_dir/libamd_llvm.a \
64 $build_dir/libamd_common.a \
67 $external_deps_static_ldflags \
68 -Wl,--exclude-libs,$external_deps_archives:$llvm_archives:libstdc++.a \
71 $build_dir/install_root$libdir/libglapi.so.0.0.0 \
72 $external_deps_ldflags \
76 eval $gallium_dri_link_cmd
78 printf "\t<--targets sub-components built\n"