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
/mapi \
27 -I$build_dir/src
/mesa \
29 -I$build_dir/src
/util \
33 -I$build_dir/include \
36 $syslib_cpp_flags_defs \
37 $linux_cpp_flags_defs \
38 $cc_builtins_cpp_flags_defs \
39 $cc_attributes_cpp_flags_defs \
40 $mesa_cpp_flags_defs \
42 $external_deps_cpp_flags &
44 #-------------------------------------------------------------------------------
46 #------------------------------------------------------------------------------
47 for src_pathname
in $libdricommon_c_pathnames
49 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
50 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
51 printf "CC_S $build_dir/src/gallium/frontends/dri/$cpp_filename --> $build_dir/src/gallium/frontends/dri/$asm_filename\n"
52 $cc_s $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename -o $build_dir/src
/gallium
/frontends
/dri
/$asm_filename &
54 #------------------------------------------------------------------------------
56 #------------------------------------------------------------------------------
58 for src_pathname
in $libdricommon_c_pathnames
60 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
61 o_filename
=$
(basename $src_pathname .c
).cpp.c.s.o
62 os
="$os $build_dir/src/gallium/frontends/dri/$o_filename"
63 printf "AS $build_dir/src/gallium/frontends/dri/$asm_filename --> $build_dir/src/gallium/frontends/dri/$o_filename\n"
64 $as $build_dir/src
/gallium
/frontends
/dri
/$asm_filename -o $build_dir/src
/gallium
/frontends
/dri
/$o_filename &
66 #-------------------------------------------------------------------------------
68 #-------------------------------------------------------------------------------
69 printf "AR RCS $build_dir/libdricommon.a $os\n"
70 $ar_rcs $build_dir/libdricommon.a
$os
71 #===============================================================================
73 $src_dir/src/gallium/frontends/dri/dri_context.c \
74 $src_dir/src/gallium/frontends/dri/dri_drawable.c \
75 $src_dir/src/gallium/frontends/dri/dri_helpers.c \
76 $src_dir/src/gallium/frontends/dri/dri_query_renderer.c \
77 $src_dir/src/gallium/frontends/dri/dri_screen.c \
79 $build_dir/src/gallium/frontends/dri/dri2.c \
81 #-------------------------------------------------------------------------------
82 for src_pathname
in $libdri_c_pathnames
84 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
85 printf "CPP $src_pathname --> $build_dir/src/gallium/frontends/dri/$cpp_filename\n"
86 $cpp $src_pathname -o $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename \
87 -I$cc_internal_fixed_incdir \
88 -I$cc_internal_incdir \
92 -I$build_dir/src
/gallium
/frontends
/dri \
93 -I$src_dir/src
/gallium
/frontends
/dri \
94 -I$build_dir/src
/gallium
/auxiliary \
95 -I$src_dir/src
/gallium
/auxiliary \
96 -I$build_dir/src
/gallium
/include \
97 -I$src_dir/src
/gallium
/include \
98 -I$build_dir/src
/mesa
/drivers
/dri
/common \
99 -I$src_dir/src
/mesa
/drivers
/dri
/common \
100 -I$build_dir/src
/mesa \
101 -I$src_dir/src
/mesa \
102 -I$build_dir/src
/mapi \
103 -I$src_dir/src
/mapi \
106 -I$build_dir/include \
109 $syslib_cpp_flags_defs \
110 $linux_cpp_flags_defs \
111 $cc_builtins_cpp_flags_defs \
112 $cc_attributes_cpp_flags_defs \
113 $mesa_cpp_flags_defs \
115 $external_deps_cpp_flags &
117 #-------------------------------------------------------------------------------
119 #------------------------------------------------------------------------------
120 for src_pathname
in $libdri_c_pathnames
122 cpp_filename
=$
(basename $src_pathname .c
).cpp.c
123 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
124 printf "CC_S $build_dir/src/gallium/frontends/dri/$cpp_filename --> $build_dir/src/gallium/frontends/dri/$asm_filename\n"
125 $cc_s $build_dir/src
/gallium
/frontends
/dri
/$cpp_filename -o $build_dir/src
/gallium
/frontends
/dri
/$asm_filename &
127 #------------------------------------------------------------------------------
129 #------------------------------------------------------------------------------
131 for src_pathname
in $libdri_c_pathnames
133 asm_filename
=$
(basename $src_pathname .c
).cpp.c.s
134 o_filename
=$
(basename $src_pathname .c
).cpp.c.s.o
135 os
="$os $build_dir/src/gallium/frontends/dri/$o_filename"
136 printf "AS $build_dir/src/gallium/frontends/dri/$asm_filename --> $build_dir/src/gallium/frontends/dri/$o_filename\n"
137 $as $build_dir/src
/gallium
/frontends
/dri
/$asm_filename -o $build_dir/src
/gallium
/frontends
/dri
/$o_filename &
139 #-------------------------------------------------------------------------------
141 #-------------------------------------------------------------------------------
142 printf "AR RCS $build_dir/libdri.a $os\n"
143 $ar_rcs $build_dir/libdri.a
$os
144 #===============================================================================
145 printf "\t<--frontends sub-components built\n"