mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 18:23:38 +00:00
![Zebediah Figura](/assets/img/avatar_default.png)
Instead of including the IDLs directly, define a local IDL that #includes them, with XAUDIO2_VER defined, and include that generated header. Get rid of compat.c, and use XAUDIO2_VER to modify the code in the other source files. Build the tests for both xaudio2_7 and xaudio2_8 using PARENTSRC, and use XAUDIO2_VER to select between them. This mirrors the approach taken for d3dcompiler, and makes it easier to test more xaudio2 versions in the future.
13 lines
248 B
Makefile
13 lines
248 B
Makefile
EXTRADEFS = -DXAPOFX1_VER=2 -DXAUDIO2_VER=3
|
|
MODULE = xapofx1_2.dll
|
|
IMPORTS = $(FAUDIO_PE_LIBS) ole32
|
|
EXTRAINCL = $(FAUDIO_PE_CFLAGS)
|
|
PARENTSRC = ../xaudio2_7
|
|
|
|
C_SRCS = \
|
|
xapo.c \
|
|
xapofx.c \
|
|
xaudio_allocator.c
|
|
|
|
IDL_SRCS = xaudio_classes.idl
|