* Generally change NOXXX to NO_XXX, similar to work done in FreeBSD.
[dragonfly.git] / usr.sbin / pkg_install / Makefile.inc
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 $
3
4 .if exists(${.OBJDIR}/../lib)
5 LIBINSTALL=     ${.OBJDIR}/../lib/libinstall.a
6 .else
7 LIBINSTALL=     ${.CURDIR}/../lib/libinstall.a
8 .endif
9
10 .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && \
11     defined(LDADD) && ${LDADD:M-lfetch} != ""
12 DPADD+=         ${LIBSSL} ${LIBCRYPTO}
13 LDADD+=         -lssl -lcrypto
14 .endif
15
16 # Inherit BINDIR from one level up.
17 .if exists(${.CURDIR}/../../Makefile.inc)
18 .include "${.CURDIR}/../../Makefile.inc"
19 .endif