1 # $FreeBSD: src/usr.sbin/pkg_install/Makefile.inc,v 1.10 2004/01/17 13:41:16 ru Exp $
2 # $DragonFly: src/usr.sbin/pkg_install/Attic/Makefile.inc,v 1.5 2005/09/06 18:55:46 dillon Exp $
4 .if exists(${.OBJDIR}/../lib)
5 LIBINSTALL= ${.OBJDIR}/../lib/libinstall.a
7 LIBINSTALL= ${.CURDIR}/../lib/libinstall.a
10 .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && \
11 defined(LDADD) && ${LDADD:M-lfetch} != ""
12 DPADD+= ${LIBSSL} ${LIBCRYPTO}
13 LDADD+= -lssl -lcrypto
16 # Inherit BINDIR from one level up.
17 .if exists(${.CURDIR}/../../Makefile.inc)
18 .include "${.CURDIR}/../../Makefile.inc"