1# $NetBSD: Makefile.inc,v 1.10 2023/06/03 09:09:09 lukem Exp $ 2 3# sources 4.PATH: ${ARCHDIR}/citrus ${.CURDIR}/citrus 5 6MODULE_SHLIB_MAJOR!= . ${NETBSDSRCDIR}/lib/i18n_module/shlib_version ; echo $$major 7CPPFLAGS.citrus_module.c+=-DI18NMODULE_MAJOR=${MODULE_SHLIB_MAJOR} 8SRCS+= citrus_bcs.c citrus_bcs_strtol.c citrus_bcs_strtoul.c \ 9 citrus_csmapper.c citrus_ctype.c citrus_ctype_fallback.c \ 10 citrus_db.c citrus_db_hash.c citrus_esdb.c citrus_hash.c \ 11 citrus_iconv.c citrus_lookup.c \ 12 citrus_mapper.c citrus_memstream.c citrus_mmap.c citrus_module.c \ 13 citrus_none.c citrus_stdenc.c 14SRCS+= citrus_lc_ctype.c \ 15 citrus_lc_monetary.c \ 16 citrus_lc_numeric.c \ 17 citrus_lc_time.c \ 18 citrus_lc_messages.c 19CPPFLAGS.citrus_bcs_strtol.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib 20CPPFLAGS.citrus_bcs_strtoul.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib 21CPPFLAGS.citrus_lc_ctype.c+= -I${LIBCDIR}/locale 22CPPFLAGS.citrus_lc_monetary.c+= -I${LIBCDIR}/locale 23CPPFLAGS.citrus_lc_numeric.c+= -I${LIBCDIR}/locale 24CPPFLAGS.citrus_lc_time.c+= -I${LIBCDIR}/locale 25CPPFLAGS.citrus_lc_messages.c+= -I${LIBCDIR}/locale 26 27COPTS.citrus_iconv.c+= ${CC_WNO_FORMAT_TRUNCATION} 28COPTS.citrus_csmapper.c+= ${CC_WNO_FORMAT_TRUNCATION} 29 30