aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 19:34:50 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 19:34:50 +0000
commit19b7946a85962f9458325637ff3559bca1286c6b (patch)
tree7fb0850ed1341a1f2d3ba69fc631c89bb906a426 /GNUmakefile
parent83a9f272d8b1d2ec08bc3d5b8fa04d5b8feeb349 (diff)
downloadrtmux-19b7946a85962f9458325637ff3559bca1286c6b.tar.gz
rtmux-19b7946a85962f9458325637ff3559bca1286c6b.tar.bz2
rtmux-19b7946a85962f9458325637ff3559bca1286c6b.zip
Start of Solaris port.
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