aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-28 15:52:48 +0000
committerRichard M. Stallman1996-08-28 15:52:48 +0000
commitae6ed0acbb421fab5bfe7ff1ebb065105c28aab7 (patch)
treeaa6ca34e2170936ae21d2bee65d916bfd4aab5a3 /lib-src/Makefile.in
parent1fc25d6280c6db6dd90a8625969ca2e69051e22f (diff)
downloademacs-ae6ed0acbb421fab5bfe7ff1ebb065105c28aab7.tar.gz
emacs-ae6ed0acbb421fab5bfe7ff1ebb065105c28aab7.zip
(INSTALL_STRIP): New variable.
(${archlibdir}): Use INSTALL_STRIP. (MOVE_LIBS): Use conditionals on KERBEROS, HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r--lib-src/Makefile.in30
1 files changed, 19 insertions, 11 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index a3579754283..da9a0b5b278 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -83,6 +83,8 @@ archlibdir=@archlibdir@
83INSTALL = @INSTALL@ 83INSTALL = @INSTALL@
84INSTALL_PROGRAM = @INSTALL_PROGRAM@ 84INSTALL_PROGRAM = @INSTALL_PROGRAM@
85INSTALL_DATA = @INSTALL_DATA@ 85INSTALL_DATA = @INSTALL_DATA@
86# By default, we uphold the dignity of our programs.
87INSTALL_STRIP =
86 88
87# ========================== Lists of Files =========================== 89# ========================== Lists of Files ===========================
88 90
@@ -179,18 +181,24 @@ MOVE_FLAGS=
179#define BLESSMAIL 181#define BLESSMAIL
180#endif 182#endif
181 183
182#if defined (KERBEROS) && defined (HAVE_LIBKRB) && defined (HAVE_LIBDES) 184#ifdef KERBEROS
183MOVE_LIBS= -lkrb -ldes -lcom_err 185#ifdef HAVE_LIBKRB
184/* For KERBEROS + KRB5 186 /* For krb5, use -lkrb5 */
185 MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err 187 KRBLIB=-lkrb
186 Add "-lhesiod" if HESIOD is defined. */ 188#endif
187#else 189#ifdef HAVE_LIBDES
188#if defined (KERBEROS) && defined (HAVE_LIBKRB) 190 /* For krb4, use -lcrypto */
189MOVE_LIBS= -lkrb -lcom_err 191 DESLIB=-ldes
190#else
191MOVE_LIBS=
192#endif 192#endif
193#ifdef HAVE_LIBCOM_ERR
194 COM_ERRLIB=-lcom_err
193#endif 195#endif
196#endif /* KERBEROS */
197
198/* If HESIOD is defined, set this to "-lhesiod". */
199HESIODLIB=
200
201MOVE_LIBS=$(KRBLIB) $(DESLIB) $(COM_ERRLIB) $(HESIODLIB)
194 202
195LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC 203LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC
196 204
@@ -246,7 +254,7 @@ ${archlibdir}: all
246 $(top_srcdir)/mkinstalldirs ${archlibdir} 254 $(top_srcdir)/mkinstalldirs ${archlibdir}
247 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 255 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
248 for file in ${UTILITIES}; do \ 256 for file in ${UTILITIES}; do \
249 $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ 257 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \
250 done ; \ 258 done ; \
251 fi 259 fi
252 if [ `(cd ${archlibdir} && /bin/pwd)` \ 260 if [ `(cd ${archlibdir} && /bin/pwd)` \