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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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=6.2.0
  38. UCD_ROOTDIR=data/ucd
  39. data/ucd/PropList.txt:
  40. mkdir -pv data/ucd
  41. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/PropList.txt
  42. data/ucd/UnicodeData.txt:
  43. mkdir -pv data/ucd
  44. wget -O $@ http://www.unicode.org/Public/${UCD_VERSION}/ucd/UnicodeData.txt
  45. ############################# libucd ##########################################
  46. src/case.cpp: tools/case.py tools/ucd.py data/ucd/UnicodeData.txt
  47. tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@
  48. src/categories.cpp: tools/categories.py tools/ucd.py data/ucd/UnicodeData.txt
  49. tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@
  50. libucd_includedir = $(includedir)/ucd
  51. libucd_include_HEADERS = \
  52. src/include/ucd/ucd.h
  53. lib_LTLIBRARIES += src/libucd.la
  54. src_libucd_la_LDFLAGS = -version-info $(LIBUCD_VERSION)
  55. src_libucd_la_CXXFLAGS = ${AM_CXXFLAGS}
  56. src_libucd_la_SOURCES = \
  57. src/case.cpp \
  58. src/categories.cpp \
  59. src/ctype.cpp
  60. ############################# tests ###########################################
  61. noinst_bin_PROGRAMS += tests/printucddata
  62. tests_printucddata_SOURCES = tests/printucddata.cpp
  63. tests_printucddata_LDADD = src/libucd.la
  64. tests/unicode-data.expected: tools/printdata.py tools/ucd.py \
  65. data/ucd/UnicodeData.txt \
  66. data/ucd/PropList.txt
  67. tools/printdata.py ${UCD_ROOTDIR} > $@
  68. tests/unicode-data.actual: tests/printucddata
  69. tests/printucddata > $@
  70. tests/unicode-data.diff: tests/unicode-data.expected tests/unicode-data.actual
  71. diff -U0 tests/unicode-data.expected tests/unicode-data.actual > tests/unicode-data.diff
  72. check: tests/unicode-data.diff