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.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. html:
  54. doxygen docs/ucd-tools.conf
  55. ############################# libucd ##########################################
  56. tools/ucd.py: data/ucd/PropertyValueAliases.txt
  57. tools/case.py: tools/ucd.py \
  58. data/ucd/UnicodeData.txt
  59. tools/categories.py: tools/ucd.py \
  60. data/ucd/UnicodeData.txt
  61. tools/scripts.py: tools/ucd.py \
  62. data/ucd/Scripts.txt
  63. ucd-update: tools/case.py tools/categories.py tools/scripts.py
  64. tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/case.c
  65. tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/categories.c
  66. tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/scripts.c
  67. libucd_includedir = $(includedir)/ucd
  68. libucd_include_HEADERS = \
  69. src/include/ucd/ucd.h
  70. lib_LTLIBRARIES += src/libucd.la
  71. src_libucd_la_LDFLAGS = -version-info $(LIBUCD_VERSION)
  72. src_libucd_la_SOURCES = \
  73. src/case.c \
  74. src/categories.c \
  75. src/ctype.c \
  76. src/scripts.c \
  77. src/tostring.c
  78. ############################# tests ###########################################
  79. noinst_bin_PROGRAMS += tests/printucddata
  80. tests_printucddata_SOURCES = tests/printucddata.c
  81. tests_printucddata_LDADD = src/libucd.la
  82. noinst_bin_PROGRAMS += tests/printucddata_cpp
  83. tests_printucddata_cpp_SOURCES = tests/printucddata_cpp.cpp
  84. tests_printucddata_cpp_LDADD = src/libucd.la
  85. tests/unicode-data.expected: tools/printdata.py tools/ucd.py \
  86. data/ucd/UnicodeData.txt \
  87. data/ucd/PropList.txt \
  88. data/ucd/Scripts.txt
  89. tools/printdata.py ${UCD_ROOTDIR} ${UCD_FLAGS} > $@
  90. tests/unicode-data-capi.actual: tests/printucddata
  91. tests/printucddata > $@
  92. tests/unicode-data-cppapi.actual: tests/printucddata_cpp
  93. tests/printucddata_cpp > $@
  94. tests/unicode-data-capi.diff: tests/unicode-data.expected tests/unicode-data-capi.actual
  95. diff -U0 tests/unicode-data.expected tests/unicode-data-capi.actual > tests/unicode-data-capi.diff
  96. tests/unicode-data-cppapi.diff: tests/unicode-data.expected tests/unicode-data-cppapi.actual
  97. diff -U0 tests/unicode-data.expected tests/unicode-data-cppapi.actual > tests/unicode-data-cppapi.diff
  98. check: tests/unicode-data-capi.diff tests/unicode-data-cppapi.diff