aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-06-09 20:27:20 +0000
committerK. Richard Pixley <rich@cygnus>1991-06-09 20:27:20 +0000
commita01bf1fbc1b3ef33ea969c597dd29d86432bdbc0 (patch)
tree0d523198945ccde44b00b06cc325f0a2d778abd3 /binutils/Makefile.in
parent30ba1dfeafa7405c0c1d94e8d9a14acfdaede7ef (diff)
downloadgdb-a01bf1fbc1b3ef33ea969c597dd29d86432bdbc0.zip
gdb-a01bf1fbc1b3ef33ea969c597dd29d86432bdbc0.tar.gz
gdb-a01bf1fbc1b3ef33ea969c597dd29d86432bdbc0.tar.bz2
added support for binary comparisons.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in18
1 files changed, 11 insertions, 7 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index ce378c0..9555c86 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -33,6 +33,7 @@ NM_PROG=nm
OBJDUMP_PROG=objdump
PROGS = $(SIZE_PROG) $(COPY_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRIP_PROG) $(RANLIB_PROG)
+STAGESTUFF = $(PROGS) *.o
BASEDIR = $(srcdir)/..
LIBDIR = $(srcdir)/../bfd$(subdir)
@@ -104,15 +105,20 @@ $(STRIP_PROG): $(COPY_PROG)
stage1: force
- mkdir stage1
- - mv -f *.o $(PROGS) stage1
+ - mv -f $(STAGESTUFF) stage1
stage2: force
- mkdir stage2
- - mv -f *.o $(PROGS) stage2
+ - mv -f $(STAGESTUFF) stage2
stage3: force
- mkdir stage3
- - mv -f *.o $(PROGS) stage3
+ - mv -f $(STAGESTUFF) stage3
+
+against=stage2
+
+comparison: force
+ for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
de-stage1: force
- (cd stage1 ; mv -f * ..)
@@ -127,7 +133,7 @@ de-stage3: force
- rmdir stage3
clean:
- -rm -f *.o *~ \#* core $(PROGS) TAGS
+ -rm -f *.o *~ \#* core $(STAGESTUFF) TAGS
etags tags: TAGS
@@ -135,7 +141,7 @@ TAGS: force
etags $(INCDIR)/*.h $(BFDSRC)/*.[hc] *.[hc]
realclean: clean
- -rm -f $(PROGS) TAGS
+ -rm -f $(STAGESTUFF) TAGS
install: $(PROGS)
for i in $(PROGS) ; do \
@@ -148,10 +154,8 @@ size.o: size.c
copy.o: copy.c
objdump.o: objdump.c
m68k-pinsn.o: m68k-pinsn.c
-m68k-pinsn.o: ./m68k-opcode.h
i960-pinsn.o: i960-pinsn.c
sparc-pinsn.o: sparc-pinsn.c
-sparc-pinsn.o: ./sparc-opcode.h
nm.o: nm.c
ar.o: ar.c
getopt.o:getopt.c