minix/external/bsd/pkg_install/sbin/Makefile.inc
Jean-Baptiste Boric a824f5a100 Import pkg_install from NetBSD
Change-Id: I9a3071b94dd2e9bfe2e3b162994e06ae10077b5a
2015-10-07 23:48:43 +02:00

25 lines
517 B
Makefile

# $NetBSD: Makefile.inc,v 1.3 2010/11/05 09:09:01 he 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
DPADD+= ${LIBLZMA}
LDADD+= -llzma