937ce6a950
it must come before libcrypto in LDADD) Reviewed by: bde
19 lines
349 B
Makefile
19 lines
349 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= pkg_add
|
|
SRCS= main.c perform.c futil.c extract.c
|
|
|
|
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
|
|
WARNS?= 2
|
|
|
|
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
|
|
LDADD= ${LIBINSTALL} -lfetch -lmd
|
|
|
|
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
|
|
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
|
LDADD+= -lssl -lcrypto
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|