Correctly handle dumping kernel threads
[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.6 2005/11/01 20:50:30 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 BINDIR?=        /usr/freebsd_pkg/sbin
17 MANDIR?=        /usr/freebsd_pkg/man/man
18
19 # Inherit BINDIR from one level up.
20 .if exists(${.CURDIR}/../../Makefile.inc)
21 .include "${.CURDIR}/../../Makefile.inc"
22 .endif