aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-04-07 18:38:33 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-04-07 18:38:33 +0000
commit39ffbb4dccc34669c5f2113c6031a9ae6d2c73f3 (patch)
treee4d3a0675042f57f2054f79226c36dde1c15b4fe /gas/configure.in
parentd9654a710e8e100a4bdbacc615e5d7bbace0b740 (diff)
downloadgdb-39ffbb4dccc34669c5f2113c6031a9ae6d2c73f3.zip
gdb-39ffbb4dccc34669c5f2113c6031a9ae6d2c73f3.tar.gz
gdb-39ffbb4dccc34669c5f2113c6031a9ae6d2c73f3.tar.bz2
* Makefile.in: Regenerate dependencies.
(TARG_CPU): New variable. (cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h. (.dep1): Delete creating of cgen-opc.h. (.tcdep): Put proper contents in cgen-opc.h. * configure.in (m32r): Delete setting of extra_files, extra_links. (AC_OUTPUT): Create cgen-opc.h. * configure: Regenerated.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/configure.in b/gas/configure.in
index cf72d5c..358e748 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -371,8 +371,6 @@ changequote([,])dnl
case ${extra_objects} in
*cgen.o*) ;;
*) extra_objects="$extra_objects cgen.o"
- extra_files=../opcodes/${cpu_type}-opc.h
- extra_links=cgen-opc.h
AC_DEFINE(USING_CGEN)
;;
esac
@@ -813,7 +811,10 @@ AC_OUTPUT(Makefile doc/Makefile .gdbinit:gdbinit.in,
echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
echo '#include "te-'"${te_file}"'.h"' > targ-env.h
- echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h],
+ echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
+ case ${target_cpu_type} in
+ m32r) echo '#include "opcodes/'"${target_cpu_type}"'-opc.h"' > cgen-opc.h ;;
+ esac],
[target_cpu_type=${target_cpu_type}
obj_format=${obj_format}
te_file=${te_file}])