Fix build for Solaris: "all" must be the first make target.
[exim.git] / src / OS / Makefile-HP-UX
index a28c7ed31284e7a4d0fb26fca75b2c3d0e6c7886..ea35144bb2bf26947ede2da0c4d1ce856357198f 100644 (file)
@@ -1,5 +1,3 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.4 2005/08/08 10:48:27 ph10 Exp $
-
 # Exim: OS-specific make file for HP-UX later than 9
 
 # HP ANSI C compiler
 # Exim: OS-specific make file for HP-UX later than 9
 
 # HP ANSI C compiler
@@ -9,8 +7,9 @@
 # there have been some problems reported with this compiler with +O2 set.
 
 # gcc
 # 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
 
 BASENAME_COMMAND=/bin/basename
 HAVE_ICONV=yes
@@ -23,4 +22,6 @@ EXIMON_TEXTPOP=
 DBMLIB=-lndbm
 RANLIB=@true
 
 DBMLIB=-lndbm
 RANLIB=@true
 
+OS_C_INCLUDES=setenv.c
+
 # End
 # End