mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-06 00:34:13 +00:00
Move include/espeak{-ng => }/speak_lib.h.
This commit is contained in:
+10
-6
@@ -84,14 +84,18 @@ docs: docs/index.html \
|
|||||||
|
|
||||||
##### build targets:
|
##### build targets:
|
||||||
|
|
||||||
libespeak_ng_includedir = $(includedir)/espeak-ng
|
espeak_includedir = $(includedir)/espeak
|
||||||
libespeak_ng_include_HEADERS = \
|
espeak_include_HEADERS = \
|
||||||
src/include/espeak-ng/speak_lib.h
|
src/include/espeak/speak_lib.h
|
||||||
|
|
||||||
|
espeak_ng_includedir = $(includedir)/espeak-ng
|
||||||
|
espeak_ng_include_HEADERS = \
|
||||||
|
src/include/espeak-ng/espeak_ng.h
|
||||||
|
|
||||||
lib_LTLIBRARIES += src/libespeak-ng.la
|
lib_LTLIBRARIES += src/libespeak-ng.la
|
||||||
|
|
||||||
src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm
|
src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm
|
||||||
src_libespeak_ng_la_CFLAGS = -Isrc/include/espeak-ng \
|
src_libespeak_ng_la_CFLAGS = -Isrc/include \
|
||||||
-fPIC -fvisibility=hidden -D _BSD_SOURCE -D _POSIX_C_SOURCE=200112L \
|
-fPIC -fvisibility=hidden -D _BSD_SOURCE -D _POSIX_C_SOURCE=200112L \
|
||||||
-pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\"
|
-pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\"
|
||||||
src_libespeak_ng_la_SOURCES = \
|
src_libespeak_ng_la_SOURCES = \
|
||||||
@@ -170,7 +174,7 @@ endif
|
|||||||
|
|
||||||
src_speak_ng_LDADD = src/libespeak-ng.la
|
src_speak_ng_LDADD = src/libespeak-ng.la
|
||||||
src_speak_ng_LDFLAGS = -static
|
src_speak_ng_LDFLAGS = -static
|
||||||
src_speak_ng_CFLAGS = -Isrc/libespeak-ng -Isrc/include/espeak-ng -D _POSIX_C_SOURCE=200112L
|
src_speak_ng_CFLAGS = -Isrc/libespeak-ng -Isrc/include -D _POSIX_C_SOURCE=200112L
|
||||||
src_speak_ng_SOURCES = src/speak-ng.c
|
src_speak_ng_SOURCES = src/speak-ng.c
|
||||||
|
|
||||||
bin_PROGRAMS += src/espeak-ng
|
bin_PROGRAMS += src/espeak-ng
|
||||||
@@ -180,7 +184,7 @@ man1_MANS += src/espeak-ng.1
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
src_espeak_ng_LDADD = src/libespeak-ng.la
|
src_espeak_ng_LDADD = src/libespeak-ng.la
|
||||||
src_espeak_ng_CFLAGS = -Isrc/include/espeak-ng
|
src_espeak_ng_CFLAGS = -Isrc/include
|
||||||
src_espeak_ng_SOURCES = src/espeak-ng.c
|
src_espeak_ng_SOURCES = src/espeak-ng.c
|
||||||
|
|
||||||
##### phoneme data:
|
##### phoneme data:
|
||||||
|
|||||||
+2
-2
@@ -28,8 +28,8 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "speak_lib.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "espeak_ng.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
extern void strncpy0(char *to, const char *from, int size);
|
extern void strncpy0(char *to, const char *from, int size);
|
||||||
extern int utf8_in(int *c, const char *buf);
|
extern int utf8_in(int *c, const char *buf);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#ifndef ESPEAK_NG_H
|
#ifndef ESPEAK_NG_H
|
||||||
#define ESPEAK_NG_H
|
#define ESPEAK_NG_H
|
||||||
|
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "speak_lib.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "espeak_ng.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "speak_lib.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "espeak_ng.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "speak_lib.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "espeak_ng.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#if HAVE_STDINT_H
|
#if HAVE_STDINT_H
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "espeak_command.h"
|
#include "espeak_command.h"
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
#ifndef PLATFORM_WINDOWS
|
#ifndef PLATFORM_WINDOWS
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include "speak_lib.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
@@ -32,9 +32,10 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#include <espeak-ng/espeak_ng.h>
|
||||||
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "espeak_ng.h"
|
|
||||||
#include "speak_lib.h"
|
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
#include "wave.h"
|
#include "wave.h"
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,6 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "speak_lib.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "fifo.h"
|
#include "fifo.h"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
// and run them asynchronously.
|
// and run them asynchronously.
|
||||||
|
|
||||||
#include "espeak_command.h"
|
#include "espeak_command.h"
|
||||||
#include "speak_lib.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -33,8 +33,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "klatt.h"
|
#include "klatt.h"
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -25,8 +25,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -41,8 +41,8 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
#include "synthesize.h"
|
#include "synthesize.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
@@ -36,8 +36,8 @@
|
|||||||
#include "dirent.h"
|
#include "dirent.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
#include "synthesize.h"
|
#include "synthesize.h"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "speech.h"
|
#include "speech.h"
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
|
|||||||
+2
-2
@@ -46,8 +46,8 @@
|
|||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "espeak_ng.h"
|
#include <espeak-ng/espeak_ng.h>
|
||||||
#include "speak_lib.h"
|
#include <espeak/speak_lib.h>
|
||||||
|
|
||||||
#include "phoneme.h"
|
#include "phoneme.h"
|
||||||
#include "synthesize.h"
|
#include "synthesize.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user