* configure.in (host==go32): Configure dosrel too.

* Makefile.in (INTALL_TARGET): Call INSTALL_LAST last.
	(HOST_CC, HOST_PREFIX, HOST_PREFIX_1): Undefine, they should
	be set by incoming names or templates.
	(INSTALL_LAST): New rule.
	* config/mh-go32: New fragment.
This commit is contained in:
Steve Chamberlain 1994-05-06 21:25:45 +00:00
parent c794f0aa85
commit eebd76cbbb
3 changed files with 37 additions and 0 deletions

View File

@ -37,6 +37,7 @@ mh-apollo68
mh-decstation
mh-delta88
mh-dgux
mh-go32
mh-hp300
mh-hpux
mh-irix4

24
config/mh-go32 Normal file
View File

@ -0,0 +1,24 @@
CC=i386-go32-gcc
AR=i386-go32-ar
RANLIB=i386-go32-ranlib
CC_FOR_BUILD=gcc
HOST_CC=gcc
HOST_CFLAGS=
CFLAGS=-O2 -fno-omit-frame-pointer
HOST_PREFIX=foo
HOST_PREFIX_1=foo
RANLIB=i386-go32-ranlib
AR=i386-go32-ar
GCC_FOR_TARGET=${target}-gcc
CC_FOR_TARGET=${target_alias}-gcc
AR_FOR_TARGET=${target_alias}-ar
RANLIB_FOR_TARGET=${target_alias}-ranlib
HOST_PREFIX=cross
HOST_PREFIX_1=cross
MAKEINFOFLAGS=--no-split
INSTALL_LAST=install-dosrel

View File

@ -104,6 +104,7 @@ case "${host}" in
i[34]86-*-linux*) host_makefile_frag=config/mh-linux ;;
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
i[34]86-*-aix*) host_makefile_frag=config/mh-aix386 ;;
i[34]86-*-go32*) host_makefile_frag=config/mh-go32 ;;
vax-*-ultrix2*) host_makefile_frag=config/mh-vaxult2 ;;
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
*-bull-bosx*) host_makefile_frag=config/mh-aix ;;
@ -160,6 +161,13 @@ else
done
fi
# Configure extra directories which are host specific
case "${host}" in
i[34]86-*-go32*)
configdirs="$configdirs dosrel" ;;
esac
# Remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
@ -178,6 +186,10 @@ case "${host}" in
;;
esac
case "${target}" in
alpha-dec-osf1*)
noconfigdirs="$noconfigdirs emacs fileutils grep newlib"