freebsd-skq/usr.bin/fetch/Makefile
Dag-Erling Smørgrav 0e50a83330 Use libmd if and only if OpenSSL is not available.
PR:		bin/171402
MFC after:	3 days
2012-09-14 13:00:43 +00:00

16 lines
248 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
PROG= fetch
CSTD?= c99
.if ${MK_OPENSSL} != "no"
DPADD= ${LIBFETCH} ${LIBSSL} ${LIBCRYPTO}
LDADD= -lfetch -lssl -lcrypto
.else
DPADD= ${LIBFETCH} ${LIBMD}
LDADD= -lfetch -lmd
.endif
.include <bsd.prog.mk>