aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-30 06:12:03 +0000
committerAlan Modra <amodra@gmail.com>2011-05-30 06:12:03 +0000
commit1c10be1e7a08859947e8362573998c5e07042ee6 (patch)
tree31067d4bf2b4e3b889962e9aae79a475ebc1e877 /binutils/Makefile.am
parent0578b8d157cfe24f77424f9920e1c57497fd3635 (diff)
downloadgdb-1c10be1e7a08859947e8362573998c5e07042ee6.zip
gdb-1c10be1e7a08859947e8362573998c5e07042ee6.tar.gz
gdb-1c10be1e7a08859947e8362573998c5e07042ee6.tar.bz2
PR binutils/12820
* Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to.. (bin_SCRIPTS): ..here. (EXTRA_SCRIPTS): Define. (EXTRA_DIST): Add embedspu.sh. (DISTCLEANFILES): Add embedspu. (embedspu): Depend on Makefile. Replace sed "s" command with "c". * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am13
1 files changed, 8 insertions, 5 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 6f9e4a8..76fc50a 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -60,7 +60,10 @@ DLLWRAP_PROG=dllwrap
SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
-bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ @BUILD_WINDMC@ $(ADDR2LINE_PROG) $(READELF_PROG) $(ELFEDIT_PROG) @BUILD_DLLWRAP@ @BUILD_INSTALL_MISC@
+bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ @BUILD_WINDMC@ $(ADDR2LINE_PROG) $(READELF_PROG) $(ELFEDIT_PROG) @BUILD_DLLWRAP@
+
+bin_SCRIPTS = @BUILD_INSTALL_MISC@
+EXTRA_SCRIPTS = embedspu
## We need a special rule to install the programs which are built with
## -new, and to rename cxxfilt to c++filt.
@@ -284,8 +287,8 @@ sysinfo.@OBJEXT@: sysinfo.c
bin2c$(EXEEXT_FOR_BUILD): bin2c.c
$(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c
-embedspu: embedspu.sh
- sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@
+embedspu: embedspu.sh Makefile
+ sed "/^program_transform_name=/cprogram_transform_name=$(program_transform_name)" < $< > $@
chmod a+x $@
# We need these for parallel make.
@@ -481,7 +484,7 @@ dllwrap_LDADD = $(LIBIBERTY) $(LIBINTL)
EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
syslex.c deflex.c defparse.h defparse.c rcparse.h rcparse.c \
- mcparse.h mcparse.c
+ mcparse.h mcparse.c embedspu.sh
diststuff: $(EXTRA_DIST) info
all: info
@@ -490,7 +493,7 @@ all: info
# when BFD's version changes.
CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
-DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak
+DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak embedspu
MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \
binutils.log binutils.sum abcdefgh*