FS-6293: fix mod_codec2 srcdir build

This commit is contained in:
Michael Jerris 2014-03-18 17:19:40 -04:00
parent 6f34441b9f
commit e63140a4d3
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ AUTOMAKE_OPTS = gnu
NAME = codec2
AM_CPPFLAGS = $(AM_CFLAGS)
D=codebook
D=$(abs_srcdir)/codebook
# lsp quantisers

View File

@ -1,4 +1,4 @@
AM_CFLAGS = -I../src -fPIC -g -DFLOATING_POINT -DVAR_ARRAYS -O2 -Wall
AM_CFLAGS = -I../src -I$(abs_srcdir)/../src -fPIC -g -DFLOATING_POINT -DVAR_ARRAYS -O2 -Wall
AUTOMAKE_OPTS = gnu
NAME = libcodec2
AM_CPPFLAGS = $(AM_CFLAGS)

View File

@ -7,7 +7,7 @@ CODEC2LA=$(CODEC2_BUILDDIR)/src/libcodec2.la
mod_LTLIBRARIES = mod_codec2.la
mod_codec2_la_SOURCES = mod_codec2.c
mod_codec2_la_CFLAGS = $(AM_CFLAGS) -I$(CODEC2_DIR)/include -I$(CODEC2_BUILDDIR)/src
mod_codec2_la_CFLAGS = $(AM_CFLAGS) -I$(CODEC2_DIR)/include -I$(CODEC2_BUILDDIR)/src -I$(CODEC2_DIR)/src
mod_codec2_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(CODEC2LA)
mod_codec2_la_LDFLAGS = -avoid-version -module -no-undefined -shared