Lines Matching refs:output
33 output=$1
34 rm -f ${output}T
38 header_guard=GCC_`echo ${output} | sed -e ${hg_sed_expr}`
41 echo "#ifndef ${header_guard}" >> ${output}T
42 echo "#define ${header_guard}" >> ${output}T
46 if test x"$output" = x"config.h"; then
47 echo "#ifdef GENERATOR_FILE" >> ${output}T
48 echo "#error config.h is for the host, not build, machine." >> ${output}T
49 echo "#endif" >> ${output}T
55 echo "#define TARGET_CPU_DEFAULT ($TARGET_CPU_DEFAULT)" >> ${output}T
60 echo "#ifndef $def" | sed 's/=.*//' >> ${output}T
61 echo "# define $def" | sed 's/=/ /' >> ${output}T
62 echo "#endif" >> ${output}T
70 echo "#include \"$1\"" >> ${output}T
75 echo '#ifdef IN_GCC' >> ${output}T
77 echo "# include \"$file\"" >> ${output}T
79 echo '#endif' >> ${output}T
87 case $output in
89 cat >> ${output}T <<EOF
99 echo "#endif /* ${header_guard} */" >> ${output}T
102 if [ -f $output ] && cmp ${output}T $output >/dev/null 2>&1; then
103 echo $output is unchanged >&2
104 rm -f ${output}T
106 mv -f ${output}T $output
110 rm -f cs-$output
111 echo timestamp > cs-$output