7f83d9efc7
for various methods -- some may be too new to be available in earlier versions of OpenSSL, others -- too old to be found in latest ones. Submitted upstream. Reported by: pkg-fallout
19 lines
419 B
Makefile
19 lines
419 B
Makefile
# $FreeBSD$
|
|
|
|
PROG=sst
|
|
|
|
BINDIR=${PREFIX}/sbin
|
|
MANDIR=${PREFIX}/man/man
|
|
|
|
CFLAGS+= -DCONFDIR='"${OPENSSLDIR}"' -DCERTF='"certs/sst.pem"' \
|
|
-I${OPENSSLINC} -Wno-comment
|
|
# -Wno-dangling-else not available in gcc-4.2, which is still around...
|
|
.if exists(/usr/bin/nc)
|
|
CFLAGS+= -DNETCAT='"/usr/bin/nc"'
|
|
.else
|
|
CFLAGS+= -DNETCAT='"${LOCALBASE}/bin/netcat"'
|
|
.endif
|
|
LDADD+= -L${OPENSSLLIB} -lssl -lcrypto
|
|
|
|
.include <bsd.prog.mk>
|