mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-25 18:29:43 +00:00
7f46f80015
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2588 96395faa-99c1-11dd-bbfe-3dabce05a288
30 lines
1013 B
Makefile
30 lines
1013 B
Makefile
# Create a shared library libZeroSPU2
|
|
AUTOMAKE_OPTIONS = foreign
|
|
noinst_LIBRARIES = libZeroSPU2.a
|
|
INCLUDES = -I@srcdir@/../../common/include -I@srcdir@/../../3rdparty
|
|
|
|
libZeroSPU2_a_CXXFLAGS = $(shell pkg-config --cflags gtk+-2.0)
|
|
libZeroSPU2_a_CFLAGS = $(shell pkg-config --cflags gtk+-2.0)
|
|
|
|
# Create a shared object by faking an exe (thanks to ODE makefiles)
|
|
traplibdir=$(prefix)
|
|
|
|
if DEBUGBUILD
|
|
preext=d
|
|
endif
|
|
|
|
EXEEXT=$(preext)@so_ext@
|
|
|
|
traplib_PROGRAMS=libZeroSPU2
|
|
libZeroSPU2_SOURCES=
|
|
libZeroSPU2_DEPENDENCIES = libZeroSPU2.a libSoundTouch.a
|
|
libZeroSPU2_LDFLAGS= @SHARED_LDFLAGS@
|
|
libZeroSPU2_LDFLAGS+=-Wl,-soname,@ZEROSPU2_SONAME@
|
|
libZeroSPU2_LDADD=$(libZeroSPU2_a_OBJECTS) libSoundTouch.a
|
|
|
|
libZeroSPU2_a_SOURCES = zerospu2.cpp voices.cpp zerodma.cpp zeroworker.cpp
|
|
libZeroSPU2_a_SOURCES += zerospu2.h reg.h misc.h zerodma.h zeroworker.h
|
|
libZeroSPU2_a_SOURCES += Linux/interface.c Linux/Linux.cpp Targets/Alsa.cpp Targets/OSS.cpp Targets/SoundTargets.cpp Linux/support.c
|
|
|
|
#SUBDIRS = ../../3rdparty/SoundTouch
|