From: Michael Meissner Date: Fri, 3 Nov 1995 03:39:27 +0000 (+0000) Subject: Update dependencies; Fix multiple options in --enable-sim-cflags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e61900e6a259570926e289fa8fd22dd3c124d87a;p=binutils-gdb.git Update dependencies; Fix multiple options in --enable-sim-cflags --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 3fdef42510b..58cb18f01f6 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,5 +1,7 @@ Thu Nov 2 08:54:04 1995 Michael Meissner + * Makefile.in: Uncomment built file dependencies. + * configure.in: Rewrite --enable-sim switch handling to use the autoconf builtins so it works correctly if the configure or Makefile.in files are modified and make decides to rebuild diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 58607be2875..e72045844bc 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -338,10 +338,10 @@ tmp-igen: igen ppc-instructions $(IGEN_OPCODE_RULES) ppc-cache-rules $(srcdir)/. # NOTE: Some versions of make don't handle files created as side-effects # uncomment the below if that is the case. -# -# $(TARGETLIB): tmp-igen tmp-dgen -# itable.h itable.c icache.h idecode.h idecode.c semantics.h semantics.c: tmp-igen -# spreg.h spreg.c: tmp-dgen + +$(TARGETLIB): tmp-igen tmp-dgen +itable.h itable.c icache.h idecode.h idecode.c semantics.h semantics.c: tmp-igen +spreg.h spreg.c: tmp-dgen dgen: dgen.o table.o lf.o misc.o filter_filename.o $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o dgen dgen.o table.o lf.o misc.o filter_filename.o $(LIBIBERTY_LIB) $(LIBS) diff --git a/sim/ppc/configure.in b/sim/ppc/configure.in index a3c1f391627..04beaafd859 100644 --- a/sim/ppc/configure.in +++ b/sim/ppc/configure.in @@ -7,7 +7,7 @@ AC_ARG_ENABLE(sim-cflags, [case "${enableval}" in yes) sim_cflags="-O2 -fomit-frame-pointer";; no) sim_cflags="";; - *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /"`;; + *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;; esac],[sim_cflags=""])dnl AC_ARG_ENABLE(sim-config,