aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/iconv/Makefile.inc
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2014-03-04 02:19:39 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2014-03-04 02:19:39 +0000
commit8876613dc50029e88a84fd595d4a1f3c52c92350 (patch)
treeb427452563e69236dc90188829d2ff7e5d0b08d3 /lib/libc/iconv/Makefile.inc
parent0f8d6cfc1522ee391d232f145c15c2de3d859920 (diff)
downloadsrc-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/iconv/Makefile.inc')
-rw-r--r--lib/libc/iconv/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/iconv/Makefile.inc b/lib/libc/iconv/Makefile.inc
index 98012edd7e1c..5442f79c6e01 100644
--- a/lib/libc/iconv/Makefile.inc
+++ b/lib/libc/iconv/Makefile.inc
@@ -1,7 +1,7 @@
# $FreeBSD$
# iconv sources
-.PATH: ${.CURDIR}/iconv
+.PATH: ${LIBC_SRCTOP}/iconv
MAN+= iconv.3 iconvctl.3 iconv_canonicalize.3 iconvlist.3 __iconv_get_list.3
MLINKS+= iconv.3 iconv_open.3 \
@@ -15,8 +15,8 @@ SRCS+= citrus_bcs.c citrus_bcs_strtol.c citrus_bcs_strtoul.c \
citrus_lookup_factory.c citrus_mapper.c citrus_memstream.c \
citrus_mmap.c citrus_module.c citrus_none.c citrus_pivot_factory.c \
citrus_prop.c citrus_stdenc.c bsd_iconv.c iconv_compat.c
-SYM_MAPS+= ${.CURDIR}/iconv/Symbol.map
+SYM_MAPS+= ${LIBC_SRCTOP}/iconv/Symbol.map
.if ${MK_ICONV} == yes
-.include "${.CURDIR}/../libc_nonshared/Makefile.iconv"
+.include "${LIBC_SRCTOP}/../libc_nonshared/Makefile.iconv"
.endif