Browse Source

Move more CFLAGS definitions to AM_CFLAGS.

master
Reece H. Dunn 8 years ago
parent
commit
6d40577832
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      Makefile.am

+ 5
- 7
Makefile.am View File



# -Wno-endif-labels : Needed to prevent warnings in ieee80.c. # -Wno-endif-labels : Needed to prevent warnings in ieee80.c.
AM_CFLAGS = \ AM_CFLAGS = \
-Isrc/include \
-D_POSIX_C_SOURCE=200112L \
-Isrc/include -Isrc/include/compat -I src/ucd-tools/src/include \
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L \
-Wno-endif-labels -Wno-endif-labels


EXTRA_DIST= EXTRA_DIST=
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/compat -I src/ucd-tools/src/include \
-fPIC -fvisibility=hidden -D _BSD_SOURCE -D_DEFAULT_SOURCE \
src_libespeak_ng_la_CFLAGS = \
-fPIC -fvisibility=hidden \
-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}




noinst_bin_PROGRAMS += tests/tokenizer.test noinst_bin_PROGRAMS += tests/tokenizer.test


tests_tokenizer_test_CFLAGS = \
-Isrc/libespeak-ng -Isrc/include/compat -I src/ucd-tools/src/include \
${AM_CFLAGS}
tests_tokenizer_test_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS}
tests_tokenizer_test_SOURCES = \ tests_tokenizer_test_SOURCES = \
$(UCD_TOOLS_SOURCES) \ $(UCD_TOOLS_SOURCES) \
src/libespeak-ng/encoding.c \ src/libespeak-ng/encoding.c \

Loading…
Cancel
Save