binutils/
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 29 Aug 2009 00:41:25 +0000 (00:41 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 29 Aug 2009 00:41:25 +0000 (00:41 +0000)
2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
(syslex.o): Likewise.
(sysinfo.o): Likewise.
(bin2c$(EXEEXT_FOR_BUILD)): Likewise.
* Makefile.in: Regenerated.

opcodes/

2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
(LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
* Makefile.in: Regenerated.

binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in

index 987d47f116af00c79b1e1853357bea698ed4fe95..c574745c964dfdf22e60b554cb0f5847cef4485b 100644 (file)
@@ -1,3 +1,12 @@
+2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
+       CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
+       (syslex.o): Likewise.
+       (sysinfo.o): Likewise.
+       (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
+       * Makefile.in: Regenerated.
+
 2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
index d0a367c698cf808fd78c6d5e683aa175f034c69c..dbb07833477695eba1da4854905d804ecb4e1f40 100644 (file)
@@ -251,24 +251,24 @@ sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
        ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
 
 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
-       $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
+       $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ sysinfo.o syslex.o
 
 syslex.o: syslex.c sysinfo.h config.h
        if [ -r syslex.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) syslex.c -Wno-error ; \
        else \
-         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\
+         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/syslex.c -Wno-error ;\
        fi
 
 sysinfo.o: sysinfo.c
        if [ -r sysinfo.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) sysinfo.c -Wno-error ; \
        else \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/sysinfo.c -Wno-error ; \
        fi
 
 bin2c$(EXEEXT_FOR_BUILD):
-       $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) $(srcdir)/bin2c.c $(srcdir)/version.c
+       $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c $(srcdir)/version.c
 
 embedspu: embedspu.sh
        sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@
index 5d3b28c45b01c8fa09f02bb6183a4b10a3578f40..e83cb6d9535561f5edd81b26a060a2dedc9db040 100644 (file)
@@ -1193,24 +1193,24 @@ sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
        ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
 
 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
-       $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
+       $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ sysinfo.o syslex.o
 
 syslex.o: syslex.c sysinfo.h config.h
        if [ -r syslex.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) syslex.c -Wno-error ; \
        else \
-         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\
+         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/syslex.c -Wno-error ;\
        fi
 
 sysinfo.o: sysinfo.c
        if [ -r sysinfo.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) sysinfo.c -Wno-error ; \
        else \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/sysinfo.c -Wno-error ; \
        fi
 
 bin2c$(EXEEXT_FOR_BUILD):
-       $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) $(srcdir)/bin2c.c $(srcdir)/version.c
+       $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c $(srcdir)/version.c
 
 embedspu: embedspu.sh
        sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@
index 9f418b7af628aa7f4ae5a9cbaa9bf124613d5d42..692ea0baa47e5b0ef31f9405649d4235a5477e1d 100644 (file)
@@ -1,3 +1,11 @@
+2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
+       Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
+       (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
+       CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
+       * Makefile.in: Regenerated.
+
 2009-08-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
index 4f9a3909fe687ea741924e316b7108e98234c0f1..7b8bc12a1947e1199fcec278ed15f7e67b936ac1 100644 (file)
@@ -14,8 +14,9 @@ NO_WERROR = @NO_WERROR@
 AM_CFLAGS = $(WARN_CFLAGS)
 
 COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(BUILD_CPPFLAGS) $(BUILD_CFLAGS)
-LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@
+       $(CFLAGS_FOR_BUILD)
+LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
+       $(LDFLAGS_FOR_BUILD) -o $@
 
 libopcodes_la_LDFLAGS =
 if INSTALL_LIBBFD
index 80189acb74cc73c89bd423c06d10895a62c7cb75..09a10c70d202b7df9438c28a70834a097d5d8e08 100644 (file)
@@ -291,9 +291,11 @@ INCDIR = $(srcdir)/../include
 BFDDIR = $(srcdir)/../bfd
 AM_CFLAGS = $(WARN_CFLAGS)
 COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(BUILD_CPPFLAGS) $(BUILD_CFLAGS)
+       $(CFLAGS_FOR_BUILD)
+
+LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
+       $(LDFLAGS_FOR_BUILD) -o $@
 
-LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@
 libopcodes_la_LDFLAGS = $(am__append_1) -release `cat \
        ../bfd/libtool-soversion` @SHARED_LDFLAGS@
 @INSTALL_LIBBFD_TRUE@bfdlib_LTLIBRARIES = libopcodes.la