8360b6af14
Submitted by: reg
22 lines
365 B
Makefile
22 lines
365 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= pkg_version
|
|
SRCS= main.c perform.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
|
|
|
|
test:
|
|
./test-pkg_version.sh
|
|
|
|
.include <bsd.prog.mk>
|