Fix tests 5401 and 5410 when not run under a user named eximtest.
[exim.git] / src / OS / Makefile-CYGWIN
CommitLineData
61ec970d
PH
1# OS-specific file for Cygwin.
2
3# This file provided by Pierre A. Humblet <Pierre.Humblet@ieee.org>
4
5HAVE_ICONV = yes
6CFLAGS= -g -Wall -O2
b6c6011d 7LIBS= -lcrypt -lresolv
61ec970d
PH
8LIBS_EXIM= -liconv
9EXIWHAT_PS_ARG=-as
10EXIWHAT_KILL_SIGNAL=-USR1
11EXIWHAT_EGREP_ARG='/(EXIM|exim)[0-9. -]*$$'
12
13DBMLIB=-lgdbm
14USE_GDBM=YES
15
16# Some OS add a suffix to executables
17EXE = .exe
18
19# To add a resource file with an icon
20LIBS_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
32BIN_DIRECTORY=/usr/bin
33CONFIGURE_FILE=/etc/exim.conf
34EXIM_USER=18 # This changes if user exim exists
35EXIM_GROUP=544 # Administrators
36SPOOL_DIRECTORY=/var/spool/exim
37LOG_FILE_PATH=/var/log/exim/exim_%s.log
38TIMEZONE_DEFAULT = ""
39
40AUTH_CRAM_MD5=yes
41AUTH_PLAINTEXT=yes
42AUTH_SPA=yes
43
44SUPPORT_TLS=yes
45TLS_LIBS=-lssl -lcrypto
46
47ROUTER_ACCEPT=yes
48ROUTER_DNSLOOKUP=yes
49ROUTER_IPLITERAL=yes
50ROUTER_MANUALROUTE=yes
51ROUTER_QUERYPROGRAM=yes
52ROUTER_REDIRECT=yes
53
54TRANSPORT_APPENDFILE=yes
55TRANSPORT_AUTOREPLY=yes
56TRANSPORT_PIPE=yes
57TRANSPORT_SMTP=yes
58
59SUPPORT_MAILDIR=yes
60SUPPORT_MAILSTORE=yes
61SUPPORT_MBX=yes
62
63LOOKUP_DBM=yes
64LOOKUP_LSEARCH=yes
65
66# LOOKUP_CDB=yes
67LOOKUP_DNSDB=yes
0c2c1095
PH
68LOOKUP_DSEARCH=yes
69LOOKUP_LDAP=yes
61ec970d
PH
70# LOOKUP_MYSQL=yes
71# LOOKUP_NIS=yes
72# LOOKUP_NISPLUS=yes
73# LOOKUP_ORACLE=yes
74LOOKUP_PASSWD=yes
75# LOOKUP_PGSQL=yes
76# LOOKUP_WHOSON=yes
77
b6c6011d 78LDAP_LIB_TYPE=OPENLDAP2
ddfcd446 79LOOKUP_LIBS=-lldap -llber
b6c6011d
PH
80
81# WITH_OLD_DEMIME=yes
82WITH_CONTENT_SCAN=yes
83
84# It is important to define these variables but the values are always overridden
85CONFIGURE_OWNER=18
86CONFIGURE_GROUP=544
61ec970d
PH
87
88EXICYCLOG_MAX=10
89
90COMPRESS_COMMAND=/usr/bin/gzip
91COMPRESS_SUFFIX=gz
92ZCAT_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
98SUPPORT_PAM=yes
99CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam
100
101APPENDFILE_MODE = 0644 # default if no ntsec
102APPENDFILE_DIRECTORY_MODE = 0777
103APPENDFILE_LOCKFILE_MODE = 0666
104EXIMDB_DIRECTORY_MODE = 0777
105EXIMDB_MODE = 0666
106EXIMDB_LOCKFILE_MODE = 0666
107INPUT_DIRECTORY_MODE = 0777
108LOG_DIRECTORY_MODE = 0777
109LOG_MODE = 0666
110MSGLOG_DIRECTORY_MODE = 0777
111SPOOL_DIRECTORY_MODE = 0777
112SPOOL_MODE = 0666
113
61ec970d 114# End