Transport: fix smtp under combo of mua_wrapper and limited max_rcpt
[exim.git] / src / OS / Makefile-HP-UX
index 7b77b1002f1adb2e00a3cbb2d5e616f15c5e1f89..ea35144bb2bf26947ede2da0c4d1ce856357198f 100644 (file)
@@ -1,12 +1,15 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.2 2005/06/17 09:02:40 ph10 Exp $
-
 # Exim: OS-specific make file for HP-UX later than 9
 
 # HP ANSI C compiler
 #CC=cc
-#CFLAGS=+O1 +Onolimit -z -D_XOPEN_SOURCE_EXTENDED
+#CFLAGS=+O2 +Onolimit -z -D_XOPEN_SOURCE_EXTENDED
+# Users of the A.06.00 compiler might need to use +O1 rather than +O2 as
+# there have been some problems reported with this compiler with +O2 set.
+
 # gcc
-CFLAGS=-O -Wl,-z -D_XOPEN_SOURCE_EXTENDED
+CFLAGS=-O -D_XOPEN_SOURCE_EXTENDED
+LDFLAGS=-Wl,-z
+LIBS=-lm
 
 BASENAME_COMMAND=/bin/basename
 HAVE_ICONV=yes
@@ -19,4 +22,6 @@ EXIMON_TEXTPOP=
 DBMLIB=-lndbm
 RANLIB=@true
 
+OS_C_INCLUDES=setenv.c
+
 # End