From 11988f8f9656042c3dfd9002ac85dff33173b9bd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Jun 2011 07:06:21 -0400 Subject: Add pldd program --- elf/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index 6d314a9ab7..844c9ca56f 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -150,8 +150,8 @@ install-others = $(inst_slibdir)/$(rtld-installed-name) install-bin-script = ldd endif -others = sprof sln -install-bin = sprof +others = sprof sln pldd +install-bin = sprof pldd others-static = sln install-rootsbin = sln @@ -164,6 +164,8 @@ install-rootsbin += ldconfig ldconfig-modules := cache readlib xmalloc xstrdup chroot_canon extra-objs += $(ldconfig-modules:=.o) +pldd-modules := xmalloc + # To find xmalloc.c and xstrdup.c vpath %.c ../locale/programs @@ -494,6 +496,9 @@ $(objpfx)ldd: ldd.bash.in $(common-objpfx)soversions.mk \ $(objpfx)sprof: $(libdl) $(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 -- cgit 1.4.1