freebsd-dev/libexec/rshd/Makefile
Mark Murray f9ebf4c2b5 Allow static linking.
Asked for by:	BDE
2001-04-28 07:44:37 +00:00

29 lines
434 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
PROG= rshd
SRCS= rshd.c
MAN= rshd.8
#CFLAGS+= -DCRYPT
CFLAGS+= -Wall
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.if !defined(NOPAM)
CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
# IPv6 support
CFLAGS+= -DINET6
.include <bsd.prog.mk>
.if defined(NOSHARED) && !defined(NOPAM)
DPADD+= ${LIBCRYPTO}
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh -lssh -lcrypto
.endif