Commit 8bb3ac27 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

backport changes to portaudio and asio from Vanilla

parent c7ba3db0
# how Miller builds Pd on Windows:
# makefile to compile for windows using the mingw suite.
# To use this makefile to cross-compile from linux, type for example:
# make -f makefile.mingw CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-c++ \
# WINDRES=i686-w64-mingw32-windres
# Miller's Windows build uses Microsoft Visual C and makefile.msvc:
CC = gcc
CXX = g++
WINDRES = windres
cvs_root_dir = ../..
pd_src = $(cvs_root_dir)/pd
......@@ -35,20 +41,27 @@ DLLWRAP= dllwrap
MORECFLAGS = -O3 -funroll-loops -fomit-frame-pointer
PADIR = $(pd_src)/portaudio
ASIODIR = $(pd_src)/asio
INCPA = -I$(PADIR) -I$(ASIODIR) -I$(PADIR)/include -I$(PADIR)/src/common
ASIODIR = $(pd_src)/lib/ASIOSDK2.3
ASIOINC = -I$(ASIODIR)/common -I$(ASIODIR)/host -I$(ASIODIR)/host/pc
INCPA = -I$(PADIR)/include -I$(PADIR)/src/common -I$(PADIR)/src/os/win \
INCLUDE = -I$(pd_src)/src
GINCLUDE = -I/usr/local/include $(INCLUDE)
LIBS = -lm -lpthreadGC2 -lwsock32 -lwinmm -lole32 -ltcl85 -ltk85
LIBS = -lm -lwsock32 -lwinmm -lole32 -lpthread
WARN_CFLAGS = -Wall -W -Wstrict-prototypes -Wno-unused \
-Wno-unused-parameter -Wno-parentheses -Wno-switch
# Some old code in asio/ASIOSDK2/common/combase.h needs to be ignored,
# we do this by setting the WINVER macro to min Windows XP aka 5.1.
# Also, for SetDllDirectory() s_loader.c, we need a minium of Windows
# XP SP1. WINVER isnt' fine-grained enough for that, so we use the
# next minor version of Windows, 5.2.
-DUSEAPI_MMIO -DUSEAPI_PORTAUDIO -mms-bitfields -DWISHAPP='"wish85.exe"'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment