Lines Matching refs:output
32 output=$1
33 rm -f ${output}T
37 header_guard=GCC_`echo ${output} | sed -e ${hg_sed_expr}`
40 echo "#ifndef ${header_guard}" >> ${output}T
41 echo "#define ${header_guard}" >> ${output}T
45 if test x"$output" = x"config.h"; then
46 echo "#ifdef GENERATOR_FILE" >> ${output}T
47 echo "#error config.h is for the host, not build, machine." >> ${output}T
48 echo "#endif" >> ${output}T
54 echo "#define TARGET_CPU_DEFAULT ($TARGET_CPU_DEFAULT)" >> ${output}T
59 echo "#ifndef $def" | sed 's/=.*//' >> ${output}T
60 echo "# define $def" | sed 's/=/ /' >> ${output}T
61 echo "#endif" >> ${output}T
73 echo "#include \"$1\"" >> ${output}T
78 echo '#ifdef IN_GCC' >> ${output}T
83 echo "# include \"$file\"" >> ${output}T
86 echo '#endif' >> ${output}T
94 case $output in
96 cat >> ${output}T <<EOF
109 echo "# include \"defaults.h\"" >> ${output}T
113 echo "#endif /* ${header_guard} */" >> ${output}T
116 if [ -f $output ] && cmp ${output}T $output >/dev/null 2>&1; then
117 echo $output is unchanged >&2
118 rm -f ${output}T
120 mv -f ${output}T $output
124 rm -f cs-$output
125 echo timestamp > cs-$output