-# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.5 2010/03/05 16:03:59 nm4 Exp $
# Exim: OS-specific make file for NetBSD (ELF object format)
CHOWN_COMMAND=/usr/sbin/chown
-CFLAGS=-O
+CHMOD_COMMAND=/bin/chmod
+
+CFLAGS ?= -O2
HAVE_SA_LEN=YES
HAVE_IPV6=YES
-LIBS=-lcrypt
+LIBS=-lcrypt -lm
X11=/usr/X11R6
XINCLUDE=-I$(X11)/include