7691f66abf
Approved by: re (scottl)
22 lines
343 B
Makefile
22 lines
343 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(NO_OPENSSL)
|
|
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
|
LDADD+= -lssl -lcrypto
|
|
.endif
|
|
|
|
test:
|
|
./test-pkg_version.sh
|
|
|
|
.include <bsd.prog.mk>
|