From 645be480800187a9e01734b467bec3a6796e26ff Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Sat, 22 Jan 1994 22:05:42 +0000 Subject: [PATCH] Sat Jan 22 13:30:57 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-config.in: Create sysdep.h using forward-include. Remove unneeded synthesis of varargs.h. * mpw-make.in (CC, CFLAGS): Remove, now in config/mpw-mh-mpw. (CSEARCH): Added path to extra-include. --- bfd/ChangeLog.mpw | 7 +++++++ bfd/mpw-config.in | 13 +------------ bfd/mpw-make.in | 6 ++---- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/bfd/ChangeLog.mpw b/bfd/ChangeLog.mpw index 85c548615a7..d957bf82bc2 100644 --- a/bfd/ChangeLog.mpw +++ b/bfd/ChangeLog.mpw @@ -1,3 +1,10 @@ +Sat Jan 22 13:30:57 1994 Stan Shebs (shebs@andros.cygnus.com) + + * mpw-config.in: Create sysdep.h using forward-include. + Remove unneeded synthesis of varargs.h. + * mpw-make.in (CC, CFLAGS): Remove, now in config/mpw-mh-mpw. + (CSEARCH): Added path to extra-include. + Fri Jan 7 10:34:47 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-make.in: Replace 8-bit chars with their names. diff --git a/bfd/mpw-config.in b/bfd/mpw-config.in index 0ada777b6b9..88403fdf1e2 100644 --- a/bfd/mpw-config.in +++ b/bfd/mpw-config.in @@ -1,17 +1,6 @@ # Configuration fragment for BFD. -DupIfChange {srcdir}hosts:mpw.h sysdep.h +forward-include "{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 diff --git a/bfd/mpw-make.in b/bfd/mpw-make.in index f954094a2e6..d6c61fce189 100644 --- a/bfd/mpw-make.in +++ b/bfd/mpw-make.in @@ -22,8 +22,6 @@ s = "{srcdir}" o = : -CC = C -d MPW_C -d ALMOST_STDC -w - "{o}" \Option-f : "{s}" # Default rule that puts each file into separate segment. @@ -66,7 +64,7 @@ INSTALL_DATA = {INSTALL} AR = ar AR_FLAGS = -CFLAGS = -mc68020 -mc68881 -model far +#CFLAGS = BISON = bison MAKEINFO = makeinfo RANLIB = ranlib @@ -75,7 +73,7 @@ CC_FOR_BUILD = {CC} INCDIR = "{topsrcdir}"include #CSEARCH = -i : -i {srcdir} -i {INCDIR}: -CSEARCH = -i "{INCDIR}","{INCDIR}":,"{srcdir}" +CSEARCH = -i "{INCDIR}","{INCDIR}":,"{topsrcdir}"extra-include:,"{srcdir}" DEP = mkdep SUBDIRS = doc -- 2.30.2