25 lines
781 B
Makefile
Raw Normal View History

2011-07-12 13:59:37 +02:00
BASE=../../../..
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
2011-07-12 13:59:37 +02:00
LOCAL_CFLAGS += -I$(SNDT_SRC)/include -DINTEGER_SAMPLES -I$(SNDT_BUILD)/include
LOCAL_LIBADD=$(LA)
include $(BASE)/build/modmake.rules
2011-07-12 13:59:37 +02:00
$(SNDT_SRC):
$(GETLIB) $(VERSION).tar.gz
2011-07-12 14:52:59 +02:00
$(SNDT_BUILD)/Makefile: $(SNDT_SRC)
2011-07-12 13:59:37 +02:00
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}
2011-07-12 14:52:59 +02:00
$(LA): $(SNDT_BUILD)/Makefile
2011-07-12 13:59:37 +02:00
cd $(SNDT_BUILD) && ${MAKE}
$(TOUCH_TARGET)