2014-05-05 Roland McGrath <roland@hack.frob.com>
+ * elf/Makefile (others, install-bin): Remove pldd.
+ (pldd-modules): Variable removed.
+ ($(objpfx)pldd): Target removed.
+ * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
+ (others, install-bin): Append pldd here.
+ ($(objpfx)pldd): New target.
+
* sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
to 0, so the first #if test emitted later doesn't see it undefined.
(END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
install-bin-script = ldd
endif
-others = sprof sln pldd
-install-bin = sprof pldd
+others = sprof sln
+install-bin = sprof
others-static = sln
install-rootsbin = sln
sln-modules := static-stubs
endif
endif
-pldd-modules := xmalloc
-
# To find xmalloc.c and xstrdup.c
vpath %.c ../locale/programs
$(objpfx)ldconfig: $(ldconfig-modules:%=$(objpfx)%.o)
-$(objpfx)pldd: $(pldd-modules:%=$(objpfx)%.o)
-
SYSCONF-FLAGS := -D'SYSCONFDIR="$(sysconfdir)"'
CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' \
-D'SLIBDIR="$(slibdir)"' -DIS_IN_ldconfig=1