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

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