summaryrefslogtreecommitdiff
path: root/lto-plugin
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-22 12:50:00 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-22 12:50:00 +0000
commit4d357b255a4c9dd7e6f3630fbe6448e7503b6994 (patch)
treefeeffc299e70ba30fe082dfad02515ce8d511583 /lto-plugin
parent87d822bba9594a3092ffda523ebd41a2080afa59 (diff)
downloadgcc-4d357b255a4c9dd7e6f3630fbe6448e7503b6994.tar.gz
2010-07-22 Richard Guenther <rguenther@suse.de>
lto-plugin/ * Makefile.am: New copy_lto_plugin rule to install the plugin into ../gcc. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162412 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'lto-plugin')
-rw-r--r--lto-plugin/ChangeLog6
-rw-r--r--lto-plugin/Makefile.am6
-rw-r--r--lto-plugin/Makefile.in5
3 files changed, 17 insertions, 0 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index 82d76634130..04a091b1021 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-22 Richard Guenther <rguenther@suse.de>
+
+ * Makefile.am: New copy_lto_plugin rule to install the plugin
+ into ../gcc.
+ * Makefile.in: Regenerated.
+
2010-05-21 Richard Guenther <rguenther@suse.de>
* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
diff --git a/lto-plugin/Makefile.am b/lto-plugin/Makefile.am
index 665ce190988..da74e1c778c 100644
--- a/lto-plugin/Makefile.am
+++ b/lto-plugin/Makefile.am
@@ -18,3 +18,9 @@ libexecsub_LTLIBRARIES = liblto_plugin.la
liblto_plugin_la_SOURCES = lto-plugin.c
liblto_plugin_la_LIBADD = $(LIBELFLIBS) ../libiberty/pic/libiberty.a
+
+all: copy_lto_plugin
+
+copy_lto_plugin: all-am
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(libexecsub_LTLIBRARIES) `pwd`/../gcc/
+
diff --git a/lto-plugin/Makefile.in b/lto-plugin/Makefile.in
index ead2e7b906d..2f58f9bbe36 100644
--- a/lto-plugin/Makefile.in
+++ b/lto-plugin/Makefile.in
@@ -495,6 +495,11 @@ uninstall-am: uninstall-libexecsubLTLIBRARIES
tags uninstall uninstall-am uninstall-libexecsubLTLIBRARIES
+all: copy_lto_plugin
+
+copy_lto_plugin: all-am
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(libexecsub_LTLIBRARIES) `pwd`/../gcc/
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: