Set USE_INET_NTOA_FIX for AIX as well as for IRIX (untested).
[exim.git] / src / OS / Makefile-CYGWIN
1 # $Cambridge: exim/src/OS/Makefile-CYGWIN,v 1.3 2005/05/23 16:58:55 fanf2 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 -lm
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 LDAP_LIB_TYPE=OPENLDAP2
69 LIBS_EXIM +=-lldap
70
71 # LOOKUP_CDB=yes
72 LOOKUP_DNSDB=yes
73 LOOKUP_DSEARCH=yes
74 LOOKUP_LDAP=yes
75 # LOOKUP_MYSQL=yes
76 # LOOKUP_NIS=yes
77 # LOOKUP_NISPLUS=yes
78 # LOOKUP_ORACLE=yes
79 LOOKUP_PASSWD=yes
80 # LOOKUP_PGSQL=yes
81 # LOOKUP_WHOSON=yes
82
83 # It is important to define this variable but its value is always overridden
84 CONFIGURE_OWNER=544
85
86 EXICYCLOG_MAX=10
87
88 COMPRESS_COMMAND=/usr/bin/gzip
89 COMPRESS_SUFFIX=gz
90 ZCAT_COMMAND=/usr/bin/zcat
91
92 # EXIM_PERL=perl.o
93
94 # Comment the two lines below if you do not have PAM, e.g. from
95 # ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A
96 SUPPORT_PAM=yes
97 CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam
98
99 APPENDFILE_MODE       = 0644     # default if no ntsec
100 APPENDFILE_DIRECTORY_MODE = 0777
101 APPENDFILE_LOCKFILE_MODE = 0666
102 EXIMDB_DIRECTORY_MODE    = 0777
103 EXIMDB_MODE              = 0666
104 EXIMDB_LOCKFILE_MODE     = 0666
105 INPUT_DIRECTORY_MODE  = 0777
106 LOG_DIRECTORY_MODE    = 0777
107 LOG_MODE              = 0666
108 MSGLOG_DIRECTORY_MODE = 0777
109 SPOOL_DIRECTORY_MODE  = 0777
110 SPOOL_MODE            = 0666
111
112 # PERL_CC=gcc -g -O2 -I ../minires
113 # PERL_CCOPTS= -dD -save-temps -I ../minires
114 # PERL_LIBS = /usr/lib/perl5/5.6.1/cygwin-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.6.1/cygwin-multi/CORE -llibperl5_6_1
115
116 # End