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

@@ -127,12 +127,17 @@ lib_LTLIBRARIES += src/libespeak-ng.la
src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm \
${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 \
-pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -DLIBESPEAK_NG_EXPORT \
${PCAUDIOLIB_CFLAGS} ${AM_CFLAGS}

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/compiledict.c \
src/libespeak-ng/compilembrola.c \

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

@@ -45,12 +45,10 @@

#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>
#elif defined(HAVE_INTTYPES_H)
#include_next <inttypes.h>
#else
#error stdint.h compatibility is not supported on this platform
#include_next <inttypes.h>
#endif

#endif

Loading…
Cancel
Save