1plug_in_name = speex
2COREPATH =../..
3
4SPEEX_INC=
5#/usr/include/
6SPEEX_LIB = -lspeex
7
8# or:
9# SPEEXDIR  ?= speex_src
10# SPEEX_INC ?= -I $(SPEEXDIR)
11# SPEEX_LIB ?= $(SPEEXDIR)/libspeex/.libs/libspeex.a
12#
13# CONFIGURE_FLAG=--with-pic
14
15
16module_ldflags = $(SPEEX_LIB)
17module_cflags  = -ansi # -DNOFPU
18
19ifdef NOFPU
20	module_cflags += -DNOFPU
21endif
22
23# or
24# module_extra_objs = $(SPEEX_LIB)
25#extra_clean = clean_speex
26
27include ../Makefile.audio_module
28
29
30#$(SPEEXDIR)/Makefile:
31#	cd $(SPEEXDIR); ./configure $(CONFIGURE_FLAG)
32#
33#$(SPEEXDIR)/libspeex/.libs/libspeex.a:: $(SPEEXDIR)/Makefile
34#	$(MAKE) -C $(SPEEXDIR)/libspeex
35#
36#.PHONY: clean_speex
37#clean_speex:
38#	$(MAKE) -C $(SPEEXDIR) distclean
39