diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
commit | 8876613dc50029e88a84fd595d4a1f3c52c92350 (patch) | |
tree | b427452563e69236dc90188829d2ff7e5d0b08d3 /lib/libc/gmon | |
parent | 0f8d6cfc1522ee391d232f145c15c2de3d859920 (diff) | |
download | src-8876613dc50029e88a84fd595d4a1f3c52c92350.tar.gz src-8876613dc50029e88a84fd595d4a1f3c52c92350.zip |
Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}
if not already defined. This allows building libc from outside of
lib/libc using a reach-over makefile.
A typical use-case is to build a standard ILP32 version and a COMPAT32
version in a single iteration by building the COMPAT32 version using a
reach-over makefile.
Obtained from: Juniper Networks, Inc.
Notes
Notes:
svn path=/head/; revision=262722
Diffstat (limited to 'lib/libc/gmon')
-rw-r--r-- | lib/libc/gmon/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc index 98c73953319a..3e3dede8a45e 100644 --- a/lib/libc/gmon/Makefile.inc +++ b/lib/libc/gmon/Makefile.inc @@ -2,11 +2,11 @@ # $FreeBSD$ # gmon sources -.PATH: ${.CURDIR}/gmon +.PATH: ${LIBC_SRCTOP}/gmon SRCS+= gmon.c mcount.c -SYM_MAPS+=${.CURDIR}/gmon/Symbol.map +SYM_MAPS+=${LIBC_SRCTOP}/gmon/Symbol.map MAN+= moncontrol.3 |