freebsd-skq/usr.sbin/pkg_install/Makefile.inc
Maxim Sobolev c9dfae71a8 Use some black make(1) magic to make pkg_install build even without
Makefile.inc in parent directory (e.g. when checked out from cvs as a module).

MFC after:	2 weeks
2002-02-27 19:03:15 +00:00

16 lines
284 B
Makefile

# $FreeBSD$
.if exists(${.OBJDIR}/../lib)
LIBINSTALL= ${.OBJDIR}/../lib/libinstall.a
.else
LIBINSTALL= ${.CURDIR}/../lib/libinstall.a
.endif
# Inherit BINDIR from one level up.
.if !target(__foobar__)
__foobar__:
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
.endif