1b8bc0d8aSopenharmony_cinlstestscripts = check-localedir.sh # check-codeset.sh
2b8bc0d8aSopenharmony_ci
3b8bc0d8aSopenharmony_cicodeset_tests = test-codeset-default test-codeset-latin1 test-codeset-utf-8
4b8bc0d8aSopenharmony_ci
5b8bc0d8aSopenharmony_ciTESTS = $(nlstestscripts)
6b8bc0d8aSopenharmony_ci
7b8bc0d8aSopenharmony_cicheck_SCRIPTS = $(nlstestscripts)
8b8bc0d8aSopenharmony_ci
9b8bc0d8aSopenharmony_cicheck_PROGRAMS = print-localedir # $(codeset_tests)
10b8bc0d8aSopenharmony_ci
11b8bc0d8aSopenharmony_ci# test_codeset_default_SOURCES = test-codeset.c
12b8bc0d8aSopenharmony_ci# test_codeset_default_CPPFLAGS =	\
13b8bc0d8aSopenharmony_ci# 	$(AM_CPPFLAGS) $(CPPFLAGS)	\
14b8bc0d8aSopenharmony_ci# 	-DCODESET_DEFAULT
15b8bc0d8aSopenharmony_ci
16b8bc0d8aSopenharmony_ci# test_codeset_utf_8_SOURCES = test-codeset.c
17b8bc0d8aSopenharmony_ci# test_codeset_utf_8_CPPFLAGS =	\
18b8bc0d8aSopenharmony_ci# 	$(AM_CPPFLAGS) $(CPPFLAGS)	\
19b8bc0d8aSopenharmony_ci# 	-DCODESET_UTF_8
20b8bc0d8aSopenharmony_ci
21b8bc0d8aSopenharmony_ci# test_codeset_latin1_SOURCES = test-codeset.c
22b8bc0d8aSopenharmony_ci# test_codeset_latin1_CPPFLAGS =	\
23b8bc0d8aSopenharmony_ci# 	$(AM_CPPFLAGS) $(CPPFLAGS)	\
24b8bc0d8aSopenharmony_ci# 	-DCODESET_LATIN1
25b8bc0d8aSopenharmony_ci
26b8bc0d8aSopenharmony_ciCLEANFILES = $(check_SCRIPTS)
27b8bc0d8aSopenharmony_ci
28b8bc0d8aSopenharmony_ci# test_nls_LDADD = $(top_builddir)/libexif/libexif.la $(INTLLIBS)
29b8bc0d8aSopenharmony_ci
30b8bc0d8aSopenharmony_ciEXTRA_DIST = check-localedir.in check-nls.in test-nls.c test-codeset.c
31b8bc0d8aSopenharmony_ci
32b8bc0d8aSopenharmony_ci.in.sh: Makefile
33b8bc0d8aSopenharmony_ci	sed 's|@top_builddir\@|$(top_builddir)|g;s|@localedir\@|$(localedir)|g;s|@PRINT_LOCALEDIR\@|./print-localedir$(EXEEXT)|g;s|@build_alias\@|$(build_alias)|g;s|@host_alias\@|$(host_alias)|g;s|@codeset_tests\@|$(codeset_tests)|g;s|@DESTDIR\@|$(DESTDIR)|g' < $< > $@
34b8bc0d8aSopenharmony_ci	chmod +x $@
35