diff options
| author | Richard M. Stallman | 1994-09-27 19:43:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-27 19:43:07 +0000 |
| commit | 81f940520e99edf76c6f1fd1ed69d5b152277d99 (patch) | |
| tree | 7396f5665645fe3bff11fb09f9ac51c8ff73e6e7 /lib-src | |
| parent | 6e280214ba75ec7169f7c6265a749339839a5772 (diff) | |
| download | emacs-81f940520e99edf76c6f1fd1ed69d5b152277d99.tar.gz emacs-81f940520e99edf76c6f1fd1ed69d5b152277d99.zip | |
(MOVE_FLAGS, MOVE_LIBS): New variables.
(pop.o, movemail.o): New targets.
(movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/Makefile.in | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index d25a7a4161f..0d4d13dd829 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -103,6 +103,30 @@ EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | |||
| 103 | SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \ | 103 | SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \ |
| 104 | makedoc.com *.[chy] rcs2log vcdiff | 104 | makedoc.com *.[chy] rcs2log vcdiff |
| 105 | 105 | ||
| 106 | # Additional -D flags for movemail (add to MOVE_FLAGS if desired): | ||
| 107 | # MAIL_USE_POP Support mail retrieval from a POP mailbox. | ||
| 108 | # MAIL_USE_MMDF Support MMDF mailboxes. | ||
| 109 | # MAIL_USE_FLOCK Use flock for file locking (see the comments | ||
| 110 | # about locking in movemail.c) | ||
| 111 | # MAIL_UNLINK_SPOOL Unlink the user's spool mailbox after reading | ||
| 112 | # it (instead of just emptying it). | ||
| 113 | # KERBEROS Support Kerberized POP. | ||
| 114 | # KRB5 Support Kerberos Version 5 pop instead of | ||
| 115 | # Version 4 (define this in addition to | ||
| 116 | # KERBEROS). | ||
| 117 | # HESIOD Support Hesiod lookups of user mailboxes. | ||
| 118 | # MAILHOST A string, the host name of the default POP | ||
| 119 | # mail host for the site. | ||
| 120 | MOVE_FLAGS= | ||
| 121 | |||
| 122 | # Additional libraries for movemail: | ||
| 123 | # For KERBEROS | ||
| 124 | # MOVE_LIBS= -lkrb -ldes -lcom_err | ||
| 125 | # For KERBEROS + KRB5 | ||
| 126 | # MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err | ||
| 127 | # Add "-lhesiod" if HESIOD is defined. | ||
| 128 | MOVE_LIBS= | ||
| 129 | |||
| 106 | # ========================== start of cpp stuff ======================= | 130 | # ========================== start of cpp stuff ======================= |
| 107 | /* From here on, comments must be done in C syntax. */ | 131 | /* From here on, comments must be done in C syntax. */ |
| 108 | 132 | ||
| @@ -299,8 +323,14 @@ sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} | |||
| 299 | b2m: ${srcdir}/b2m.c ../src/config.h | 323 | b2m: ${srcdir}/b2m.c ../src/config.h |
| 300 | $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m | 324 | $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m |
| 301 | 325 | ||
| 302 | movemail: ${srcdir}/movemail.c ../src/config.h | 326 | movemail: movemail.o pop.o |
| 303 | $(CC) ${ALL_CFLAGS} ${srcdir}/movemail.c $(LOADLIBES) -o movemail | 327 | $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(LOADLIBES) $(MOVE_LIBS) -o movemail |
| 328 | |||
| 329 | movemail.o: ${srcdir}/movemail.c ../src/config.h | ||
| 330 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c | ||
| 331 | |||
| 332 | pop.o: ${srcdir}/pop.c | ||
| 333 | $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c | ||
| 304 | 334 | ||
| 305 | cvtmail: ${srcdir}/cvtmail.c | 335 | cvtmail: ${srcdir}/cvtmail.c |
| 306 | $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail | 336 | $(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |