eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.am 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. AUTOMAKE_OPTIONS = subdir-objects
  2. localedir = $(datadir)/locale
  3. xdgdatadir = @XDGDATADIR@
  4. mimedir = $(xdgdatadir)/mime
  5. xmldir = $(mimedir)/packages
  6. AM_LDFLAGS = ${LTLIBINTL}
  7. AM_CXXFLAGS = -Isrc/include -Isrc
  8. ACLOCAL_AMFLAGS = -I m4
  9. bin_PROGRAMS =
  10. lib_LTLIBRARIES =
  11. man1_MANS =
  12. pkgdata_DATA =
  13. noinst_bin_PROGRAMS =
  14. noinst_LIBRARIES =
  15. noinst_bindir =
  16. EXTRA_DIST = config.rpath ChangeLog
  17. CLEANFILES =
  18. SUBDIRS =
  19. ############################# libtool #########################################
  20. EXTRA_DIST += config.guess config.sub ltmain.sh
  21. # Increment if the interface has changed and is not backward compatible
  22. CURRENT=0
  23. # Increment if source files have changed
  24. # Reset to 0 if the interface has changed
  25. REVISION=0
  26. # Increment if the interface is backward compatible (superset)
  27. # Reset to 0 if the interface is not backward compatible
  28. AGE=0
  29. LIBUCD_VERSION=$(CURRENT):$(REVISION):$(AGE)
  30. ############################# ChangeLog #######################################
  31. ChangeLog:
  32. git log > ChangeLog
  33. dist-hook: ChangeLog
  34. .PHONY: ChangeLog
  35. EXTRA_DIST += ChangeLog
  36. ############################# Unicode Character Database ######################
  37. UCD_VERSION=@UCD_VERSION@
  38. UCD_ROOTDIR=data/ucd
  39. data/language-subtag-registry:
  40. wget -O $@ http://www.iana.org/assignments/language-subtag-registry
  41. data/ucd/PropList.txt:
  42. mkdir -pv data/ucd
  43. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/PropList.txt
  44. data/ucd/Scripts.txt:
  45. mkdir -pv data/ucd
  46. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/Scripts.txt
  47. data/ucd/UnicodeData.txt:
  48. mkdir -pv data/ucd
  49. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/UnicodeData.txt
  50. ############################# documentation ###################################
  51. html:
  52. doxygen docs/ucd-tools.conf
  53. ############################# libucd ##########################################
  54. tools/ucd.py: data/language-subtag-registry
  55. tools/case.py: tools/ucd.py \
  56. data/ucd/UnicodeData.txt
  57. tools/categories.py: tools/ucd.py \
  58. data/ucd/UnicodeData.txt
  59. tools/scripts.py: tools/ucd.py \
  60. data/ucd/Scripts.txt
  61. ucd-update: tools/case.py tools/categories.py tools/scripts.py
  62. tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} > src/case.cpp
  63. tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} > src/categories.cpp
  64. tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} > src/scripts.cpp
  65. libucd_includedir = $(includedir)/ucd
  66. libucd_include_HEADERS = \
  67. src/include/ucd/ucd.h
  68. lib_LTLIBRARIES += src/libucd.la
  69. src_libucd_la_LDFLAGS = -version-info $(LIBUCD_VERSION)
  70. src_libucd_la_CXXFLAGS = ${AM_CXXFLAGS}
  71. src_libucd_la_SOURCES = \
  72. src/case.cpp \
  73. src/categories.cpp \
  74. src/ctype.cpp \
  75. src/scripts.cpp \
  76. src/tostring.cpp
  77. ############################# tests ###########################################
  78. noinst_bin_PROGRAMS += tests/printucddata
  79. tests_printucddata_SOURCES = tests/printucddata.cpp
  80. tests_printucddata_LDADD = src/libucd.la
  81. tests/unicode-data.expected: tools/printdata.py tools/ucd.py \
  82. data/ucd/UnicodeData.txt \
  83. data/ucd/PropList.txt \
  84. data/ucd/Scripts.txt
  85. tools/printdata.py ${UCD_ROOTDIR} > $@
  86. tests/unicode-data.actual: tests/printucddata
  87. tests/printucddata > $@
  88. tests/unicode-data.diff: tests/unicode-data.expected tests/unicode-data.actual
  89. diff -U0 tests/unicode-data.expected tests/unicode-data.actual > tests/unicode-data.diff
  90. check: tests/unicode-data.diff