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