+# Additional -D flags for movemail (add to MOVE_FLAGS if desired):
+# MAIL_USE_POP Support mail retrieval from a POP mailbox.
+# MAIL_USE_MMDF Support MMDF mailboxes.
+# MAIL_USE_FLOCK Use flock for file locking (see the comments
+# about locking in movemail.c)
+# MAIL_UNLINK_SPOOL Unlink the user's spool mailbox after reading
+# it (instead of just emptying it).
+# KERBEROS Support Kerberized POP.
+# KRB5 Support Kerberos Version 5 pop instead of
+# Version 4 (define this in addition to
+# KERBEROS).
+# HESIOD Support Hesiod lookups of user mailboxes.
+# MAILHOST A string, the host name of the default POP
+# mail host for the site.
+MOVE_FLAGS=
+
+# ========================== start of cpp stuff =======================
+/* From here on, comments must be done in C syntax. */
+
+#define NO_SHORTNAMES
+#define THIS_IS_MAKEFILE
+#define NOT_C_CODE
+#include "../src/config.h"
+
+/* Some machines don\'t find the standard C libraries in the usual place. */
+#ifndef ORDINARY_LINK
+#ifndef LIB_STANDARD_LIBSRC
+#define LIB_STANDARD_LIBSRC -lc
+#endif
+#else
+#ifndef LIB_STANDARD_LIBSRC
+#define LIB_STANDARD_LIBSRC
+#endif
+#endif
+
+/* Some s/SYSTEM.h files define this to request special libraries. */
+#ifndef LIBS_SYSTEM
+#define LIBS_SYSTEM
+#endif
+
+/* Some m/MACHINE.h files define this to request special libraries. */
+#ifndef LIBS_MACHINE
+#define LIBS_MACHINE
+#endif
+
+#ifndef C_SWITCH_SYSTEM
+#define C_SWITCH_SYSTEM
+#endif
+
+#ifndef C_SWITCH_MACHINE
+#define C_SWITCH_MACHINE
+#endif
+
+#undef MOVEMAIL_NEEDS_BLESSING
+#ifndef MAIL_USE_FLOCK
+#ifndef MAIL_USE_LOCKF
+#define MOVEMAIL_NEEDS_BLESSING
+#endif
+#endif
+
+#ifdef MOVEMAIL_NEEDS_BLESSING
+#define BLESSMAIL blessmail
+#else
+#define BLESSMAIL
+#endif
+
+#ifdef KERBEROS
+# ifdef HAVE_LIBKRB
+ KRB4LIB = -lkrb
+# else
+# ifdef HAVE_LIBKRB4
+ KRB4LIB = -lkrb4
+# endif
+# endif
+# ifdef HAVE_LIBDES
+ DESLIB = -ldes
+# else
+# ifdef HAVE_LIBDES425
+ DESLIB = -ldes425
+# endif
+# endif
+# ifdef HAVE_LIBKRB5
+ KRB5LIB = -lkrb5
+# endif
+# ifdef HAVE_LIBK5CRYPTO
+ CRYPTOLIB = -lk5crypto
+# else
+# ifdef HAVE_LIBCRYPTO
+ CRYPTOLIB = -lcrypto
+# endif
+# endif
+# ifdef HAVE_LIBCOM_ERR
+ COM_ERRLIB = -lcom_err
+# endif
+#endif /* KERBEROS */
+
+/* If HESIOD is defined, set this to "-lhesiod". */
+#ifdef HAVE_LIBHESIOD
+# ifdef HAVE_LIBRESOLV
+ HESIODLIB= -lhesiod -lresolv
+# else
+ HESIODLIB= -lhesiod
+# endif
+#endif
+
+LIBS_MOVE=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB)
+
+#ifdef HAVE_LIBLOCKFILE
+LIBS_MAIL=-llockfile
+#else
+#ifdef HAVE_LIBMAIL
+LIBS_MAIL=-lmail
+#endif
+#endif
+
+LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC
+
+/* We need to #define emacs to get the right versions of some files.
+ Some other files - those shared with other GNU utilities - need
+ HAVE_CONFIG_H #defined before they know they can take advantage of
+ the information in ../src/config.h. */
+ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
+ -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
+LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
+ -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
+CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
+ -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
+/* This was all of CPP_CFLAGS except -Demacs.
+ Now that -Demacs has been deleted from CPP_CFLAGS,
+ this is actually the same as CPP_CFLAGS, but let\'s not delete it yet. */
+BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
+ -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
+\f
+/* This is the default compilation command.
+ But we should never rely on it, because some make version
+ failed to find it for getopt.o.
+ Using an explicit command made it work. */