freebsd-ports/security/sst/files/Makefile
2021-04-06 16:31:13 +02:00

16 lines
406 B
Makefile

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>