From efe91e52f434688d267ccec34dbc7ab4ae8f9321 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 30 Apr 2005 03:48:25 +0000 Subject: [PATCH] Move $STRIP to top.mk, expand use. --- build/top.mk | 2 ++ clients/tools/Makefile.in | 2 +- servers/slapd/Makefile.in | 1 - servers/slurpd/Makefile.in | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build/top.mk b/build/top.mk index 82e3ff1db9..57af87d6c5 100644 --- a/build/top.mk +++ b/build/top.mk @@ -58,6 +58,8 @@ INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) -m 644 INSTALL_SCRIPT = $(INSTALL) +STRIP = -s + LINT = lint 5LINT = 5lint diff --git a/clients/tools/Makefile.in b/clients/tools/Makefile.in index 7e1a610eb0..d175e3bf9b 100644 --- a/clients/tools/Makefile.in +++ b/clients/tools/Makefile.in @@ -100,7 +100,7 @@ install-local: FORCE -$(MKDIR) $(DESTDIR)$(bindir) @( \ for prg in $(PROGRAMS); do \ - $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \ + $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) -m 755 $$prg$(EXEEXT) \ $(DESTDIR)$(bindir); \ done \ ) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 79751ec1e4..ef1e88c226 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -17,7 +17,6 @@ SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest slapauth slapacl PROGRAMS=slapd $(SLAPTOOLS) XPROGRAMS=sslapd libbackends.a .backend liboverlays.a XSRCS=version.c -STRIP=-s SUBDIRS=back-* shell-backends slapi overlays diff --git a/servers/slurpd/Makefile.in b/servers/slurpd/Makefile.in index b9fe96367b..f4f790b1a8 100644 --- a/servers/slurpd/Makefile.in +++ b/servers/slurpd/Makefile.in @@ -60,7 +60,7 @@ install-local-srv: FORCE @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-slurp @( \ for prg in $(PROGRAMS); do \ - $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \ + $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) -m 755 $$prg$(EXEEXT) \ $(DESTDIR)$(libexecdir); \ done \ ) -- 2.39.5