diff options
author | Michael Meissner <gnu@the-meissners.org> | 1997-02-11 20:19:28 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1997-02-11 20:19:28 +0000 |
commit | 37404956b433bcbef387449d997a683be6f78369 (patch) | |
tree | 809162bcebe78c5f088111966bca2993a8a2b49e /sim/ppc/Makefile.in | |
parent | 3d6ab69f3535bb78ec386181a491854d880e43b0 (diff) | |
download | gdb-37404956b433bcbef387449d997a683be6f78369.zip gdb-37404956b433bcbef387449d997a683be6f78369.tar.gz gdb-37404956b433bcbef387449d997a683be6f78369.tar.bz2 |
New version from Andrew; Portability fixes on top of that
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r-- | sim/ppc/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 46644b2..f71903c 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -315,7 +315,7 @@ run: psim rm -f run ln psim run -$(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-pk $(LIB_OBJ) $(GDB_OBJ) +$(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-pk tmp-defines $(LIB_OBJ) $(GDB_OBJ) rm -f $(TARGETLIB) $(AR) $(AR_FLAGS) $(TARGETLIB) $(LIB_OBJ) $(GDB_OBJ) $(RANLIB) $(TARGETLIB) @@ -412,9 +412,11 @@ targ-map.o: targ-map.c targ-vals.h options.o: options.c $(BASICS_H) $(CPU_H) $(IDECODE_H) $(INLINE) $(LIB_SRC) $(BUILT_SRC) config.status Makefile defines.h $(CC) -c $(STD_CFLAGS) '-DOPCODE_RULES="@sim_opcode@"' '-DIGEN_FLAGS="$(IGEN_FLAGS)"' '-DDGEN_FLAGS="$(DGEN_FLAGS)"' $< -defines.h: config.h Makefile - rm -f defines.h - sed -n -e '/^#define HAVE_/s/ 1$$/",/' -e '/^#define HAVE_/s//"HAVE_/p' < config.h > defines.h +tmp-defines: config.h Makefile + sed -n -e '/^#define HAVE_/s/ 1$$/",/' -e '/^#define HAVE_/s//"HAVE_/p' < config.h > tmp-defines.h + $(srcdir)/../../move-if-change tmp-defines.h defines.h + touch tmp-defines + # # Rules to create the built c source code files # |