3 # We're actually creating a libc_noshared.a that is PIC along side libc.so.*
4 # It is used exclusively with libc.so.* - there is no need for any other
6 # bsd.lib.mk doesn't have an easy way to express that.
10 # -fpic on some platforms, -fPIC on others.
11 CFLAGS+=${PICFLAG} -DPIC -fvisibility=hidden
18 # So that an empty .a file doesn't cause errors.
21 .if ${MK_ICONV} == "yes"
22 .PATH: ${SRCTOP}/lib/libc/iconv
23 .include "Makefile.iconv"
24 CFLAGS+=-I${SRCTOP}/lib/libc/iconv
27 SRCS+= ${LIBC_NONSHARED_SRCS}