aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 629eb3ee..06866f79 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,4 @@
-# $Id: GNUmakefile,v 1.20 2008-06-18 16:39:15 nicm Exp $
+# $Id: GNUmakefile,v 1.21 2008-06-18 19:34:50 nicm Exp $
.PHONY: clean
@@ -51,6 +51,13 @@ INSTALLDIR= install -d
INSTALLBIN= install -g bin -o root -m 555
INSTALLMAN= install -g bin -o root -m 444
+ifeq ($(shell uname),SunOS)
+INCDIRS+= -Icompat
+SRCS+= compat/strtonum.c
+CFLAGS+= -DNO_STRTONUM -DNO_TREE_H -DNO_PATHS_H -DNO_SETPROCTITLE \
+ -DNO_DAEMON
+endif
+
ifeq ($(shell uname),Darwin)
INCDIRS+= -Icompat
SRCS+= compat/strtonum.c