c87b25b2ae
lightly used. Find the proper .m file when we depend on *_if.[ch] in the srcs line, with seat-belts for false positive matches. This uses make's path mechanism. A further refinement would be to calculate this once, and then pass the resulting _MPATH to modules submakes. Differential Revision: https://reviews.freebsd.org/D2327
22 lines
415 B
Makefile
22 lines
415 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../libkern ${.CURDIR}/../../sys
|
|
|
|
KMOD= libiconv
|
|
SRCS= iconv.c iconv_ucs.c iconv_xlat.c iconv_xlat16.c
|
|
SRCS+= iconv.h
|
|
SRCS+= iconv_converter_if.c iconv_converter_if.h
|
|
|
|
EXPORT_SYMS= iconv_add \
|
|
iconv_open \
|
|
iconv_close \
|
|
iconv_conv \
|
|
iconv_conv_case \
|
|
iconv_convchr \
|
|
iconv_convchr_case \
|
|
iconv_convstr \
|
|
iconv_convmem \
|
|
iconv_vfs_refcount
|
|
|
|
.include <bsd.kmod.mk>
|