NetBSD/external/bsd/pkg_install/sbin/Makefile.inc

23 lines
483 B
Makefile

# $NetBSD: Makefile.inc,v 1.2 2009/02/02 20:47:21 joerg Exp $
.include <bsd.own.mk>
.include "${.PARSEDIR}/../Makefile.inc"
LIBINSTALL != cd ${.PARSEDIR}/../lib && ${PRINTOBJDIR}
BINDIR?= /usr/sbin
CPPFLAGS+= -DBINDIR='"${BINDIR}"'
DPADD+= ${LIBINSTALL}/libinstall.a
LDADD+= -L${LIBINSTALL} -linstall -ltermcap
DPADD+= ${LIBFETCH} ${LIBSSL} ${LIBCRYPTO}
LDADD+= -lfetch -lssl -lcrypto
DPADD+= ${LIBARCHIVE}
LDADD+= -larchive
DPADD+= ${LIBZ} ${LIBBZ2}
LDADD+= -lz -lbz2