• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1nlstestscripts = check-localedir.sh # check-codeset.sh
2
3codeset_tests = test-codeset-default test-codeset-latin1 test-codeset-utf-8
4
5TESTS = $(nlstestscripts)
6
7check_SCRIPTS = $(nlstestscripts)
8
9check_PROGRAMS = print-localedir # $(codeset_tests)
10
11# test_codeset_default_SOURCES = test-codeset.c
12# test_codeset_default_CPPFLAGS =	\
13# 	$(AM_CPPFLAGS) $(CPPFLAGS)	\
14# 	-DCODESET_DEFAULT
15
16# test_codeset_utf_8_SOURCES = test-codeset.c
17# test_codeset_utf_8_CPPFLAGS =	\
18# 	$(AM_CPPFLAGS) $(CPPFLAGS)	\
19# 	-DCODESET_UTF_8
20
21# test_codeset_latin1_SOURCES = test-codeset.c
22# test_codeset_latin1_CPPFLAGS =	\
23# 	$(AM_CPPFLAGS) $(CPPFLAGS)	\
24# 	-DCODESET_LATIN1
25
26CLEANFILES = $(check_SCRIPTS)
27
28# test_nls_LDADD = $(top_builddir)/libexif/libexif.la $(INTLLIBS)
29
30EXTRA_DIST = check-localedir.in check-nls.in test-nls.c test-codeset.c
31
32.in.sh: Makefile
33	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' < $< > $@
34	chmod +x $@
35