]> git.sur5r.net Git - openldap/commitdiff
Strip installed executables
authorKurt Zeilenga <kurt@openldap.org>
Tue, 30 May 2000 18:23:56 +0000 (18:23 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 30 May 2000 18:23:56 +0000 (18:23 +0000)
better library clean

12 files changed:
build/lib.mk
clients/fax500/Makefile.in
clients/finger/Makefile.in
clients/gopher/Makefile.in
clients/mail500/Makefile.in
clients/rcpt500/Makefile.in
clients/tools/Makefile.in
clients/ud/Makefile.in
servers/ldapd/Makefile.in
servers/slapd/Makefile.in
servers/slapd/tools/Makefile.in
servers/slurpd/Makefile.in

index 036b9d4da839929d9d82dadcdce299332b7bbe76..b647665842f9e09c1d4d612b14201a652e256cfa 100644 (file)
@@ -24,9 +24,8 @@ lint5: lint5-local FORCE
 clean-common:  FORCE
        $(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
                $(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
-               *.o *.lo a.out core version.c .libs/* \
-               ../`$(BASENAME) $(LIBRARY) .la`.so* \
-               ../`$(BASENAME) $(LIBRARY) .la`*.dll *.exe
+               *.o *.lo a.out *.exe core version.c .libs/* \
+               ../`$(BASENAME) $(LIBRARY) .la`{.a,.so*,*.dll}
 
 depend-common: FORCE
        $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
index 7b706f34d5736fb8c27a5672838a294452f32201..eefd45123cae9c079bbf82db24b9c2c79be2e33f 100644 (file)
@@ -37,9 +37,9 @@ install-local: $(PROGRAMS) FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir)
        @(                                                              \
            for prg in $(EXEPRGS); do                                   \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(libexecdir);                            \
            done                                                        \
        )
-       $(INSTALL) $(INSTALLFLAGS) -m 755 xrpcomp.tmp   \
+       $(INSTALL_SCRIPT) $(INSTALLFLAGS) xrpcomp.tmp   \
                $(DESTDIR)$(libexecdir)/xrpcomp
index ce71dc9e0dea80bec97b4ad221f7b3559d44532f..5a5d7fc3ea1bfcffec900e1b03f9f70eb4c4b5cf 100644 (file)
@@ -24,7 +24,7 @@ install-local: $(PROGRAMS) FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir)
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(libexecdir);                            \
            done                                                        \
        )
index aeecb64d908b210d319f2278fc5ee6b1821a8e33..27e2ba136a4bba9697b4b0b412b136399d85b16c 100644 (file)
@@ -36,7 +36,7 @@ install-local: $(PROGRAMS) go500gw.help FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir) $(DESTDIR)$(datadir)
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(libexecdir);                            \
            done                                                        \
        )
index 337cb38f3f05b5b65291db4c18a75d2faa93af5a..260fefcae942a18835dac2e4737d0169db83ed30 100644 (file)
@@ -24,7 +24,7 @@ install-local: $(PROGRAMS) FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir)
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(libexecdir);                            \
            done                                                        \
        )
index a1919f84b15af8f9646f072d240146bd6d67e726..f0e60b5c0e20e745bdc544abde908a3ec4639313 100644 (file)
@@ -25,7 +25,7 @@ install-local: $(PROGRAMS) rcpt500.help FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir) $(DESTDIR)$(datadir)
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(libexecdir);                            \
            done                                                        \
        )
index d9f3e60ac4a3d6a7368f7e40db6434fe2cc21058..ed54b4de99dae390c89d9cd2e449c5fdbdbac493 100644 (file)
@@ -61,7 +61,7 @@ install-local:        FORCE
        -$(MKDIR) $(DESTDIR)$(bindir)
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(bindir);                                \
            done                                                        \
        )
index 6fa47d03cab00dce0aeb945fda0358a6700cec97..7c22affb6b2494f098383bc037b01a0371f158a0 100644 (file)
@@ -29,7 +29,7 @@ install-local: FORCE
        -mv -f $(DESTDIR)$(bindir)/ud $(DESTDIR)$(bindir)/ud-
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(bindir);                                \
            done                                                        \
        )
index 9e4723dfc010f81b86f7e6a67276852bd1d4b115..951782667e3933ab3c40b125602f5b04c40157cd 100644 (file)
@@ -49,4 +49,4 @@ LDAP-types.h: LDAP_tables.c
 
 install-local-srv: FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir)
-       $(LTINSTALL) $(INSTALLFLAGS) -m 755 ldapd $(DESTDIR)$(libexecdir)
+       $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 ldapd $(DESTDIR)$(libexecdir)
index b5d4df214591a3309f18b4f18e073b9fcb18fdec..de642ccd4a67905c70a0f95040432d03bc30a9d2 100644 (file)
@@ -228,8 +228,8 @@ install-local-srv: install-slapd install-conf install-schema install-tools
 install-slapd: FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir)
        -$(MKDIR) $(DESTDIR)$(localstatedir)
-       $(LTINSTALL) $(INSTALLFLAGS) -m 755 slapd$(EXEEXT) \
-                                               $(DESTDIR)$(libexecdir)
+       $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
+               slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
        @if [ ! -z "$(SLAPD_MODULES)" ]; then \
            for i in back-* shell-backends tools; do \
                if [ -d $$i ]; then \
index ece80d638ef5148d9026c3eaa340916fadd6e7b6..0d4efed85055dab67c3526cb5adfe525dfb95a26 100644 (file)
@@ -159,8 +159,8 @@ install-ldbm-no install-bdb2-no install-quipu-no:
 install-ldbm-yes install-ldbm-mod: FORCE
        -$(MKDIR) $(DESTDIR)$(sbindir) 
        @for bin in $(PROGRAMS); do \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$bin$(EXEEXT) \
-                                                   $(DESTDIR)$(sbindir); \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
+                       $$bin$(EXEEXT) $(DESTDIR)$(sbindir); \
        done
 
 install-bdb2-yes install-bdb2-mod: FORCE
@@ -169,5 +169,6 @@ install-bdb2-yes install-bdb2-mod: FORCE
 install-quipu-yes: FORCE
        @-$(MKDIR) $(DESTDIR)$(sbindir)
        for bin in edb2ldif chlog2replog; do \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$bin $(DESTDIR)$(sbindir); \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
+                       $$bin $(DESTDIR)$(sbindir); \
        done
index 17c7cd8246a3e45623c726bc66919794019fc147..6a1137eb161685499d4f128b2d58cc80b47a2a5b 100644 (file)
@@ -47,7 +47,7 @@ install-local-srv: FORCE
        -$(MKDIR) $(DESTDIR)$(libexecdir)
        @(                                                              \
            for prg in $(PROGRAMS); do                                  \
-               $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT)      \
+               $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT)   \
                    $(DESTDIR)$(libexecdir);                            \
            done                                                        \
        )