2011-07-12 13:59:37 +02:00
|
|
|
BASE=../../../..
|
2011-07-11 20:58:35 +02:00
|
|
|
VERSION=soundtouch-1.5.0
|
2011-07-12 13:59:37 +02:00
|
|
|
SNDT_SRC=$(switch_srcdir)/libs/soundtouch
|
|
|
|
SNDT_BUILD=$(switch_builddir)/libs/soundtouch
|
|
|
|
LA=$(SNDT_BUILD)/source/SoundTouch/.libs/libSoundTouch.a
|
2007-06-12 21:27:16 +00:00
|
|
|
|
2011-07-12 13:59:37 +02:00
|
|
|
LOCAL_CFLAGS += -I$(SNDT_SRC)/include -DINTEGER_SAMPLES -I$(SNDT_BUILD)/include
|
2007-06-12 21:27:16 +00:00
|
|
|
LOCAL_LIBADD=$(LA)
|
|
|
|
|
2007-06-13 13:33:30 +00:00
|
|
|
include $(BASE)/build/modmake.rules
|
2007-06-12 21:27:16 +00:00
|
|
|
|
2011-07-12 13:59:37 +02:00
|
|
|
$(SNDT_SRC):
|
2007-06-12 21:27:16 +00:00
|
|
|
$(GETLIB) $(VERSION).tar.gz
|
|
|
|
|
2011-07-12 13:59:37 +02:00
|
|
|
$(SNDT_BUILD)/Makefile:
|
|
|
|
mkdir -p $(SNDT_BUILD)
|
|
|
|
cd $(SNDT_SRC) && AUTOMAKE="automake --add-missing --foreign --copy" autoreconf -fisv && rm -f `find . -name "*~"` && rm -f ChangeLog
|
|
|
|
cd ${SNDT_BUILD} && $(DEFAULT_VARS) $(SNDT_SRC)/configure $(DEFAULT_ARGS) --enable-integer-samples --srcdir=$(SNDT_SRC)
|
|
|
|
${TOUCH_TARGET}
|
|
|
|
|
2009-03-25 19:34:37 +00:00
|
|
|
|
2011-07-12 13:59:37 +02:00
|
|
|
$(LA): $(SNDT_BUILD)/Makefile
|
|
|
|
cd $(SNDT_BUILD) && ${MAKE}
|
|
|
|
$(TOUCH_TARGET)
|