Commit | Line | Data |
---|---|---|
61ec970d PH |
1 | # OS-specific file for Cygwin. |
2 | ||
3 | # This file provided by Pierre A. Humblet <Pierre.Humblet@ieee.org> | |
4 | ||
5 | HAVE_ICONV = yes | |
6 | CFLAGS= -g -Wall -O2 | |
b6c6011d | 7 | LIBS= -lcrypt -lresolv |
61ec970d PH |
8 | LIBS_EXIM= -liconv |
9 | EXIWHAT_PS_ARG=-as | |
10 | EXIWHAT_KILL_SIGNAL=-USR1 | |
11 | EXIWHAT_EGREP_ARG='/(EXIM|exim)[0-9. -]*$$' | |
12 | ||
13 | DBMLIB=-lgdbm | |
14 | USE_GDBM=YES | |
15 | ||
16 | # Some OS add a suffix to executables | |
17 | EXE = .exe | |
18 | ||
19 | # To add a resource file with an icon | |
20 | LIBS_EXIM +=../Local/exim_res.o | |
21 | ||
22 | # To produce a linker map | |
23 | #LIBS_EXIM+=-Wl,-Map,Exim.Map | |
24 | ||
25 | ||
26 | ################################################## | |
27 | # The following is normaly set in local/Makefile. | |
28 | # Makefile.cygwin provides defaults with which the | |
29 | # precompiled version is built | |
30 | ################################################## | |
31 | ||
32 | BIN_DIRECTORY=/usr/bin | |
33 | CONFIGURE_FILE=/etc/exim.conf | |
34 | EXIM_USER=18 # This changes if user exim exists | |
35 | EXIM_GROUP=544 # Administrators | |
36 | SPOOL_DIRECTORY=/var/spool/exim | |
37 | LOG_FILE_PATH=/var/log/exim/exim_%s.log | |
38 | TIMEZONE_DEFAULT = "" | |
39 | ||
40 | AUTH_CRAM_MD5=yes | |
41 | AUTH_PLAINTEXT=yes | |
42 | AUTH_SPA=yes | |
43 | ||
44 | SUPPORT_TLS=yes | |
45 | TLS_LIBS=-lssl -lcrypto | |
46 | ||
47 | ROUTER_ACCEPT=yes | |
48 | ROUTER_DNSLOOKUP=yes | |
49 | ROUTER_IPLITERAL=yes | |
50 | ROUTER_MANUALROUTE=yes | |
51 | ROUTER_QUERYPROGRAM=yes | |
52 | ROUTER_REDIRECT=yes | |
53 | ||
54 | TRANSPORT_APPENDFILE=yes | |
55 | TRANSPORT_AUTOREPLY=yes | |
56 | TRANSPORT_PIPE=yes | |
57 | TRANSPORT_SMTP=yes | |
58 | ||
59 | SUPPORT_MAILDIR=yes | |
60 | SUPPORT_MAILSTORE=yes | |
61 | SUPPORT_MBX=yes | |
62 | ||
63 | LOOKUP_DBM=yes | |
64 | LOOKUP_LSEARCH=yes | |
65 | ||
66 | # LOOKUP_CDB=yes | |
67 | LOOKUP_DNSDB=yes | |
0c2c1095 PH |
68 | LOOKUP_DSEARCH=yes |
69 | LOOKUP_LDAP=yes | |
61ec970d PH |
70 | # LOOKUP_MYSQL=yes |
71 | # LOOKUP_NIS=yes | |
72 | # LOOKUP_NISPLUS=yes | |
73 | # LOOKUP_ORACLE=yes | |
74 | LOOKUP_PASSWD=yes | |
75 | # LOOKUP_PGSQL=yes | |
76 | # LOOKUP_WHOSON=yes | |
77 | ||
b6c6011d | 78 | LDAP_LIB_TYPE=OPENLDAP2 |
ddfcd446 | 79 | LOOKUP_LIBS=-lldap -llber |
b6c6011d PH |
80 | |
81 | # WITH_OLD_DEMIME=yes | |
82 | WITH_CONTENT_SCAN=yes | |
83 | ||
84 | # It is important to define these variables but the values are always overridden | |
85 | CONFIGURE_OWNER=18 | |
86 | CONFIGURE_GROUP=544 | |
61ec970d PH |
87 | |
88 | EXICYCLOG_MAX=10 | |
89 | ||
90 | COMPRESS_COMMAND=/usr/bin/gzip | |
91 | COMPRESS_SUFFIX=gz | |
92 | ZCAT_COMMAND=/usr/bin/zcat | |
93 | ||
94 | # EXIM_PERL=perl.o | |
95 | ||
96 | # Comment the two lines below if you do not have PAM, e.g. from | |
97 | # ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A | |
98 | SUPPORT_PAM=yes | |
99 | CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam | |
100 | ||
101 | APPENDFILE_MODE = 0644 # default if no ntsec | |
102 | APPENDFILE_DIRECTORY_MODE = 0777 | |
103 | APPENDFILE_LOCKFILE_MODE = 0666 | |
104 | EXIMDB_DIRECTORY_MODE = 0777 | |
105 | EXIMDB_MODE = 0666 | |
106 | EXIMDB_LOCKFILE_MODE = 0666 | |
107 | INPUT_DIRECTORY_MODE = 0777 | |
108 | LOG_DIRECTORY_MODE = 0777 | |
109 | LOG_MODE = 0666 | |
110 | MSGLOG_DIRECTORY_MODE = 0777 | |
111 | SPOOL_DIRECTORY_MODE = 0777 | |
112 | SPOOL_MODE = 0666 | |
113 | ||
61ec970d | 114 | # End |