1 printf "\tbuilding targets sub-components-->\n"
2 #===============================================================================
3 mkdir
-p $build_dir/src
/gallium
/targets
/dri
4 #-------------------------------------------------------------------------------
5 printf "CPP $src_dir/src/gallium/targets/dri/target.c --> $build_dir/src/gallium/targets/dri/target.cpp.c\n"
6 $cpp $src_dir/src
/gallium
/targets
/dri
/target.c
-o $build_dir/src
/gallium
/targets
/dri
/target.cpp.c \
9 -I$cc_internal_fixed_incdir \
10 -I$cc_internal_incdir \
14 -I$build_dir/src
/gallium
/frontends
/dri \
15 -I$src_dir/src
/gallium
/frontends
/dri \
16 -I$build_dir/src
/gallium
/winsys \
17 -I$src_dir/src
/gallium
/winsys \
18 -I$build_dir/src
/gallium
/drivers \
19 -I$src_dir/src
/gallium
/drivers \
20 -I$build_dir/src
/gallium
/auxiliary \
21 -I$src_dir/src
/gallium
/auxiliary \
22 -I$build_dir/src
/gallium
/include \
23 -I$src_dir/src
/gallium
/include \
24 -I$build_dir/src
/mesa
/drivers
/dri
/common \
25 -I$src_dir/src
/mesa
/drivers
/dri
/common \
26 -I$build_dir/src
/mesa \
28 -I$build_dir/src
/util \
32 -I$build_dir/include \
35 $syslib_cpp_flags_defs \
36 $linux_cpp_flags_defs \
37 $cc_builtins_cpp_flags_defs \
38 $cc_attributes_cpp_flags_defs \
39 $mesa_cpp_flags_defs \
41 $external_deps_cpp_flags
42 #------------------------------------------------------------------------------
43 printf "CC_S $build_dir/src/gallium/targets/dri/target.cpp.c --> $build_dir/src/gallium/targets/dri/target.cpp.c.s\n"
44 $cc_s $build_dir/src
/gallium
/targets
/dri
/target.cpp.c
-o $build_dir/src
/gallium
/targets
/dri
/target.cpp.c.s
45 #------------------------------------------------------------------------------
46 printf "AS $build_dir/src/gallium/targets/dri/target.cpp.c.s --> $build_dir/src/gallium/targets/dri/target.cpp.c.s.o\n"
47 $as $build_dir/src
/gallium
/targets
/dri
/target.cpp.c.s
-o $build_dir/src
/gallium
/targets
/dri
/target.cpp.c.s.o
48 #===============================================================================
49 # This is the opengl common ("mesa") dri gallium driver. One dri shared object
50 # can contain more than one dri driver. Inclusion selection is done in the
51 # dri target.c file (we have only the radeonsi one, selected with
52 # GALLIUM_RADEONSI. Nowadays, only one driver or a very small subset of drivers
53 # is in one dri shared object.
55 $build_dir/install_root
$dri_driver_search_dir \
56 $build_dir/install_root
$dri_driver_store_dir
57 #-------------------------------------------------------------------------------
58 printf "BINUTILS LD $build_dir/install_root$dri_driver_store_dir/radeonsi_dri.so\n"
59 $binutils_ld -o $build_dir/install_root
$dri_driver_store_dir/radeonsi_dri.so \
61 -soname=gallium_dri.so \
62 --version-script=$build_dir/src
/gallium
/targets
/dri
/dri.sym \
66 $syslib_ld_slib_start_files \
67 $cc_ld_slib_start_files \
68 $build_dir/src
/gallium
/targets
/dri
/target.cpp.c.s.o \
71 $build_dir/libmesa_gallium.a \
72 $build_dir/libglsl.a \
73 $build_dir/libglcpp.a \
76 $build_dir/libcompiler.a \
78 $build_dir/libdricommon.a \
80 $build_dir/libgallium.a \
81 $build_dir/libgalliumvl.a \
83 $build_dir/libpipe_loader_static.a \
84 $build_dir/libloader.a \
85 $build_dir/libxmlconfig.a \
87 $build_dir/libradeonsi.a \
88 $libradeonsi_gfx_libs \
89 $build_dir/libmesa_util.a \
90 $build_dir/libwinsys_amdgpu_drm.a \
91 $build_dir/libaddrlib.a \
92 $build_dir/libamd_common.a \
94 $libelf_static_ld_flags \
95 $zlib_static_ld_flags \
99 $cc_ld_eh_support_lib \
103 $build_dir/install_root
$libdir_store/libglapi.so
.0.0.0 \
104 $libdrm_amdgpu_ld_flags \
106 $syslibs_libm_ld_flags \
107 $syslibs_libdl_ld_flags \
108 $syslibs_libpthread_ld_flags \
109 $syslibs_libc_ld_flags \
111 $cc_ld_slib_end_files \
112 $syslib_ld_slib_end_files
113 #-------------------------------------------------------------------------------
114 ln -sTf $dri_driver_store_virtual_dir/radeonsi_dri.so
$build_dir/install_root
$dri_driver_search_dir/radeonsi_dri.so
115 #===============================================================================
116 printf "\t<--targets sub-components built\n"