f5736be797
explicit about what libraries are required, and not only depend on shared library inter-dependencies to pull that in. Fixes the build for sun2.
26 lines
517 B
Makefile
26 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
|