s/@target_cpu_type@/i386/
s!@ALL_OBJ_DEPS@!../bfd/bfd.h!
/^force:.*$/,/^$/{
/^$/{
i\
conf: conf.in config.sed conf.sed
i\
	redir -o conf.new sed -f conf.sed -f config.sed $(srcdir)/conf.in
i\
	update conf.new conf
}
}
s/\(^	echo \)['"]\(.*\)['"][ 	]*>>[ 	]*\([a-zA-Z0-9].*$\)/	redir -oa \3 echo.exe '\2'/
s/\(^	echo \)['"]\(.*\)['"][ 	]*>[ 	]*\([a-zA-Z0-9].*$\)/	echo.exe -o \3 '\2'/
s!@OPCODES_DEP@!../opcodes/libopcodes.a!
s!@BFDDEP@!../bfd/libbfd.a!
s!@OPCODES_LIB@!-L../opcodes -lopcodes!
s!@BFDLIB@!-L../bfd -lbfd!
s/@HLDFLAGS@//
s/$(TDEFINES)/-DI386COFF/
s/@extra_objects@//
/^all:.*$/,/^$/{
/^	.*$/d
s/^all:.*$/all: as.new gasp.new/
}
/^dvi info.*$/,/^$/{
/^	.*$/d
/^$/{
i\
	$(MAKE) -C doc $(FLAGS_TO_PASS) $@
}
}
/^	ecoff.o.*$/d
