Create defaults/uuids and adjust the build to copy the file to /etc/defaults
[dragonfly/vkernel-mp.git] / usr.sbin / pkg_install / Makefile.inc
blob8c90429b854267df3d9384dd6d99c60c40cff061
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/Makefile.inc,v 1.6 2005/11/01 21:50:30 dillon Exp $
4 .if exists(${.OBJDIR}/../lib)
5 LIBINSTALL=     ${.OBJDIR}/../lib/libinstall.a
6 .else
7 LIBINSTALL=     ${.CURDIR}/../lib/libinstall.a
8 .endif
10 .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && \
11     defined(LDADD) && ${LDADD:M-lfetch} != ""
12 DPADD+=         ${LIBSSL} ${LIBCRYPTO}
13 LDADD+=         -lssl -lcrypto
14 .endif
16 BINDIR?=        /usr/freebsd_pkg/sbin
17 MANDIR?=        /usr/freebsd_pkg/man/man
19 # Inherit BINDIR from one level up.
20 .if exists(${.CURDIR}/../../Makefile.inc)
21 .include "${.CURDIR}/../../Makefile.inc"
22 .endif