2022-02-13 16:11:01 +08:00
|
|
|
if ENABLE_NEWLIB_ICONV
|
|
|
|
cctdir = $(datadir)/iconv_data
|
|
|
|
cct_DATA = %D%/encoding.aliases
|
|
|
|
endif
|
|
|
|
|
2022-01-22 10:50:20 +08:00
|
|
|
LIBC_CHAPTERS += %D%/iconv.tex
|
|
|
|
|
2022-03-14 09:52:04 +08:00
|
|
|
## If mkdeps.pl or encodings.deps changes, make sure to regenerate outputs.
|
|
|
|
%C%_mkdeps_outputs = \
|
|
|
|
$(top_srcdir)/iconv.m4 \
|
|
|
|
$(srcdir)/%D%/ccs/ccsbi.c \
|
|
|
|
$(srcdir)/%D%/ccs/ccsbi.h \
|
|
|
|
$(srcdir)/%D%/ccs/ccsnames.h \
|
|
|
|
$(srcdir)/%D%/ces/cesbi.c \
|
|
|
|
$(srcdir)/%D%/ces/cesbi.h \
|
|
|
|
$(srcdir)/%D%/ces/cesdeps.h \
|
|
|
|
$(srcdir)/%D%/encoding.aliases \
|
|
|
|
$(srcdir)/%D%/lib/aliasesbi.c \
|
|
|
|
$(srcdir)/%D%/lib/encnames.h
|
|
|
|
|
|
|
|
$(%C%_mkdeps_outputs): @MAINTAINER_MODE_TRUE@ $(srcdir)/%D%/ces/mkdeps.pl $(srcdir)/%D%/lib/encoding.deps
|
|
|
|
$(AM_V_GEN)cd $(srcdir)/%D%/ces && ./mkdeps.pl
|
|
|
|
|
|
|
|
noinst_DATA += $(%C%_mkdeps_outputs)
|
|
|
|
|
2022-02-13 16:11:01 +08:00
|
|
|
include %D%/ces/Makefile.inc
|
|
|
|
include %D%/ccs/Makefile.inc
|
2022-01-22 10:50:20 +08:00
|
|
|
include %D%/lib/Makefile.inc
|