Allow only Exim or CONFIGURE_OWNER to use whitelisted configs with -C
[users/jgh/exim.git] / src / OS / Makefile-NetBSD
index 0f00789cb35b2d43c27991b2ce3e7ddf18fe3e93..9f0ae0dbc7dd52edf5fb198065303aa3d365c4cd 100644 (file)
@@ -1,13 +1,15 @@
-# $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
 
 # 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
 
 HAVE_SA_LEN=YES
 HAVE_IPV6=YES
-LIBS=-lcrypt
+LIBS=-lcrypt -lm
 
 X11=/usr/X11R6
 XINCLUDE=-I$(X11)/include
 
 X11=/usr/X11R6
 XINCLUDE=-I$(X11)/include