#	from: @(#)Makefile	8.1 (Berkeley) 6/4/93
#	$Id: Makefile,v 1.25 2009/12/18 17:09:10 sjg Exp $

PROG=	SSLrshd
MAN=	SSLrshd.8

SRCS=rshd.c 
CFLAGS+= -U_ANSI_SOURCE 

.include <prog.mk>

# we need to play games to avoid this, not yet.
W_format=-Wno-format

.if make(all)
# work out what default path we should use, from /bin/sh
# but lose '.'
.ifndef SH_DEFPATH
SH_DEFPATH != (strings /bin/sh | grep /bin: | grep -v = | \
	sed 's,\.,,;s,^:*,,;s,:*$$,,'; echo ) 2> /dev/null | head -1
.endif
.if ${SH_DEFPATH} != ""
CFLAGS+= -D_PATH_SH_DEFPATH=\"${SH_DEFPATH}\"
.endif
.endif
