1 # OS-specific file for Cygwin.
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # This file provided by Pierre A. Humblet <Pierre.Humblet@ieee.org>
9 CFLAGS= -g -Wall -std=c99 -U __STRICT_ANSI__
10 LIBS= -lcrypt -lresolv
13 EXIWHAT_KILL_SIGNAL=-USR1
14 EXIWHAT_EGREP_ARG='/(EXIM|exim)[0-9. -]*$$'
19 # Some OS add a suffix to executables
22 # To add a resource file with an icon
23 LIBS_EXIM +=../Local/exim_res.o
25 # To produce a linker map
26 #LIBS_EXIM+=-Wl,-Map,Exim.Map
29 ##################################################
30 # The following is normally set in local/Makefile.
31 # Makefile.cygwin provides defaults with which the
32 # precompiled version is built
33 ##################################################
35 BIN_DIRECTORY=/usr/bin
36 CONFIGURE_FILE=/etc/exim.conf
37 EXIM_USER=18 # This changes if user exim exists
38 EXIM_GROUP=544 # Administrators
39 SPOOL_DIRECTORY=/var/spool/exim
40 LOG_FILE_PATH=/var/log/exim/exim_%s.log
48 TLS_LIBS=-lssl -lcrypto
53 ROUTER_MANUALROUTE=yes
54 ROUTER_QUERYPROGRAM=yes
57 TRANSPORT_APPENDFILE=yes
58 TRANSPORT_AUTOREPLY=yes
81 LDAP_LIB_TYPE=OPENLDAP2
82 LOOKUP_LIBS=-lldap -llber
86 # It is important to define these variables but the values are always overridden
92 COMPRESS_COMMAND=/usr/bin/gzip
94 ZCAT_COMMAND=/usr/bin/zcat
98 # Comment the two lines below if you do not have PAM, e.g. from
99 # ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A
101 CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam
103 # All modes are in octal and must start with 0
104 EXIMDB_DIRECTORY_MODE = 01777
106 EXIMDB_LOCKFILE_MODE = 0666
107 INPUT_DIRECTORY_MODE = 01777
108 LOG_DIRECTORY_MODE = 01777
110 MSGLOG_DIRECTORY_MODE = 01777
111 SPOOL_DIRECTORY_MODE = 01777