Start of Solaris port.

This commit is contained in:
Nicholas Marriott
2008-06-18 19:34:50 +00:00
parent 83a9f272d8
commit 19b7946a85
6 changed files with 26 additions and 10 deletions

View File

@ -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