Browse Source

Move include/espeak{-ng => }/speak_lib.h.

master
Reece H. Dunn 9 years ago
parent
commit
72db232ec3

+ 10
- 6
Makefile.am View File



##### build targets: ##### build targets:


libespeak_ng_includedir = $(includedir)/espeak-ng
libespeak_ng_include_HEADERS = \
src/include/espeak-ng/speak_lib.h
espeak_includedir = $(includedir)/espeak
espeak_include_HEADERS = \
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 = \


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
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
src/espeak-ng.c View File

#include <time.h> #include <time.h>
#include <sys/stat.h> #include <sys/stat.h>


#include "speak_lib.h"
#include "espeak_ng.h"
#include <espeak-ng/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);

+ 1
- 1
src/include/espeak-ng/espeak_ng.h View File

#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"

src/include/espeak-ng/speak_lib.h → src/include/espeak/speak_lib.h View File


+ 2
- 2
src/libespeak-ng/compiledata.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "speak_lib.h"
#include "espeak_ng.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "error.h" #include "error.h"
#include "speech.h" #include "speech.h"

+ 2
- 2
src/libespeak-ng/compiledict.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "error.h" #include "error.h"
#include "speech.h" #include "speech.h"

+ 2
- 2
src/libespeak-ng/compilembrola.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "speak_lib.h"
#include "espeak_ng.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "error.h" #include "error.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/dictionary.c View File

#include <wctype.h> #include <wctype.h>
#include <wchar.h> #include <wchar.h>


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 1
- 1
src/libespeak-ng/error.c View File

#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"

+ 2
- 2
src/libespeak-ng/espeak_api.c View File



#include "config.h" #include "config.h"


#include "speak_lib.h"
#include "espeak_ng.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include <stdlib.h> #include <stdlib.h>
#if HAVE_STDINT_H #if HAVE_STDINT_H

+ 1
- 1
src/libespeak-ng/espeak_command.c View File



#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"

+ 0
- 1
src/libespeak-ng/espeak_command.h View File

#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"

+ 3
- 2
src/libespeak-ng/event.c View File

#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"



+ 0
- 2
src/libespeak-ng/event.h View File



*/ */


#include "speak_lib.h"

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {

+ 1
- 1
src/libespeak-ng/fifo.c View File

#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"

+ 0
- 1
src/libespeak-ng/fifo.h View File

// 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"

+ 2
- 2
src/libespeak-ng/intonation.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/klatt.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "klatt.h" #include "klatt.h"

+ 2
- 2
src/libespeak-ng/numbers.c View File

#include <wctype.h> #include <wctype.h>
#include <wchar.h> #include <wchar.h>


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/phonemelist.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/readclause.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/setlengths.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/spect.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/speech.c View File

#include <unistd.h> #include <unistd.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "phoneme.h" #include "phoneme.h"
#include "synthesize.h" #include "synthesize.h"

+ 2
- 2
src/libespeak-ng/synth_mbrola.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/synthdata.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "error.h" #include "error.h"
#include "speech.h" #include "speech.h"

+ 2
- 2
src/libespeak-ng/synthesize.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/tr_languages.c View File



#include <wctype.h> #include <wctype.h>


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/translate.c View File

#include <wctype.h> #include <wctype.h>
#include <wchar.h> #include <wchar.h>


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/libespeak-ng/voices.c View File

#include "dirent.h" #include "dirent.h"
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "phoneme.h" #include "phoneme.h"
#include "synthesize.h" #include "synthesize.h"

+ 2
- 2
src/libespeak-ng/wavegen.c View File

#include <stdint.h> #include <stdint.h>
#endif #endif


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "speech.h" #include "speech.h"
#include "phoneme.h" #include "phoneme.h"

+ 2
- 2
src/speak-ng.c View File

#include <locale.h> #include <locale.h>
#include <sys/stat.h> #include <sys/stat.h>


#include "espeak_ng.h"
#include "speak_lib.h"
#include <espeak-ng/espeak_ng.h>
#include <espeak/speak_lib.h>


#include "phoneme.h" #include "phoneme.h"
#include "synthesize.h" #include "synthesize.h"

Loading…
Cancel
Save