e9b7a9ee7b8e25949804d28b3603e2113cc728ba
[users/heiko/exim.git] / src / OS / Makefile-CYGWIN
1 # $Cambridge: exim/src/OS/Makefile-CYGWIN,v 1.1 2004/10/06 15:07:39 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 # It is important to define this variable but its value is always overridden
81 CONFIGURE_OWNER=544
82
83 EXICYCLOG_MAX=10
84
85 COMPRESS_COMMAND=/usr/bin/gzip
86 COMPRESS_SUFFIX=gz
87 ZCAT_COMMAND=/usr/bin/zcat
88
89 # EXIM_PERL=perl.o
90
91 # Comment the two lines below if you do not have PAM, e.g. from
92 # ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A
93 SUPPORT_PAM=yes
94 CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam
95
96 APPENDFILE_MODE       = 0644     # default if no ntsec
97 APPENDFILE_DIRECTORY_MODE = 0777
98 APPENDFILE_LOCKFILE_MODE = 0666
99 EXIMDB_DIRECTORY_MODE    = 0777
100 EXIMDB_MODE              = 0666
101 EXIMDB_LOCKFILE_MODE     = 0666
102 INPUT_DIRECTORY_MODE  = 0777
103 LOG_DIRECTORY_MODE    = 0777
104 LOG_MODE              = 0666
105 MSGLOG_DIRECTORY_MODE = 0777
106 SPOOL_DIRECTORY_MODE  = 0777
107 SPOOL_MODE            = 0666
108
109 # PERL_CC=gcc -g -O2 -I ../minires
110 # PERL_CCOPTS= -dD -save-temps -I ../minires
111 # 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
112
113 # End