|
|
@@ -16,9 +16,9 @@ WGET = wget -nc |
|
|
|
UNTAR = tar xf |
|
|
|
UNZIP = unzip |
|
|
|
ifeq ($(ARCH),win) |
|
|
|
CMAKE = cmake -G 'MSYS Makefiles' |
|
|
|
CMAKE = cmake -G 'MSYS Makefiles' |
|
|
|
else |
|
|
|
CMAKE = cmake |
|
|
|
CMAKE = cmake |
|
|
|
endif |
|
|
|
|
|
|
|
# Packages |
|
|
@@ -30,6 +30,7 @@ libcurl = curl-7.54.1 |
|
|
|
libzip = libzip-1.2.0 |
|
|
|
portmidi = portmidi |
|
|
|
portaudio = portaudio |
|
|
|
asio = asiosdk2.3 |
|
|
|
|
|
|
|
|
|
|
|
.NOTPARALLEL: |
|
|
@@ -92,10 +93,19 @@ $(portmidi): |
|
|
|
$(MAKE) -C $@ |
|
|
|
$(MAKE) -C $@ install |
|
|
|
|
|
|
|
$(portaudio): |
|
|
|
$(asio): |
|
|
|
echo "For ASIO support, download and move the ASIO SDK to $@" |
|
|
|
exit 1 |
|
|
|
|
|
|
|
ifeq ($(ARCH),win) |
|
|
|
PORTAUDIO_DEPS = $(asio) |
|
|
|
PORTAUDIO_ASIO = --with-host_os=mingw --with-winapi=wmme,asio --with-asiodir="../$(asio)" |
|
|
|
endif |
|
|
|
|
|
|
|
$(portaudio): $(PORTAUDIO_DEPS) |
|
|
|
$(WGET) http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz |
|
|
|
$(UNTAR) pa_stable_v190600_20161030.tgz |
|
|
|
cd $@ && ./configure --prefix="$(LOCAL)" |
|
|
|
cd $@ && ./configure --prefix="$(LOCAL)" $(PORTAUDIO_ASIO) |
|
|
|
$(MAKE) -C $@ |
|
|
|
$(MAKE) -C $@ install |
|
|
|
|
|
|
|