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/dri_target.c --> $build_dir/src/gallium/targets/dri/dri_target.cpp.c\n"
6 $cpp $src_dir/src
/gallium
/targets
/dri
/dri_target.c
-o $build_dir/src
/gallium
/targets
/dri
/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/dri_target.cpp.c --> $build_dir/src/gallium/targets/dri/dri_target.cpp.c.s\n"
44 $cc_s $build_dir/src
/gallium
/targets
/dri
/dri_target.cpp.c
-o $build_dir/src
/gallium
/targets
/dri
/dri_target.cpp.c.s
45 #------------------------------------------------------------------------------
46 printf "AS $build_dir/src/gallium/targets/dri/dri_target.cpp.c.s --> $build_dir/src/gallium/targets/dri/dri_target.cpp.c.s.o\n"
47 $as $build_dir/src
/gallium
/targets
/dri
/dri_target.cpp.c.s
-o $build_dir/src
/gallium
/targets
/dri
/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 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.
54 # This is only for _xorg_ drivers supporting glamor, the other _xorg_ drivers
57 $build_dir/install_root
$libdir \
58 $build_dir/install_root
$libdir_store
59 #-------------------------------------------------------------------------------
60 printf "BINUTILS LD $build_dir/install_root$libdir_store/libgallium_dri.so\n"
61 $binutils_ld -o $build_dir/install_root
$libdir_store/libgallium_dri.so \
63 -soname libgallium_dri.so \
64 --version-script $build_dir/src
/gallium
/targets
/dri
/dri.sym \
68 $syslib_ld_slib_start_files \
69 $cc_ld_slib_start_files \
70 $build_dir/src
/gallium
/targets
/dri
/dri_target.cpp.c.s.o \
73 $build_dir/libdricommon.a \
78 $build_dir/libmesa_gallium.a \
79 $build_dir/libglsl.a \
80 $build_dir/libglcpp.a \
83 $build_dir/libcompiler.a \
85 $build_dir/libgallium.a \
86 $build_dir/libgalliumvl.a \
88 $build_dir/libpipe_loader_static.a \
89 $build_dir/libloader.a \
90 $build_dir/libxmlconfig.a \
92 $build_dir/libradeonsi.a \
93 $libradeonsi_gfx_libs \
94 $build_dir/libmesa_util.a \
95 $build_dir/libgallium_winsys_amdgpu_drm.a \
96 $build_dir/libgallium_winsys_sw_dri.a \
97 $build_dir/libgallium_winsys_sw_kms_dri.a \
98 $build_dir/libgallium_winsys_sw_null.a \
99 $build_dir/libgallium_winsys_sw_wrapper.a \
100 $build_dir/libaddrlib.a \
101 $build_dir/libamd_common.a \
103 $libelf_static_ld_flags \
104 $zlib_static_ld_flags \
108 $cc_ld_eh_support_lib \
112 $build_dir/install_root
$libdir_store/libglapi.so
.0.0.0 \
114 $libxshmfence_ld_flags \
115 $libdrm_amdgpu_ld_flags \
117 $syslibs_libm_ld_flags \
118 $syslibs_libdl_ld_flags \
119 $syslibs_libpthread_ld_flags \
120 $syslibs_libc_ld_flags \
122 $cc_ld_slib_end_files \
123 $syslib_ld_slib_end_files
124 #-------------------------------------------------------------------------------
125 ln -sf $libdir_store_virtual/libgallium_dri.so
$build_dir/install_root
$libdir/libgallium_dri.so
126 #===============================================================================
127 printf "\t<--targets sub-components built\n"