Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2013 22:17:09 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        hackers@freebsd.org
Subject:   Proper way to determine place of system sources in makefile?
Message-ID:  <1582957716.20130106221709@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Hackers.

 I'm  writing  some code, which is built outside of system sources but
depends on them.

 I'm using FreeBSD mk infrastructure.

 When code is kernel module (uses <bsd.kmod.mk>) here is SYSDIR
variable.

  But which is proper way to refer to system sources when makefile is
prepared for shared library (<bsd.lib.mk>) or program (<bsd.prog.mk>)?

-- 
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1582957716.20130106221709>