]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.am: New copy_lto_plugin rule to install the plugin into ../gcc.
authorRichard Guenther <rguenther@suse.de>
Thu, 22 Jul 2010 12:50:00 +0000 (12:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 22 Jul 2010 12:50:00 +0000 (12:50 +0000)
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.

From-SVN: r162412

lto-plugin/ChangeLog
lto-plugin/Makefile.am
lto-plugin/Makefile.in

index 82d76634130e3eed14b22401d2a121a1e5a7926b..04a091b1021d9b94284b297977642e67fdf62f64 100644 (file)
@@ -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.
index 665ce1909880facd3ffac09892487602833d922d..da74e1c778ca4bdba6f93a8d54e938b462a6c8ff 100644 (file)
@@ -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/
+
index ead2e7b906d4f76f360defe3911287f53549d2c0..2f58f9bbe368e2b63656f8a9e14b23c6ffbbbd9b 100644 (file)
@@ -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: