X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ddfcd446e8b9bdb55a17d6b950bf55c736505a9e..f4bb363fd4d29d2fae5e6abd006c6e078679c987:/src/OS/Makefile-CYGWIN?ds=sidebyside diff --git a/src/OS/Makefile-CYGWIN b/src/OS/Makefile-CYGWIN index c0efb6f95..006e9feff 100644 --- a/src/OS/Makefile-CYGWIN +++ b/src/OS/Makefile-CYGWIN @@ -1,11 +1,11 @@ -# $Cambridge: exim/src/OS/Makefile-CYGWIN,v 1.5 2006/09/18 11:06:20 ph10 Exp $ - # OS-specific file for Cygwin. # This file provided by Pierre A. Humblet +HAVE_IPV6 = yes HAVE_ICONV = yes -CFLAGS= -g -Wall -O2 +# Use c99 to have %z +CFLAGS= -g -Wall -std=c99 -U __STRICT_ANSI__ LIBS= -lcrypt -lresolv LIBS_EXIM= -liconv EXIWHAT_PS_ARG=-as @@ -26,7 +26,7 @@ LIBS_EXIM +=../Local/exim_res.o ################################################## -# The following is normaly set in local/Makefile. +# The following is normally set in local/Makefile. # Makefile.cygwin provides defaults with which the # precompiled version is built ################################################## @@ -80,7 +80,6 @@ LOOKUP_PASSWD=yes LDAP_LIB_TYPE=OPENLDAP2 LOOKUP_LIBS=-lldap -llber -# WITH_OLD_DEMIME=yes WITH_CONTENT_SCAN=yes # It is important to define these variables but the values are always overridden @@ -100,17 +99,15 @@ ZCAT_COMMAND=/usr/bin/zcat SUPPORT_PAM=yes CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam -APPENDFILE_MODE = 0644 # default if no ntsec -APPENDFILE_DIRECTORY_MODE = 0777 -APPENDFILE_LOCKFILE_MODE = 0666 -EXIMDB_DIRECTORY_MODE = 0777 +# All modes are in octal and must start with 0 +EXIMDB_DIRECTORY_MODE = 01777 EXIMDB_MODE = 0666 EXIMDB_LOCKFILE_MODE = 0666 -INPUT_DIRECTORY_MODE = 0777 -LOG_DIRECTORY_MODE = 0777 +INPUT_DIRECTORY_MODE = 01777 +LOG_DIRECTORY_MODE = 01777 LOG_MODE = 0666 -MSGLOG_DIRECTORY_MODE = 0777 -SPOOL_DIRECTORY_MODE = 0777 -SPOOL_MODE = 0666 +MSGLOG_DIRECTORY_MODE = 01777 +SPOOL_DIRECTORY_MODE = 01777 +SPOOL_MODE = 0600 # End