32a5b43489
This reduces build output, need for recalculating paths, and makes it clearer which paths are relative to what areas in the source tree. The change in performance over a locally mounted UFS filesystem was negligible in my testing, but this may more positively impact other filesystems like NFS. LIBC_SRCTOP was left alone so Juniper (and other users) can continue to manipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) as include Makefiles with custom options. Discussed with: marcel, sjg MFC after: 1 week Reviewed by: emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D9207
27 lines
835 B
Makefile
27 lines
835 B
Makefile
# $FreeBSD$
|
|
|
|
# iconv sources
|
|
.PATH: ${LIBC_SRCTOP}/iconv
|
|
|
|
MAN+= iconv.3 iconvctl.3 iconv_canonicalize.3 iconvlist.3 __iconv_get_list.3
|
|
MLINKS+= iconv.3 iconv_open.3 \
|
|
iconv.3 iconv_open_into.3 \
|
|
iconv.3 iconv_close.3 \
|
|
iconv.3 __iconv.3 \
|
|
__iconv_get_list.3 __iconv_free_list.3
|
|
SRCS+= citrus_bcs.c citrus_bcs_strtol.c citrus_bcs_strtoul.c \
|
|
citrus_csmapper.c citrus_db.c citrus_db_factory.c citrus_db_hash.c \
|
|
citrus_esdb.c citrus_hash.c citrus_iconv.c citrus_lookup.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
|
|
.if ${MK_SYMVER} == yes
|
|
SRCS+= iconv_compat.c
|
|
.endif
|
|
|
|
SYM_MAPS+= ${LIBC_SRCTOP}/iconv/Symbol.map
|
|
|
|
.if ${MK_ICONV} == yes
|
|
.include "${SRCTOP}/lib/libc_nonshared/Makefile.iconv"
|
|
.endif
|