Commit 3917813c by Ralf Wildenhues Committed by Ralf Wildenhues

Fix minor build system issues in lto-plugin.

lto-plugin/:
	* Makefile.am (all-local): Rename from 'all'.
	(gcc_build_dir): Use $(host_subdir).
	* Makefile.in: Regenerate.

From-SVN: r170075
parent c59ebd85
2011-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.am (all-local): Rename from 'all'.
* Makefile.in: Regenerate.
2011-02-12 Alexandre Oliva <aoliva@redhat.com> 2011-02-12 Alexandre Oliva <aoliva@redhat.com>
PR lto/47225 PR lto/47225
......
...@@ -12,7 +12,7 @@ AM_CFLAGS = -Wall -Werror ...@@ -12,7 +12,7 @@ AM_CFLAGS = -Wall -Werror
AM_LIBTOOLFLAGS = --tag=disable-static AM_LIBTOOLFLAGS = --tag=disable-static
libexecsub_LTLIBRARIES = liblto_plugin.la libexecsub_LTLIBRARIES = liblto_plugin.la
gcc_build_dir = ../gcc gcc_build_dir = ../$(host_subdir)/gcc
in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib)) in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib))
# Can be removed when libiberty becomes a normal convenience library # Can be removed when libiberty becomes a normal convenience library
...@@ -27,7 +27,7 @@ liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \ ...@@ -27,7 +27,7 @@ liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \
liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \ liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \
../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,) ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,)
all: $(in_gcc_libs) all-local: $(in_gcc_libs)
$(in_gcc_libs) : $(gcc_build_dir)/%: % $(in_gcc_libs) : $(gcc_build_dir)/%: %
@if test "X`dlname=; . ./$*; echo dlname:$$dlname`" = "Xdlname:"; then \ @if test "X`dlname=; . ./$*; echo dlname:$$dlname`" = "Xdlname:"; then \
......
...@@ -230,7 +230,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS) ...@@ -230,7 +230,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS)
AM_CFLAGS = -Wall -Werror AM_CFLAGS = -Wall -Werror
AM_LIBTOOLFLAGS = --tag=disable-static AM_LIBTOOLFLAGS = --tag=disable-static
libexecsub_LTLIBRARIES = liblto_plugin.la libexecsub_LTLIBRARIES = liblto_plugin.la
gcc_build_dir = ../gcc gcc_build_dir = ../$(host_subdir)/gcc
in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib)) in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib))
# Can be removed when libiberty becomes a normal convenience library # Can be removed when libiberty becomes a normal convenience library
...@@ -413,7 +413,7 @@ distclean-tags: ...@@ -413,7 +413,7 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
check-am: all-am check-am: all-am
check: check-am check: check-am
all-am: Makefile $(LTLIBRARIES) config.h all-am: Makefile $(LTLIBRARIES) config.h all-local
installdirs: installdirs:
for dir in "$(DESTDIR)$(libexecsubdir)"; do \ for dir in "$(DESTDIR)$(libexecsubdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
...@@ -517,22 +517,23 @@ uninstall-am: uninstall-libexecsubLTLIBRARIES ...@@ -517,22 +517,23 @@ uninstall-am: uninstall-libexecsubLTLIBRARIES
.MAKE: all install-am install-strip .MAKE: all install-am install-strip
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
clean-generic clean-libexecsubLTLIBRARIES clean-libtool ctags \ clean clean-generic clean-libexecsubLTLIBRARIES clean-libtool \
distclean distclean-compile distclean-generic distclean-hdr \ ctags distclean distclean-compile distclean-generic \
distclean-libtool distclean-tags dvi dvi-am html html-am info \ distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \
info-am install install-am install-data install-data-am \ html-am info info-am install install-am install-data \
install-dvi install-dvi-am install-exec install-exec-am \ install-data-am install-dvi install-dvi-am install-exec \
install-html install-html-am install-info install-info-am \ install-exec-am install-html install-html-am install-info \
install-libexecsubLTLIBRARIES install-man install-pdf \ install-info-am install-libexecsubLTLIBRARIES install-man \
install-pdf-am install-ps install-ps-am install-strip \ install-pdf install-pdf-am install-ps install-ps-am \
installcheck installcheck-am installdirs maintainer-clean \ install-strip installcheck installcheck-am installdirs \
maintainer-clean-generic mostlyclean mostlyclean-compile \ maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
tags uninstall uninstall-am uninstall-libexecsubLTLIBRARIES pdf pdf-am ps ps-am tags uninstall uninstall-am \
uninstall-libexecsubLTLIBRARIES
all: $(in_gcc_libs)
all-local: $(in_gcc_libs)
$(in_gcc_libs) : $(gcc_build_dir)/%: % $(in_gcc_libs) : $(gcc_build_dir)/%: %
@if test "X`dlname=; . ./$*; echo dlname:$$dlname`" = "Xdlname:"; then \ @if test "X`dlname=; . ./$*; echo dlname:$$dlname`" = "Xdlname:"; then \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment