diff options
| author | Glenn Morris | 2010-03-20 11:13:46 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-03-20 11:13:46 -0700 |
| commit | 5e58e3a4f72e2cf766e8707bab6b7be256bb843c (patch) | |
| tree | 5f59554cf8324f4f968847210ada345f715882de /lib-src | |
| parent | 22e8757456ea6608246d9c81a83f6c5119f2e1fb (diff) | |
| download | emacs-5e58e3a4f72e2cf766e8707bab6b7be256bb843c.tar.gz emacs-5e58e3a4f72e2cf766e8707bab6b7be256bb843c.zip | |
Cosmetic changes to lib-src/Makefile.in.
* Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
defining these as Makefile variables.
(LIBS_MOVE): Add LIBS_MAIL into this.
(movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 8 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 27 |
2 files changed, 30 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 998d3370c44..4e9c7e19ff7 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2010-03-20 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) | ||
| 4 | (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by | ||
| 5 | defining these as Makefile variables. | ||
| 6 | (LIBS_MOVE): Add LIBS_MAIL into this. | ||
| 7 | (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well. | ||
| 8 | |||
| 1 | 2010-03-18 Glenn Morris <rgm@gnu.org> | 9 | 2010-03-18 Glenn Morris <rgm@gnu.org> |
| 2 | 10 | ||
| 3 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) | 11 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index fa928745996..1e3d6868073 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -130,6 +130,27 @@ EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | |||
| 130 | # If neither flag is set, blessmail is used. | 130 | # If neither flag is set, blessmail is used. |
| 131 | MOVE_FLAGS= | 131 | MOVE_FLAGS= |
| 132 | 132 | ||
| 133 | ## -lkrb if HAVE_LIBKRB or -lkrb4 if HAVE_LIBKRB4 | ||
| 134 | KRB4LIB=@KRB4LIB@ | ||
| 135 | ## -ldes if HAVE_LIBDES or -ldes425 if HAVE_LIBDES425 | ||
| 136 | DESLIB=@DESLIB@ | ||
| 137 | ## -lkrb5 if HAVE_LIBKRB5 | ||
| 138 | KRB5LIB=@KRB5LIB@ | ||
| 139 | ## -lk5crypto if HAVE_LIBK5CRYPTO or -lcrypto if HAVE_LIBCRYPTO | ||
| 140 | CRYPTOLIB=@CRYPTOLIB@ | ||
| 141 | ## -lcom_err if HAVE_LIBCOM_ERR | ||
| 142 | COM_ERRLIB=@COM_ERRLIB@ | ||
| 143 | ## -lhesiod if HAVE_LIBHESIOD | ||
| 144 | LIBHESIOD=@LIBHESIOD@ | ||
| 145 | ## -lresolv if HAVE_LIBRESOLV | ||
| 146 | LIBRESOLV=@LIBRESOLV@ | ||
| 147 | ## -llockfile if HAVE_LIBLOCKFILE or -lmail if HAVE_LIBMAIL | ||
| 148 | LIBS_MAIL=@LIBS_MAIL@ | ||
| 149 | |||
| 150 | ## Extra libraries to use when linking movemail. | ||
| 151 | LIBS_MOVE = $(LIBS_MAIL) $(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(LIBHESIOD) $(LIBRESOLV) | ||
| 152 | |||
| 153 | |||
| 133 | # ========================== start of cpp stuff ======================= | 154 | # ========================== start of cpp stuff ======================= |
| 134 | /* From here on, comments must be done in C syntax. */ | 155 | /* From here on, comments must be done in C syntax. */ |
| 135 | 156 | ||
| @@ -168,10 +189,6 @@ MOVE_FLAGS= | |||
| 168 | #define BLESSMAIL | 189 | #define BLESSMAIL |
| 169 | #endif | 190 | #endif |
| 170 | 191 | ||
| 171 | LIBS_MOVE=@KRB4LIB@ @DESLIB@ @KRB5LIB@ @CRYPTOLIB@ @COM_ERRLIB@ @LIBHESIOD@ @LIBRESOLV@ | ||
| 172 | |||
| 173 | LIBS_MAIL=@LIBS_MAIL@ | ||
| 174 | |||
| 175 | LOADLIBES=LIBS_SYSTEM LIBS_MACHINE | 192 | LOADLIBES=LIBS_SYSTEM LIBS_MACHINE |
| 176 | 193 | ||
| 177 | /* Those files shared with other GNU utilities need HAVE_CONFIG_H | 194 | /* Those files shared with other GNU utilities need HAVE_CONFIG_H |
| @@ -365,7 +382,7 @@ b2m${EXEEXT}: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS) | |||
| 365 | $(GETOPTOBJS) $(LOADLIBES) -o b2m | 382 | $(GETOPTOBJS) $(LOADLIBES) -o b2m |
| 366 | 383 | ||
| 367 | movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS) | 384 | movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS) |
| 368 | $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail | 385 | $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MOVE) -o movemail |
| 369 | 386 | ||
| 370 | /* We need to define emacs to get the right version of something (what?). */ | 387 | /* We need to define emacs to get the right version of something (what?). */ |
| 371 | movemail.o: ${srcdir}/movemail.c ../src/config.h $(GETOPT_H) | 388 | movemail.o: ${srcdir}/movemail.c ../src/config.h $(GETOPT_H) |