aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-10-08 00:56:23 +0000
committerPer Bothner <per@bothner.com>1991-10-08 00:56:23 +0000
commit8539db10f4df029baad56a9f447cef29413e86f9 (patch)
tree7a0b89f2811c98bc161f877c345a8e7016b1f9b9
parent6ce6f0935ff4d36e31149adab14307b9e38f47ae (diff)
downloadgdb-8539db10f4df029baad56a9f447cef29413e86f9.zip
gdb-8539db10f4df029baad56a9f447cef29413e86f9.tar.gz
gdb-8539db10f4df029baad56a9f447cef29413e86f9.tar.bz2
Fixed typo (for RANLIB_PROG).
Started writing rules for making a tar file.
-rw-r--r--binutils/Makefile.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 61320b4..7395928 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -5,6 +5,11 @@
srcdir = .
destdir = /usr/local
+# Distribution version
+VERSION=1.90
+# Distribution name
+DIST_NAME=binutils-beta-${VERSION}
+
version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
prefix = $(destdir)
bindir = $(prefix)/bin
@@ -98,7 +103,7 @@ $(AR_PROG): $(ADDL_LIBS) ar.o not-ranlib.o $(BFD)
$(CC) $(LDFLAGS) $(CFLAGS) -o $(AR_PROG) ar.o not-ranlib.o $(ADDL_LIBS) $(LOADLIBES)
$(RANLIB_PROG): $(ADDL_LIBS) ar.o is-ranlib.o $(BFD)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $(AR_PROG) ar.o is-ranlib.o $(ADDL_LIBS) $(LOADLIBES)
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $(RANLIB_PROG) ar.o is-ranlib.o $(ADDL_LIBS) $(LOADLIBES)
# This rule creates a single binary that switches between ar and ranlib
# by looking at argv[0]. Use this kludge to save some disk space.
@@ -161,6 +166,13 @@ install: $(PROGS)
$(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \
done
+dist: $(DIST_NAME).tar.Z
+
+$(DIST_NAME).tar.Z: proto-dir
+ ln -s proto-dir $(DIST_NAME)
+ tar chf - $(DIST_NAME) | compress >$(DIST_NAME).tar.Z
+ rm -rf $(DIST_NAME)
+
bucomm.o: bucomm.c
version.o: version.c
size.o: size.c
@@ -175,6 +187,7 @@ ar.o: ar.c
getopt.o:getopt.c
getopt1.o:getopt1.c
filemode.o:filemode.c
+
#-----------------------------------------------------------------------------
# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
#