aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-08-04 04:22:13 +0000
committerRichard Stallman <rms@gnu.org>1992-08-04 04:22:13 +0000
commitcfa88f628d205e3630b739415c2ff812d35ac710 (patch)
tree0c71a52b8d912973d4719d956a5c64e230eb936f /gcc
parent027cec3ba13e98b554378b1e57ebfc1791b3f2c5 (diff)
downloadgcc-cfa88f628d205e3630b739415c2ff812d35ac710.zip
gcc-cfa88f628d205e3630b739415c2ff812d35ac710.tar.gz
gcc-cfa88f628d205e3630b739415c2ff812d35ac710.tar.bz2
(install-common): Install protoize and related files if they were compiled.
(install-proto): Target deleted. From-SVN: r1760
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in21
1 files changed, 11 insertions, 10 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 30f8126..c643b91 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1391,6 +1391,17 @@ install-common: native install-dir xgcc $(srcdir)/g++ $(srcdir)/c++ $(EXTRA_PART
ln $(bindir)/gcc $(bindir)/gcc-$(target)-1; \
mv $(bindir)/gcc-$(target)-1 $(bindir)/gcc-$(target); \
fi
+# Install protoize if it was compiled.
+ if [ -f protoize ]; \
+ then \
+ rm -f $(bindir)/protoize; \
+ $(INSTALL_PROGRAM) protoize $(bindir)/protoize; \
+ rm -f $(bindir)/unprotoize; \
+ $(INSTALL_PROGRAM) unprotoize $(bindir)/unprotoize; \
+ rm -f $(libsubdir)/SYSCALLS.c.X; \
+ $(INSTALL_DATA) SYSCALLS.c.X $(libsubdir)/SYSCALLS.c.X; \
+ chmod a-x $(libsubdir)/SYSCALLS.c.X; \
+ fi
-rm -f $(bindir)/c++
$(INSTALL_PROGRAM) $(srcdir)/c++ $(bindir)/c++
-rm -f $(bindir)/g++
@@ -1398,16 +1409,6 @@ install-common: native install-dir xgcc $(srcdir)/g++ $(srcdir)/c++ $(EXTRA_PART
-rm -f $(libsubdir)/cpp
$(INSTALL_PROGRAM) cpp $(libsubdir)/cpp
-# Install protoize.
-install-proto: proto install-dir
- -rm -f $(bindir)/protoize
- $(INSTALL_PROGRAM) protoize $(bindir)/protoize
- -rm -f $(bindir)/unprotoize
- $(INSTALL_PROGRAM) unprotoize $(bindir)/unprotoize
- -rm -f $(libsubdir)/SYSCALLS.c.X
- $(INSTALL_DATA) SYSCALLS.c.X $(libsubdir)/SYSCALLS.c.X
- chmod a-x $(libsubdir)/SYSCALLS.c.X
-
# Install the man pages.
install-man: install-dir $(srcdir)/gcc.1 $(srcdir)/cccp.1 $(srcdir)/g++.1
-rm -f $(mandir)/gcc$(manext)