1 printf "\tbuilding frontends sub-components-->\n"
2 #===============================================================================
3 mkdir
-p $build_dir/src
/gallium
/frontends
/dri
4 #-------------------------------------------------------------------------------
5 libdricommon_c_pathnames
="\
6 $build_dir/src/gallium/frontends/dri/dri_util.c \
8 #-------------------------------------------------------------------------------
9 for src_pathname
in $libdricommon_c_pathnames
11 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
12 printf "CPP $src_pathname --> $build_dir/src/gallium/frontends/dri/$cpp_filename\n"
13 $cpp $src_pathname -o $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename \
14 -I$cc_internal_fixed_incdir \
15 -I$cc_internal_incdir \
19 -I$build_dir/src
/gallium
/frontends
/dri \
20 -I$src_dir/src
/gallium
/frontends
/dri \
21 -I$build_dir/src
/gallium
/auxiliary \
22 -I$src_dir/src
/gallium
/auxiliary \
23 -I$build_dir/src
/gallium
/include \
24 -I$src_dir/src
/gallium
/include \
25 -I$build_dir/src
/loader \
26 -I$src_dir/src
/loader \
27 -I$build_dir/src
/mapi \
29 -I$build_dir/src
/mesa \
31 -I$build_dir/src
/util \
35 -I$build_dir/include \
38 $syslib_cpp_flags_defs \
39 $linux_cpp_flags_defs \
40 $cc_builtins_cpp_flags_defs \
41 $cc_attributes_cpp_flags_defs \
42 $mesa_cpp_flags_defs \
44 $external_deps_cpp_flags &
46 #-------------------------------------------------------------------------------
48 #------------------------------------------------------------------------------
49 for src_pathname
in $libdricommon_c_pathnames
51 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
52 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
53 printf "CC_S $build_dir/src/gallium/frontends/dri/$cpp_filename --> $build_dir/src/gallium/frontends/dri/$asm_filename\n"
54 $cc_s $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename -o $build_dir/src
/gallium
/frontends
/dri
/$asm_filename &
56 #------------------------------------------------------------------------------
58 #------------------------------------------------------------------------------
60 for src_pathname
in $libdricommon_c_pathnames
62 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
63 o_filename
=$
(basename $src_pathname .c
).cpp.c.s.o
64 os
="$os $build_dir/src/gallium/frontends/dri/$o_filename"
65 printf "AS $build_dir/src/gallium/frontends/dri/$asm_filename --> $build_dir/src/gallium/frontends/dri/$o_filename\n"
66 $as $build_dir/src
/gallium
/frontends
/dri
/$asm_filename -o $build_dir/src
/gallium
/frontends
/dri
/$o_filename &
68 #-------------------------------------------------------------------------------
70 #-------------------------------------------------------------------------------
71 printf "AR RCS $build_dir/libdricommon.a $os\n"
72 $ar_rcs $build_dir/libdricommon.a
$os
73 #===============================================================================
75 $src_dir/src/gallium/frontends/dri/dri_context.c \
76 $src_dir/src/gallium/frontends/dri/dri_drawable.c \
77 $src_dir/src/gallium/frontends/dri/dri_helpers.c \
78 $src_dir/src/gallium/frontends/dri/dri_query_renderer.c \
79 $src_dir/src/gallium/frontends/dri/dri_screen.c \
81 $build_dir/src/gallium/frontends/dri/dri2.c \
83 #-------------------------------------------------------------------------------
84 for src_pathname
in $libdri_c_pathnames
86 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
87 printf "CPP $src_pathname --> $build_dir/src/gallium/frontends/dri/$cpp_filename\n"
88 $cpp $src_pathname -o $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename \
89 -I$cc_internal_fixed_incdir \
90 -I$cc_internal_incdir \
94 -I$build_dir/src
/gallium
/frontends
/dri \
95 -I$src_dir/src
/gallium
/frontends
/dri \
96 -I$build_dir/src
/gallium
/auxiliary \
97 -I$src_dir/src
/gallium
/auxiliary \
98 -I$build_dir/src
/gallium
/include \
99 -I$src_dir/src
/gallium
/include \
100 -I$build_dir/src
/mesa
/drivers
/dri
/common \
101 -I$src_dir/src
/mesa
/drivers
/dri
/common \
102 -I$build_dir/src
/loader \
103 -I$src_dir/src
/loader \
104 -I$build_dir/src
/mesa \
105 -I$src_dir/src
/mesa \
106 -I$build_dir/src
/mapi \
107 -I$src_dir/src
/mapi \
110 -I$build_dir/include \
113 $syslib_cpp_flags_defs \
114 $linux_cpp_flags_defs \
115 $cc_builtins_cpp_flags_defs \
116 $cc_attributes_cpp_flags_defs \
117 $mesa_cpp_flags_defs \
119 $external_deps_cpp_flags &
121 #-------------------------------------------------------------------------------
123 #------------------------------------------------------------------------------
124 for src_pathname
in $libdri_c_pathnames
126 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
127 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
128 printf "CC_S $build_dir/src/gallium/frontends/dri/$cpp_filename --> $build_dir/src/gallium/frontends/dri/$asm_filename\n"
129 $cc_s $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename -o $build_dir/src
/gallium
/frontends
/dri
/$asm_filename &
131 #------------------------------------------------------------------------------
133 #------------------------------------------------------------------------------
135 for src_pathname
in $libdri_c_pathnames
137 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
138 o_filename
=$
(basename $src_pathname .c
).cpp.c.s.o
139 os
="$os $build_dir/src/gallium/frontends/dri/$o_filename"
140 printf "AS $build_dir/src/gallium/frontends/dri/$asm_filename --> $build_dir/src/gallium/frontends/dri/$o_filename\n"
141 $as $build_dir/src
/gallium
/frontends
/dri
/$asm_filename -o $build_dir/src
/gallium
/frontends
/dri
/$o_filename &
143 #-------------------------------------------------------------------------------
145 #-------------------------------------------------------------------------------
146 printf "AR RCS $build_dir/libdri.a $os\n"
147 $ar_rcs $build_dir/libdri.a
$os
148 #===============================================================================
149 printf "\t<--frontends sub-components built\n"