diff options
author | marcel <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
commit | 99c9726a00498d5292868949dc0fccf901914e8c (patch) | |
tree | b427452563e69236dc90188829d2ff7e5d0b08d3 /lib/libc/posix1e | |
parent | ccdeb47ad3a689733148c261070973c096386a40 (diff) | |
download | FreeBSD-src-99c9726a00498d5292868949dc0fccf901914e8c.zip FreeBSD-src-99c9726a00498d5292868949dc0fccf901914e8c.tar.gz |
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.
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r-- | lib/libc/posix1e/Makefile.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/posix1e/Makefile.inc b/lib/libc/posix1e/Makefile.inc index c9d3ba5..2cc4158 100644 --- a/lib/libc/posix1e/Makefile.inc +++ b/lib/libc/posix1e/Makefile.inc @@ -1,11 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/posix1e +.PATH: ${LIBC_SRCTOP}/posix1e CFLAGS+=-D_ACL_PRIVATE # Copy kern/subr_acl_nfs4.c to the libc object directory. -subr_acl_nfs4.c: ${.CURDIR}/../../sys/kern/subr_acl_nfs4.c +subr_acl_nfs4.c: ${LIBC_SRCTOP}/../../sys/kern/subr_acl_nfs4.c cat ${.ALLSRC} > ${.TARGET} SRCS+= acl_branding.c \ @@ -37,7 +37,7 @@ SRCS+= acl_branding.c \ mac_set.c \ subr_acl_nfs4.c -SYM_MAPS+=${.CURDIR}/posix1e/Symbol.map +SYM_MAPS+=${LIBC_SRCTOP}/posix1e/Symbol.map MAN+= acl.3 \ acl_add_flag_np.3 \ |