old-cross-binutils/bfd/mpw-config.in
Stan Shebs a92c59065a Mon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-config.in: New file, MPW version of configure.in.
	* mpw-make.in: New file, MPW version of Makefile.in.
	* hosts/mpw.h: New file, MPW host definitions.

Mon Jan  3 13:00:07 1994  Stan Shebs  (shebs@andros.cygnus.com)

	* mpw-xconfig.in: New file, mpw x mips configuration bits.
1994-01-04 00:38:05 +00:00

17 lines
612 B
Text

# Configuration fragment for BFD.
DupIfChange {srcdir}hosts:mpw.h sysdep.h
StreamEdit -e '/@WORDSIZE@/ Replace /@WORDSIZE@/ "32"' {srcdir}bfd-in2.h >bfd.h-new
MoveIfChange bfd.h-new bfd.h
#DupIfChange {srcdir}mpw.bfd.h bfd.h
Echo "#ifndef __va_list__" >varargs.h
Echo "#define __va_list__" >>varargs.h
Echo "typedef char *va_list;" >>varargs.h
Echo "#endif" >>varargs.h
Echo "#define va_dcl int va_alist;" >>varargs.h
Echo "#define va_start(list) list = (char *) &va_alist" >>varargs.h
Echo "#define va_end(list)" >>varargs.h
Echo "#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]" >>varargs.h