Browse Source

Build the ucd-tools files with libespeak.

master
Reece H. Dunn 8 years ago
parent
commit
9ecde56231
2 changed files with 8 additions and 5 deletions
  1. 6
    1
      Makefile.am
  2. 2
    4
      src/include/compat/stdint.h

+ 6
- 1
Makefile.am View File

src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm \ src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm \
${PCAUDIOLIB_LIBS} ${PCAUDIOLIB_LIBS}


src_libespeak_ng_la_CFLAGS = -Isrc/include -Isrc/include/compat \
src_libespeak_ng_la_CFLAGS = -Isrc/include -Isrc/include/compat -I src/ucd-tools/src/include \
-fPIC -fvisibility=hidden -D _BSD_SOURCE -D_DEFAULT_SOURCE -D _POSIX_C_SOURCE=200112L \ -fPIC -fvisibility=hidden -D _BSD_SOURCE -D_DEFAULT_SOURCE -D _POSIX_C_SOURCE=200112L \
-pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -DLIBESPEAK_NG_EXPORT \ -pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -DLIBESPEAK_NG_EXPORT \
${PCAUDIOLIB_CFLAGS} ${AM_CFLAGS} ${PCAUDIOLIB_CFLAGS} ${AM_CFLAGS}


src_libespeak_ng_la_SOURCES = \ src_libespeak_ng_la_SOURCES = \
src/ucd-tools/src/case.c \
src/ucd-tools/src/categories.c \
src/ucd-tools/src/ctype.c \
src/ucd-tools/src/scripts.c \
src/ucd-tools/src/tostring.c \
src/libespeak-ng/compiledata.c \ src/libespeak-ng/compiledata.c \
src/libespeak-ng/compiledict.c \ src/libespeak-ng/compiledict.c \
src/libespeak-ng/compilembrola.c \ src/libespeak-ng/compilembrola.c \

+ 2
- 4
src/include/compat/stdint.h View File



#pragma GCC system_header // Silence "warning: #include_next is a GCC extension" #pragma GCC system_header // Silence "warning: #include_next is a GCC extension"


#if defined(HAVE_STDINT_H)
#if defined(HAVE_STDINT_H) || !defined(HAVE_INTTYPES_H)
#include_next <stdint.h> #include_next <stdint.h>
#elif defined(HAVE_INTTYPES_H)
#include_next <inttypes.h>
#else #else
#error stdint.h compatibility is not supported on this platform
#include_next <inttypes.h>
#endif #endif


#endif #endif

Loading…
Cancel
Save