Store the initial working directory, expand $initial_cwd. Bug 1805
[exim.git] / src / OS / Makefile-HP-UX
index a5d5374c3b6106839682b449dbe2957f330259f7..e00940f32fc48012e04e276a8cfe845b5e3045b9 100644 (file)
@@ -1,8 +1,16 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.1 2004/10/06 15:07:39 ph10 Exp $
-
 # Exim: OS-specific make file for HP-UX later than 9
 
-CFLAGS=-O
+# HP ANSI C compiler
+#CC=cc
+#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 -D_XOPEN_SOURCE_EXTENDED
+LDFLAGS=-Wl,-z
+LIBS=-lm
+
 BASENAME_COMMAND=/bin/basename
 HAVE_ICONV=yes
 HAVE_SETRESUID=YES
@@ -14,4 +22,6 @@ EXIMON_TEXTPOP=
 DBMLIB=-lndbm
 RANLIB=@true
 
+os.o: setenv.c
+
 # End