* Makefile.in (make): Remove obsolete crud.

(sparc-opc.o):  Avoid Sun Make VPATH bug.
This commit is contained in:
John Gilmore 1992-09-18 09:05:54 +00:00
parent 6bb40269a0
commit 68ca323803
2 changed files with 9 additions and 30 deletions

View File

@ -1,7 +1,12 @@
Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
* Makefile.in (make): Remove obsolete crud.
(sparc-opc.o): Avoid Sun Make VPATH bug.
Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
* Makefile.in: since there are no SUBDIRS, remove rule and
references of subdir_do.
references of subdir_do.
Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)

View File

@ -108,6 +108,9 @@ $(TARGETLIB): $(OFILES)
$(AR) $(AR_FLAGS) $(TARGETLIB) $(OFILES)
$(RANLIB) $(TARGETLIB)
# Circumvent Sun Make bug with VPATH.
sparc-opc.o: sparc-opc.c
tags etags: TAGS
TAGS: force
@ -149,35 +152,6 @@ install:
$(INSTALL_DATA) $(TARGET_LIB) $(libdir)/libopcodes.a
$(RANLIB) $(libdir)/libopcodes.a
# -parent=`echo $(includedir)|sed -e 's@/[^/]*$$@@'`; \
# if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
# -if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; fi
# $(INSTALL_DATA) $(INCDIR)/bfd.h $(includedir)/bfd.h
# -if [ -z "$(oldincludedir)" ] ; then true ; else if [ -d $(oldincludedir) ] ; then true ; else mkdir $(oldincludedir) ; fi ; $(INSTALL_DATA) $(INCDIR)/bfd.h $(oldincludedir)/bfd.h ; fi
# @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
# Target to uncomment host-specific lines in this makefile. Such lines must
# have the following string beginning in column 1: #__<hostname>__#
# Original Makefile is backed up as 'Makefile.old'.
#
# Invoke with: make make HOST=xxx
#
make:
-@if test $(HOST)x = x ; then \
echo 'Specify "make make HOST=???"'; \
exit 1; \
fi ; \
grep -s "^#The next line was generated by 'make make'" Makefile; \
if test $$? = 0 ; then \
echo "Makefile has already been processed with 'make make'";\
exit 1; \
fi ; \
mv -f Makefile Makefile.old; \
echo "#The next line was generated by 'make make'" >Makefile ; \
echo "HOST=$(HOST)" >>Makefile ; \
echo >>Makefile ; \
sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
$(SHELL) ./config.status