1 dnl Process this file with autoconf to produce a configure script.
3 dnl And be careful when changing it! If you must add tests with square
4 dnl brackets, be sure changequote invocations surround it.
7 dnl v2.5 needed for --bindir et al
13 AM_INIT_AUTOMAKE(gas, 2.9.4)
18 AC_ARG_ENABLE(bfd-assembler,
19 [ --enable-bfd-assembler use BFD back end for writing object files],
20 [case "${enableval}" in
21 yes) need_bfd=yes user_bfd_gas=yes ;;
22 no) user_bfd_gas=no ;;
23 *) AC_MSG_ERROR(bad value ${enableval} given for bfd-assembler option) ;;
25 AC_ARG_ENABLE(targets,
26 [ targets alternative target configurations besides the primary],
27 [case "${enableval}" in
28 yes | "") AC_ERROR(enable-targets option must specify target names or 'all')
30 no) enable_targets= ;;
31 *) enable_targets=$enableval ;;
33 AC_ARG_ENABLE(commonbfdlib,
34 [ --enable-commonbfdlib build shared BFD/opcodes/libiberty library],
35 [case "${enableval}" in
36 yes) commonbfdlib=true ;;
37 no) commonbfdlib=false ;;
38 *) AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
41 # Generate a header file
42 AM_CONFIG_HEADER(config.h:config.in)
47 if test -n "$enable_targets" ; then
48 for t in `echo $enable_targets | sed 's/,/ /g'`; do
49 result=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $t 2>/dev/null`
50 if test -n "$result" ; then
51 canon_targets="$canon_targets $result"
53 # # Permit "all", etc. We don't support it yet though.
54 # canon_targets="$canon_targets $t"
57 GAS_UNIQ(canon_targets)
62 for this_target in $target $canon_targets ; do
65 eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'`
68 # check for architecture variants
72 alpha*) cpu_type=alpha ;;
73 armeb) cpu_type=arm endian=big ;;
74 arm*) cpu_type=arm endian=little ;;
75 thumb*) cpu_type=arm endian=little ;;
76 hppa*) cpu_type=hppa ;;
78 i[456]86) cpu_type=i386 ;;
79 m680[012346]0) cpu_type=m68k ;;
81 m68008) cpu_type=m68k ;;
82 m683??) cpu_type=m68k ;;
83 m5200) cpu_type=m68k ;;
85 mips*el) cpu_type=mips endian=little ;;
86 # start-sanitize-r5900
87 mips*5900*) cpu_type=mips endian=little ;;
89 mips*) cpu_type=mips endian=big ;;
90 powerpcle*) cpu_type=ppc endian=little ;;
91 powerpc*) cpu_type=ppc endian=big ;;
92 rs6000*) cpu_type=ppc ;;
93 sparclite*) cpu_type=sparc arch=sparclite ;;
94 sparclet*) cpu_type=sparc arch=sparclet ;;
95 sparc64*) cpu_type=sparc arch=v9-64 ;;
96 sparc86x*) cpu_type=sparc arch=sparc86x ;;
97 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
98 v850*) cpu_type=v850 ;;
102 if test ${this_target} = $target ; then
103 target_cpu_type=${cpu_type}
104 if test x${endian} = xbig; then
105 AC_DEFINE(TARGET_BYTES_BIG_ENDIAN, 1)
106 elif test x${endian} = xlittle; then
107 AC_DEFINE(TARGET_BYTES_BIG_ENDIAN, 0)
109 elif test ${target_cpu_type} != ${cpu_type} ; then
113 generic_target=${cpu_type}-$vendor-$os
118 # assign object format
119 case ${generic_target} in
120 a29k-*-coff) fmt=coff ;;
121 a29k-amd-udi) fmt=coff ;;
122 a29k-amd-ebmon) fmt=coff ;;
123 a29k-nyu-sym1) fmt=coff ;;
124 a29k-*-vxworks*) fmt=coff ;;
126 alpha*-*-*vms*) fmt=evax ;;
127 alpha*-*-netware*) fmt=ecoff ;;
128 alpha*-*-openbsd*) fmt=ecoff ;;
129 alpha*-*-osf*) fmt=ecoff ;;
130 alpha*-*-linuxecoff*) fmt=ecoff ;;
131 alpha*-*-linux-gnu*) fmt=elf em=linux ;;
132 alpha*-*-netbsd*) fmt=elf em=nbsd ;;
134 arc-*-elf*) fmt=elf bfd_gas=yes ;;
136 arm-*-riscix*) fmt=aout em=riscix ;;
137 arm-*-aout) fmt=aout ;;
138 arm-*-coff | thumb-*-coff) fmt=coff ;;
139 arm-*-riscix*) fmt=aout ;;
140 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;;
142 d10v-*-*) fmt=elf bfd_gas=yes ;;
143 d30v-*-*) fmt=elf bfd_gas=yes ;;
145 hppa-*-*elf*) fmt=elf em=hppa ;;
146 hppa-*-lites*) fmt=elf em=hppa ;;
147 hppa-*-osf*) fmt=som em=hppa ;;
148 hppa-*-rtems*) fmt=elf em=hppa ;;
149 hppa-*-hpux*) fmt=som em=hppa ;;
150 hppa-*-bsd*) fmt=som em=hppa ;;
151 hppa-*-hiux*) fmt=som em=hppa ;;
153 h8300-*-coff) fmt=coff ;;
155 i386-ibm-aix*) fmt=coff em=i386aix ;;
156 i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;;
157 dnl start-sanitize-beos
158 i386-*-beospe*) fmt=coff em=pe bfd_gas=yes ;;
159 i386-*-beoself* | i386-*-beos*) fmt=elf ;;
160 dnl end-sanitize-beos
161 i386-*-bsd*) fmt=aout em=386bsd ;;
162 i386-*-netbsd0.8) fmt=aout em=386bsd ;;
163 i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
164 i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
165 i386-*-linux*aout* | i386-*-linuxoldld) fmt=aout em=linux ;;
166 i386-*-linux*coff*) fmt=coff em=linux ;;
167 i386-*-linux-gnu*) fmt=elf em=linux ;;
168 i386-*-lynxos*) fmt=coff em=lynx ;;
169 i386-*-sysv4* | i386-*-solaris* | i386-*-elf)
171 i386-*-freebsdelf*) fmt=elf ;;
172 i386-*-freebsd*) fmt=aout em=386bsd ;;
173 i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*)
175 i386-*-sco3.2v5*) fmt=elf
176 if test ${this_target} = $target; then
180 i386-*-sco3.2*) fmt=coff ;;
181 i386-*-vsta) fmt=aout ;;
182 i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)
184 i386-*-rtems*) fmt=coff ;;
185 i386-*-gnu*) fmt=elf ;;
187 fmt=aout em=mach bfd_gas=yes ;;
188 i386-*-msdos*) fmt=aout ;;
189 i386-*-moss*) fmt=elf ;;
190 i386-*-pe) fmt=coff em=pe ;;
191 i386-*-cygwin32*) fmt=coff em=pe bfd_gas=yes ;;
192 i386-*-mingw32*) fmt=coff em=pe bfd_gas=yes ;;
193 i386-*-*nt*) fmt=coff em=pe ;;
194 i960-*-bout) fmt=bout ;;
195 i960-*-coff) fmt=coff em=ic960 ;;
196 i960-*-rtems*) fmt=coff em=ic960 ;;
197 i960-*-nindy*) fmt=bout ;;
198 i960-*-vxworks4*) fmt=bout ;;
199 i960-*-vxworks5.0) fmt=bout ;;
200 i960-*-vxworks5.*) fmt=coff em=ic960 ;;
201 i960-*-vxworks*) fmt=bout ;;
203 m32r-*-*) fmt=elf bfd_gas=yes ;;
205 m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*)
207 m68k-motorola-sysv*) fmt=coff em=delta ;;
208 m68k-bull-sysv3*) fmt=coff em=dpx2 ;;
209 m68k-apollo-*) fmt=coff em=apollo ;;
210 m68k-*-sysv4*) # must be before -sysv*
212 m68k-*-elf*) fmt=elf ;;
213 m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*)
215 m68k-*-hpux*) fmt=hp300 em=hp300 ;;
216 m68k-*-linux*aout*) fmt=aout em=linux ;;
217 m68k-*-linux-gnu*) fmt=elf em=linux ;;
218 m68k-*-lynxos*) fmt=coff em=lynx ;;
219 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
220 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
221 m68k-apple-aux*) fmt=coff em=aux ;;
222 m68k-*-psos*) fmt=elf em=psos;;
224 m88k-motorola-sysv3*) fmt=coff em=delt88 ;;
225 m88k-*-coff*) fmt=coff ;;
227 # don't change em like *-*-bsd does
228 mips-dec-netbsd*) fmt=elf endian=little ;;
229 mips-dec-openbsd*) fmt=elf endian=little ;;
230 mips-dec-bsd*) fmt=aout ;;
231 mips-sony-bsd*) fmt=ecoff ;;
232 mips-*-bsd*) AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.) ;;
233 mips-*-ultrix*) fmt=ecoff endian=little ;;
234 mips-*-osf*) fmt=ecoff endian=little ;;
235 mips-*-ecoff*) fmt=ecoff ;;
236 mips-*-ecoff*) fmt=ecoff ;;
237 mips-*-irix6*) fmt=elf ;;
238 mips-*-irix5*) fmt=elf ;;
239 mips-*-irix*) fmt=ecoff ;;
240 mips-*-lnews*) fmt=ecoff em=lnews ;;
241 mips-*-riscos*) fmt=ecoff ;;
242 mips-*-sysv*) fmt=ecoff ;;
243 mips-*-elf* | mips-*-rtems* | mips-*-linux-gnu* | mips-*-gnu* | mips-*-openbsd*)
245 mn10200-*-*) fmt=elf bfd_gas=yes ;;
246 mn10300-*-*) fmt=elf bfd_gas=yes ;;
247 ppc-*-pe | ppc-*-cygwin32 | ppc-*-winnt*)
249 ppc-*-aix*) fmt=coff ;;
250 ppc-*-beos*) fmt=coff ;;
251 ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*)
253 ppc-*-linux-gnu*) fmt=elf
256 *) AC_MSG_ERROR(GNU/Linux must be configured big endian) ;;
259 ppc-*-solaris*) fmt=elf
260 if test ${this_target} = $target; then
261 AC_DEFINE(TARGET_SOLARIS_COMMENT)
263 if test x${endian} = xbig; then
264 AC_MSG_ERROR(Solaris must be configured little endian)
267 ppc-*-rtems*) fmt=elf ;;
268 ppc-*-macos* | ppc-*-mpw*)
270 ppc-*-netware*) fmt=elf em=ppcnw ;;
272 sh-*-elf*) fmt=elf ;;
273 sh-*-coff*) fmt=coff ;;
274 sh-*-rtems*) fmt=coff ;;
276 ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;;
277 ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;;
278 ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;;
280 sparc-*-rtems*) fmt=aout ;;
281 sparc-*-sunos4*) fmt=aout em=sun3 ;;
282 sparc-*-aout | sparc*-*-vxworks*)
283 fmt=aout em=sparcaout ;;
284 sparc-*-coff) fmt=coff ;;
285 sparc-*-linux*aout*) fmt=aout em=linux ;;
286 sparc-*-linux-gnu*) fmt=elf em=linux ;;
287 sparc-*-lynxos*) fmt=coff em=lynx ;;
288 sparc-fujitsu-none) fmt=aout ;;
289 sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
291 sparc-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
292 sparc-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
294 tic30-*-*aout*) fmt=aout bfd_gas=yes ;;
295 tic30-*-*coff*) fmt=coff bfd_gas=yes ;;
296 # start-sanitize-tic80
297 tic80-*-*) fmt=coff ;;
301 dvp-*-*) fmt=elf bfd_gas=yes ;;
304 v850-*-*) fmt=elf bfd_gas=yes ;;
306 # start-sanitize-v850e
307 v850e-*-*) fmt=elf bfd_gas=yes ;;
308 v850ea-*-*) fmt=elf bfd_gas=yes ;;
310 vax-*-bsd* | vax-*-ultrix*)
312 vax-*-vms) fmt=vms ;;
314 z8k-*-coff | z8k-*-sim)
319 *-*-aout | *-*-scout)
325 *-*-generic) fmt=generic ;;
326 *-*-xray | *-*-hms) fmt=coff ;;
328 *-*-elf | *-*-sysv4* | *-*-solaris*)
329 AC_MSG_WARN(GAS support for ${generic_target} is incomplete.)
331 *-*-vxworks) fmt=aout ;;
332 *-*-netware) fmt=elf ;;
335 case ${cpu_type}-${fmt} in
336 alpha*-*) bfd_gas=yes ;;
337 arm-*) bfd_gas=yes ;;
339 # i386-aout) bfd_gas=preferred ;;
340 mips-*) bfd_gas=yes ;;
341 ns32k-*) bfd_gas=yes ;;
342 ppc-*) bfd_gas=yes ;;
343 sparc-*) bfd_gas=yes ;;
344 *-elf) bfd_gas=yes ;;
345 *-ecoff) bfd_gas=yes ;;
346 *-som) bfd_gas=yes ;;
350 # Other random stuff.
352 # do we need the opcodes library?
359 case "${enable_shared}" in
360 yes) shared_opcodes=true ;;
361 *opcodes*) shared_opcodes=true ;;
362 *) shared_opcodes=false ;;
364 if test "${shared_opcodes}" = "true"; then
365 # A shared libopcodes must be linked against libbfd.
373 case "x${extra_objects}" in
375 *) extra_objects="$extra_objects cgen.o"
376 AC_DEFINE(USING_CGEN)
382 case ${extra_objects} in
384 *) extra_objects="$extra_objects m68k-parse.o" ;;
389 echo ${extra_objects} | grep -s "itbl-parse.o"
390 if test $? -ne 0 ; then
391 extra_objects="$extra_objects itbl-parse.o"
394 echo ${extra_objects} | grep -s "itbl-lex.o"
395 if test $? -ne 0 ; then
396 extra_objects="$extra_objects itbl-lex.o"
399 echo ${extra_objects} | grep -s "itbl-ops.o"
400 if test $? -ne 0 ; then
401 extra_objects="$extra_objects itbl-ops.o"
406 if test $this_target = $target ; then
407 AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}")
415 # See if we really can support this configuration with the emulation code.
417 if test $this_target = $target ; then
418 primary_bfd_gas=$bfd_gas
422 if test $bfd_gas = no ; then
423 # Can't support other configurations this way.
426 elif test $bfd_gas = no ; then
427 # Can't support this configuration.
431 # From target name and format, produce a list of supported emulations.
433 case ${generic_target}-${fmt} in
434 mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
435 mips-*-linux-gnu*-*) case "$endian" in
436 big) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
437 *) emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;
439 mips-*-lnews*-ecoff) ;;
440 mips-*-*-ecoff) case "$endian" in
441 big) emulation="mipsbecoff mipslecoff mipsecoff" ;;
442 *) emulation="mipslecoff mipsbecoff mipsecoff" ;;
444 mips-*-*-elf) case "$endian" in
445 big) emulation="mipsbelf mipslelf mipself" ;;
446 *) emulation="mipslelf mipsbelf mipself" ;;
447 # Uncommenting the next line will turn on support for i386 COFF
448 # in any i386 ELF configuration. This probably doesn't work
450 # i386-*-*-elf) emulation="i386coff i386elf" ;;
454 emulations="$emulations $emulation"
458 # Assign floating point type. Most processors with FP support
459 # IEEE FP. On those that don't support FP at all, usually IEEE
461 case ${target_cpu} in
462 vax | tahoe ) atof=${target_cpu} ;;
466 case "${obj_format}" in
467 "") AC_MSG_ERROR(GAS does not know what format to use for target ${target}) ;;
470 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
472 case "x${extra_objects}" in
474 case ${target_cpu} in
475 *) cgen_cpu_prefix=${target_cpu} ;;
479 AC_SUBST(cgen_cpu_prefix)
482 dnl Make sure the desired support files exist.
485 if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
486 AC_MSG_ERROR(GAS does not support target CPU ${target_cpu_type})
489 if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
490 AC_MSG_ERROR(GAS does not have support for object file format ${obj_format})
493 case ${user_bfd_gas}-${primary_bfd_gas} in
495 # We didn't override user's choice.
498 AC_MSG_WARN(Use of BFD is required for ${target}; overriding config options.)
510 # User specified nothing.
514 # Some COFF configurations want these random other flags set.
515 case ${obj_format} in
517 case ${target_cpu_type} in
518 i386) AC_DEFINE(I386COFF) ;;
519 m68k) AC_DEFINE(M68KCOFF) ;;
520 m88k) AC_DEFINE(M88KCOFF) ;;
525 # Getting this done right is going to be a bitch. Each configuration specified
526 # with --enable-targets=... should be checked for environment, format, cpu, and
529 # For each configuration, the necessary object file support code must be linked
530 # in. This might be only one, it might be up to four. The necessary emulation
531 # code needs to be provided, too.
533 # And then there's "--enable-targets=all"....
535 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
537 formats="${obj_format}"
541 for em in . $emulations ; do
545 fmt=elf file=mipself ;;
546 mipsbecoff | mipslecoff)
547 fmt=ecoff file=mipsecoff ;;
549 fmt=coff file=i386coff ;;
551 fmt=elf file=i386elf ;;
553 formats="$formats $fmt"
554 emfiles="$emfiles e-$file.o"
555 EMULATIONS="$EMULATIONS &$em,"
559 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
560 for fmt in $formats ; do
562 aout) AC_DEFINE(OBJ_MAYBE_AOUT) ;;
563 bout) AC_DEFINE(OBJ_MAYBE_BOUT) ;;
564 coff) AC_DEFINE(OBJ_MAYBE_COFF) ;;
565 ecoff) AC_DEFINE(OBJ_MAYBE_ECOFF) ;;
566 elf) AC_DEFINE(OBJ_MAYBE_ELF) ;;
567 generic) AC_DEFINE(OBJ_MAYBE_GENERIC) ;;
568 hp300) AC_DEFINE(OBJ_MAYBE_HP300) ;;
569 ieee) AC_DEFINE(OBJ_MAYBE_IEEE) ;;
570 som) AC_DEFINE(OBJ_MAYBE_SOM) ;;
571 vms) AC_DEFINE(OBJ_MAYBE_VMS) ;;
573 extra_objects="$extra_objects obj-$fmt.o"
577 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
579 extra_objects="$extra_objects $emfiles"
580 DEFAULT_EMULATION=`set . $emulations ; echo $2`
581 AC_DEFINE(USE_EMULATIONS)
583 AC_SUBST(extra_objects)
584 AC_DEFINE_UNQUOTED(EMULATIONS, $EMULATIONS)
585 AC_DEFINE_UNQUOTED(DEFAULT_EMULATION, "$DEFAULT_EMULATION")
587 case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in
588 yes-*-coff) need_bfd=yes ;;
589 no-*-coff) need_bfd=yes
590 AC_DEFINE(MANY_SEGMENTS) ;;
593 reject_dev_configs=yes
595 case ${reject_dev_configs}-${dev} in
597 AC_MSG_ERROR(GAS does not support the ${generic_target} configuration.)
601 AC_SUBST(target_cpu_type)
605 dnl AC_SUBST(emulation)
607 case "${primary_bfd_gas}" in
608 yes) AC_DEFINE(BFD_ASSEMBLER)
612 # do we need the opcodes library?
613 case "${need_opcodes}" in
615 OPCODES_LIB=../opcodes/libopcodes.la
619 case "${need_bfd}" in
621 BFDLIB=../bfd/libbfd.la
622 ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h"
627 AC_SUBST(OPCODES_LIB)
629 AC_SUBST(ALL_OBJ_DEPS)
631 AC_DEFINE_UNQUOTED(TARGET_ALIAS, "${target_alias}")
632 AC_DEFINE_UNQUOTED(TARGET_CANONICAL, "${target}")
633 AC_DEFINE_UNQUOTED(TARGET_CPU, "${target_cpu}")
634 AC_DEFINE_UNQUOTED(TARGET_VENDOR, "${target_vendor}")
635 AC_DEFINE_UNQUOTED(TARGET_OS, "${target_os}")
649 AC_CHECK_HEADERS(string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h)
651 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
652 # people who are not cross-compiling but are compiling cross-assemblers.
653 AC_MSG_CHECKING(whether compiling a cross-assembler)
654 if test "${host}" = "${target}"; then
658 AC_DEFINE(CROSS_COMPILE)
660 AC_MSG_RESULT($cross_gas)
662 dnl ansidecl.h will deal with const
667 # VMS doesn't have unlink.
668 AC_CHECK_FUNCS(unlink remove, break)
670 # Some systems don't have sbrk().
673 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
674 # enough, but on some of those systems, the assert macro relies on requoting
678 # On some systems, the system header files may not declare malloc, realloc,
679 # and free. There are places where gas needs these functions to have been
680 # declared -- such as when taking their addresses.
688 #ifdef HAVE_STRINGS_H
699 GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)
700 GAS_CHECK_DECL_NEEDED(malloc, f, char *(*f)(), $gas_test_headers)
701 GAS_CHECK_DECL_NEEDED(free, f, void (*f)(), $gas_test_headers)
702 GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
704 # Does errno.h declare errno, or do we have to add a separate declaration
706 GAS_CHECK_DECL_NEEDED(errno, f, int f, [
712 dnl This must come last.
714 dnl We used to make symlinks to files in the source directory, but now
715 dnl we just use the right name for .c files, and create .h files in
716 dnl the build directory which include the right .h file. Make sure
717 dnl the old symlinks don't exist, so that a reconfigure in an existing
718 dnl directory behaves reasonably.
720 AC_OUTPUT(Makefile doc/Makefile .gdbinit:gdbinit.in po/Makefile.in:po/Make-in,
721 [rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
722 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
723 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
724 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
725 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
726 case ${target_cpu_type} in
727 m32r) echo '#include "opcodes/'"${target_cpu_type}"'-opc.h"' > cgen-opc.h ;;
730 sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile],
731 [target_cpu_type=${target_cpu_type}
732 obj_format=${obj_format}