mirror of https://github.com/sipwise/sems.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
685 B
39 lines
685 B
plug_in_name = speex
|
|
COREPATH =../..
|
|
|
|
SPEEX_INC=
|
|
#/usr/include/
|
|
SPEEX_LIB = -lspeex
|
|
|
|
# or:
|
|
# SPEEXDIR ?= speex_src
|
|
# SPEEX_INC ?= -I $(SPEEXDIR)
|
|
# SPEEX_LIB ?= $(SPEEXDIR)/libspeex/.libs/libspeex.a
|
|
#
|
|
# CONFIGURE_FLAG=--with-pic
|
|
|
|
|
|
module_ldflags = $(SPEEX_LIB)
|
|
module_cflags = -ansi # -DNOFPU
|
|
|
|
ifdef NOFPU
|
|
module_cflags += -DNOFPU
|
|
endif
|
|
|
|
# or
|
|
# module_extra_objs = $(SPEEX_LIB)
|
|
#extra_clean = clean_speex
|
|
|
|
include ../Makefile.audio_module
|
|
|
|
|
|
#$(SPEEXDIR)/Makefile:
|
|
# cd $(SPEEXDIR); ./configure $(CONFIGURE_FLAG)
|
|
#
|
|
#$(SPEEXDIR)/libspeex/.libs/libspeex.a:: $(SPEEXDIR)/Makefile
|
|
# $(MAKE) -C $(SPEEXDIR)/libspeex
|
|
#
|
|
#.PHONY: clean_speex
|
|
#clean_speex:
|
|
# $(MAKE) -C $(SPEEXDIR) distclean
|