e5d2d778eb
Approved by: re (scottl)
19 lines
327 B
Makefile
19 lines
327 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(NO_OPENSSL)
|
|
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
|
LDADD+= -lssl -lcrypto
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|