aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-06-04 23:20:08 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-06-04 23:20:08 +0000
commit91b3a2b6789f8300dcb6ec7355b9873b5543a3c9 (patch)
tree03f099426c4b6a51f754b4e6edf3df68a08a7466 /ld/Makefile.in
parenteb392e68253002c27466cab34411623c5cb8ff5a (diff)
downloadgdb-91b3a2b6789f8300dcb6ec7355b9873b5543a3c9.zip
gdb-91b3a2b6789f8300dcb6ec7355b9873b5543a3c9.tar.gz
gdb-91b3a2b6789f8300dcb6ec7355b9873b5543a3c9.tar.bz2
* Makefile.in: remove old C++ rules; remove install:all and
install-info:info dependencies (these cause some spurious rebuilds at 'make install' time)
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index b66bbcb..7178b4b 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -95,8 +95,6 @@ HOSTING_CRT0=/lib/crt0.o
HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc
HOSTING_EMU=LDEMULATION=$(EMUL); export LDEMULATION
-C++ = g++ -fgnu-linker
-
### Host, target, and site specific Makefile fragments come in here.
####
@@ -107,9 +105,6 @@ LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $<
-.cc.o:
- $(C++) -c $(CFLAGS) -I$(srcdir) $<
-
# go directly to ld.new in case this ld isn't capable of
# linking native object on this host. It can be renamed on
# install.
@@ -511,7 +506,7 @@ tags TAGS:$(SOURCES) $(HEADERS)
objdump:objdump.c
.PHONY: install
-install: $(LD_PROG)
+install:
-parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
-if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi
@@ -531,7 +526,7 @@ install: $(LD_PROG)
ln $(tooldir)/bin/ld $(tooldir)/bin/gld; \
else true; fi
-install-info: info
+install-info:
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi