2009-02-06 19:52:59 +00:00
|
|
|
# Create a shared library libZeroSPU2
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
noinst_LIBRARIES = libZeroSPU2.a
|
2009-02-25 12:30:10 +00:00
|
|
|
INCLUDES = -I@srcdir@/../../common/include -I@srcdir@/../../3rdparty
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
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=
|
2009-02-27 00:07:07 +00:00
|
|
|
libZeroSPU2_DEPENDENCIES = libZeroSPU2.a libSoundTouch.a
|
2009-02-06 19:52:59 +00:00
|
|
|
libZeroSPU2_LDFLAGS= @SHARED_LDFLAGS@
|
|
|
|
libZeroSPU2_LDFLAGS+=-Wl,-soname,@ZEROSPU2_SONAME@
|
2009-02-27 00:07:07 +00:00
|
|
|
libZeroSPU2_LDADD=$(libZeroSPU2_a_OBJECTS) libSoundTouch.a
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2010-02-12 11:42:29 +00:00
|
|
|
libZeroSPU2_a_SOURCES = zerospu2.cpp voices.cpp zerodma.cpp zeroworker.cpp
|
|
|
|
libZeroSPU2_a_SOURCES += zerospu2.h reg.h misc.h zerodma.h zeroworker.h
|
2010-01-16 16:08:17 +00:00
|
|
|
libZeroSPU2_a_SOURCES += Linux/interface.c Linux/Linux.cpp Targets/Alsa.cpp Targets/OSS.cpp Targets/SoundTargets.cpp Linux/support.c
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-02-27 00:07:07 +00:00
|
|
|
#SUBDIRS = ../../3rdparty/SoundTouch
|