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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. UCD_SRCDIR=http://www.unicode.org/Public
  41. data/ucd/PropList.txt:
  42. mkdir -pv data/ucd
  43. curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/PropList.txt > $@
  44. data/ucd/DerivedCoreProperties.txt:
  45. mkdir -pv data/ucd
  46. curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/DerivedCoreProperties.txt > $@
  47. data/ucd/PropertyValueAliases.txt:
  48. mkdir -pv data/ucd
  49. curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/PropertyValueAliases.txt > $@
  50. data/ucd/Scripts.txt:
  51. mkdir -pv data/ucd
  52. curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/Scripts.txt > $@
  53. data/ucd/UnicodeData.txt:
  54. mkdir -pv data/ucd
  55. curl ${UCD_SRCDIR}/${UCD_VERSION}/ucd/UnicodeData.txt > $@
  56. ############################# documentation ###################################
  57. SUFFIXES=.html .md
  58. .md.html: _layouts/webpage.html
  59. cat $< | sed -e 's/\.md)/.html)/g' | \
  60. kramdown --template _layouts/webpage.html > $@
  61. html:
  62. doxygen docs/ucd-tools.conf
  63. docs: html \
  64. CHANGELOG.html \
  65. README.html
  66. ############################# libucd ##########################################
  67. tools/ucd.py: data/ucd/PropertyValueAliases.txt
  68. tools/case.py: tools/ucd.py \
  69. data/ucd/UnicodeData.txt
  70. tools/categories.py: tools/ucd.py \
  71. data/ucd/UnicodeData.txt
  72. tools/scripts.py: tools/ucd.py \
  73. data/ucd/Scripts.txt
  74. ucd-update: tools/case.py tools/categories.py tools/scripts.py
  75. tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/case.c
  76. tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/categories.c
  77. tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} ${UCD_FLAGS} > src/scripts.c
  78. libucd_includedir = $(includedir)/ucd
  79. libucd_include_HEADERS = \
  80. src/include/ucd/ucd.h
  81. lib_LTLIBRARIES += src/libucd.la
  82. src_libucd_la_LDFLAGS = -version-info $(LIBUCD_VERSION)
  83. src_libucd_la_SOURCES = \
  84. src/case.c \
  85. src/categories.c \
  86. src/ctype.c \
  87. src/proplist.c \
  88. src/scripts.c \
  89. src/tostring.c
  90. ############################# tests ###########################################
  91. noinst_bin_PROGRAMS += tests/printcdata
  92. tests_printcdata_SOURCES = tests/printcdata.c
  93. tests_printcdata_LDADD = src/libucd.la
  94. noinst_bin_PROGRAMS += tests/printucddata
  95. tests_printucddata_SOURCES = tests/printucddata.c
  96. tests_printucddata_LDADD = src/libucd.la
  97. noinst_bin_PROGRAMS += tests/printucddata_cpp
  98. tests_printucddata_cpp_SOURCES = tests/printucddata_cpp.cpp
  99. tests_printucddata_cpp_LDADD = src/libucd.la
  100. tests/unicode-data.expected: tools/printdata.py tools/ucd.py \
  101. data/ucd/UnicodeData.txt \
  102. data/ucd/PropList.txt \
  103. data/ucd/DerivedCoreProperties.txt \
  104. data/ucd/Scripts.txt
  105. tools/printdata.py ${UCD_ROOTDIR} ${UCD_FLAGS} > $@
  106. tests/unicode-data-capi.actual: tests/printucddata
  107. tests/printucddata > $@
  108. tests/unicode-data-cppapi.actual: tests/printucddata_cpp
  109. tests/printucddata_cpp > $@
  110. tests/unicode-data-capi.diff: tests/unicode-data.expected tests/unicode-data-capi.actual
  111. diff -U0 tests/unicode-data.expected tests/unicode-data-capi.actual > tests/unicode-data-capi.diff
  112. tests/unicode-data-cppapi.diff: tests/unicode-data.expected tests/unicode-data-cppapi.actual
  113. diff -U0 tests/unicode-data.expected tests/unicode-data-cppapi.actual > tests/unicode-data-cppapi.diff
  114. check: tests/unicode-data-capi.diff tests/unicode-data-cppapi.diff