exim-filter dynamic module
[exim.git] / src / OS / unsupported / Makefile-CYGWIN
1 # OS-specific file for Cygwin.
2 # SPDX-License-Identifier: GPL-2.0-or-later
3
4 # This file provided by Pierre A. Humblet <Pierre.Humblet@ieee.org>
5
6 HAVE_IPV6 = yes
7 HAVE_ICONV = yes
8 # Use c99 to have %z 
9 CFLAGS= -g -Wall -std=c99 -U __STRICT_ANSI__
10 LIBS= -lcrypt -lresolv
11 LIBS_EXIM= -liconv
12 EXIWHAT_PS_ARG=-as
13 EXIWHAT_KILL_SIGNAL=-USR1
14 EXIWHAT_EGREP_ARG='/(EXIM|exim)[0-9. -]*$$'
15
16 DBMLIB=-lgdbm
17 USE_GDBM=YES
18
19 # Some OS add a suffix to executables
20 EXE = .exe
21
22 # To add a resource file with an icon
23 LIBS_EXIM +=../Local/exim_res.o
24
25 # To produce a linker map
26 #LIBS_EXIM+=-Wl,-Map,Exim.Map
27
28
29 ##################################################
30 # The following is normally set in local/Makefile.
31 # Makefile.cygwin provides defaults with which the
32 # precompiled version is built
33 ##################################################
34
35 BIN_DIRECTORY=/usr/bin
36 CONFIGURE_FILE=/etc/exim.conf
37 EXIM_USER=18   # This changes if user exim exists
38 EXIM_GROUP=544 # Administrators
39 SPOOL_DIRECTORY=/var/spool/exim
40 LOG_FILE_PATH=/var/log/exim/exim_%s.log
41 TIMEZONE_DEFAULT = ""
42
43 AUTH_CRAM_MD5=yes
44 AUTH_PLAINTEXT=yes
45 AUTH_SPA=yes
46
47 #DISABLE_TLS=yes
48 TLS_LIBS=-lssl -lcrypto
49
50 ROUTER_ACCEPT=yes
51 ROUTER_DNSLOOKUP=yes
52 ROUTER_IPLITERAL=yes
53 ROUTER_MANUALROUTE=yes
54 ROUTER_QUERYPROGRAM=yes
55 ROUTER_REDIRECT=yes
56
57 TRANSPORT_APPENDFILE=yes
58 TRANSPORT_AUTOREPLY=yes
59 TRANSPORT_PIPE=yes
60 TRANSPORT_SMTP=yes
61
62 SUPPORT_MAILDIR=yes
63 SUPPORT_MAILSTORE=yes
64 SUPPORT_MBX=yes
65
66 LOOKUP_DBM=yes
67 LOOKUP_LSEARCH=yes
68
69 # LOOKUP_CDB=yes
70 LOOKUP_DNSDB=yes
71 LOOKUP_DSEARCH=yes
72 LOOKUP_LDAP=yes
73 # LOOKUP_MYSQL=yes
74 # LOOKUP_NIS=yes
75 # LOOKUP_NISPLUS=yes
76 # LOOKUP_ORACLE=yes
77 LOOKUP_PASSWD=yes
78 # LOOKUP_PGSQL=yes
79 # LOOKUP_WHOSON=yes
80
81 LDAP_LIB_TYPE=OPENLDAP2
82 LOOKUP_LIBS=-lldap -llber
83
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 # All modes are in octal and must start with 0
104 EXIMDB_DIRECTORY_MODE    = 01777
105 EXIMDB_MODE              = 0666
106 EXIMDB_LOCKFILE_MODE     = 0666
107 INPUT_DIRECTORY_MODE  = 01777
108 LOG_DIRECTORY_MODE    = 01777
109 LOG_MODE              = 0666
110 MSGLOG_DIRECTORY_MODE = 01777
111 SPOOL_DIRECTORY_MODE  = 01777
112 SPOOL_MODE            = 0600
113
114 # End