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 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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_CFLAGS = -Isrc/include -Isrc
  8. AM_CXXFLAGS = -Isrc/include -Isrc
  9. ACLOCAL_AMFLAGS = -I m4
  10. bin_PROGRAMS =
  11. lib_LTLIBRARIES =
  12. man1_MANS =
  13. pkgdata_DATA =
  14. noinst_bin_PROGRAMS =
  15. noinst_LIBRARIES =
  16. noinst_bindir =
  17. EXTRA_DIST = config.rpath ChangeLog
  18. CLEANFILES =
  19. SUBDIRS =
  20. ############################# libtool #########################################
  21. EXTRA_DIST += config.guess config.sub ltmain.sh
  22. # Increment if the interface has changed and is not backward compatible
  23. CURRENT=0
  24. # Increment if source files have changed
  25. # Reset to 0 if the interface has changed
  26. REVISION=0
  27. # Increment if the interface is backward compatible (superset)
  28. # Reset to 0 if the interface is not backward compatible
  29. AGE=0
  30. LIBUCD_VERSION=$(CURRENT):$(REVISION):$(AGE)
  31. ############################# ChangeLog #######################################
  32. ChangeLog:
  33. git log > ChangeLog
  34. dist-hook: ChangeLog
  35. .PHONY: ChangeLog
  36. EXTRA_DIST += ChangeLog
  37. ############################# Unicode Character Database ######################
  38. UCD_VERSION=@UCD_VERSION@
  39. UCD_ROOTDIR=data/ucd
  40. data/ucd/PropList.txt:
  41. mkdir -pv data/ucd
  42. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/PropList.txt
  43. data/ucd/PropertyValueAliases.txt:
  44. mkdir -pv data/ucd
  45. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/PropertyValueAliases.txt
  46. data/ucd/Scripts.txt:
  47. mkdir -pv data/ucd
  48. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/Scripts.txt
  49. data/ucd/UnicodeData.txt:
  50. mkdir -pv data/ucd
  51. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/UnicodeData.txt
  52. ############################# documentation ###################################
  53. SUFFIXES=.html .md
  54. .md.html: _layouts/webpage.html
  55. cat $< | sed -e 's/\.md)/.html)/g' | \
  56. kramdown --template _layouts/webpage.html > $@
  57. html:
  58. doxygen docs/ucd-tools.conf
  59. docs: html \
  60. CHANGELOG.html \
  61. README.html
  62. ############################# libucd ##########################################
  63. tools/ucd.py: data/ucd/PropertyValueAliases.txt
  64. tools/case.py: tools/ucd.py \
  65. data/ucd/UnicodeData.txt
  66. tools/categories.py: tools/ucd.py \
  67. data/ucd/UnicodeData.txt
  68. tools/scripts.py: tools/ucd.py \
  69. data/ucd/Scripts.txt
  70. ucd-update: tools/case.py tools/categories.py tools/scripts.py
  71. tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/case.c
  72. tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/categories.c
  73. tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/scripts.c
  74. libucd_includedir = $(includedir)/ucd
  75. libucd_include_HEADERS = \
  76. src/include/ucd/ucd.h
  77. lib_LTLIBRARIES += src/libucd.la
  78. src_libucd_la_LDFLAGS = -version-info $(LIBUCD_VERSION)
  79. src_libucd_la_SOURCES = \
  80. src/case.c \
  81. src/categories.c \
  82. src/ctype.c \
  83. src/scripts.c \
  84. src/tostring.c
  85. ############################# tests ###########################################
  86. noinst_bin_PROGRAMS += tests/printucddata
  87. tests_printucddata_SOURCES = tests/printucddata.c
  88. tests_printucddata_LDADD = src/libucd.la
  89. noinst_bin_PROGRAMS += tests/printucddata_cpp
  90. tests_printucddata_cpp_SOURCES = tests/printucddata_cpp.cpp
  91. tests_printucddata_cpp_LDADD = src/libucd.la
  92. tests/unicode-data.expected: tools/printdata.py tools/ucd.py \
  93. data/ucd/UnicodeData.txt \
  94. data/ucd/PropList.txt \
  95. data/ucd/Scripts.txt
  96. tools/printdata.py ${UCD_ROOTDIR} ${UCD_FLAGS} > $@
  97. tests/unicode-data-capi.actual: tests/printucddata
  98. tests/printucddata > $@
  99. tests/unicode-data-cppapi.actual: tests/printucddata_cpp
  100. tests/printucddata_cpp > $@
  101. tests/unicode-data-capi.diff: tests/unicode-data.expected tests/unicode-data-capi.actual
  102. diff -U0 tests/unicode-data.expected tests/unicode-data-capi.actual > tests/unicode-data-capi.diff
  103. tests/unicode-data-cppapi.diff: tests/unicode-data.expected tests/unicode-data-cppapi.actual
  104. diff -U0 tests/unicode-data.expected tests/unicode-data-cppapi.actual > tests/unicode-data-cppapi.diff
  105. check: tests/unicode-data-capi.diff tests/unicode-data-cppapi.diff