aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.am
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-06-04 06:57:56 +0000
committerAlan Modra <amodra@gmail.com>2009-06-04 06:57:56 +0000
commit67a648f17aaf9902891ec61c8025b98612dbbab4 (patch)
tree881d0c8205eb31c8a802629f459b397a9cabd4a2 /gprof/Makefile.am
parent26d1917c555cb057baa061fa476ec0e5c0965280 (diff)
downloadgdb-67a648f17aaf9902891ec61c8025b98612dbbab4.zip
gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.tar.gz
gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.tar.bz2
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq. * Makefile.in: Regenerate.
Diffstat (limited to 'gprof/Makefile.am')
-rw-r--r--gprof/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index a2a4217..12d794b 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -194,7 +194,8 @@ DEP1: $(gprof_SOURCES)
for f in $?; do \
$(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
sed -n -e '1s/: .*/: \\/p' -e q < DEPA >> DEP2; \
- sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
+ sed -e '1s/.*: //' -f dep.sed < DEPA | \
+ LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
rm -f DEPA