aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-04-09 23:52:42 +0000
committerK. Richard Pixley <rich@cygnus>1991-04-09 23:52:42 +0000
commit74cc5508e7f605763b9f48bd6eff2530fcacd080 (patch)
tree2a07f8a334479f100bf4db8cbd6a399e585befe7 /gas/configure.in
parenta10d26a1d4d702b85806f42df13594b9a0307980 (diff)
downloadgdb-74cc5508e7f605763b9f48bd6eff2530fcacd080.zip
gdb-74cc5508e7f605763b9f48bd6eff2530fcacd080.tar.gz
gdb-74cc5508e7f605763b9f48bd6eff2530fcacd080.tar.bz2
First cut config. builds in place.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in30
1 files changed, 29 insertions, 1 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 4da7737..f250641 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -6,6 +6,26 @@
srctrigger=as.c
srcname="gas"
+# assign cpu type
+case $target in
+sun4* | sparc*)
+ cpu_type=sparc
+ ;;
+sun3*)
+ cpu_type=m68k
+ ;;
+i960*)
+ cpu_type=i960
+ ;;
+a29k*)
+ cpu_type=a29k
+ ;;
+*)
+ cpu_type=generic
+ ;;
+esac
+
+# assign object format
case $target in
*-coff)
obj_format=coff
@@ -13,11 +33,15 @@ case $target in
*-bout)
obj_format=bout
;;
+generic)
+ obj_format=generic
+ ;;
*)
obj_format=aout
;;
esac
+# assign floating point type
case $target in
vax)
atof=vax
@@ -27,5 +51,9 @@ vax)
;;
esac
-files="ho-${host}.h tc-${cpu_type}.c tc-${cpu_type}.h te-generic.h obj-${obj_format}.h obj-${obj_format}.c atof-${atof}.c"
+files="config/ho-${host}.h config/tc-${cpu_type}.c \
+ config/tc-${cpu_type}.h config/te-generic.h \
+ config/obj-${obj_format}.h config/obj-${obj_format}.c \
+ config/atof-${atof}.c"
+
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"