blob: 37ee0cd33a474e6835b04cfa5352bd82849b7c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $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>
|