aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 9f32d0d9aa..0dbdeb718b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,8 +75,12 @@ PAPCODECS_DIRS= \
xbmc/cores/paplayer/ModuleCodec \
xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU \
xbmc/cores/paplayer/vgmstream \
- xbmc/cores/paplayer/MACDll \
- xbmc/cores/paplayer/asap \
+ xbmc/cores/paplayer/MACDll
+
+ifeq (@USE_ASAP_CODEC@,1)
+PAPCODEC_DIRS+= \
+ xbmc/cores/paplayer/asap
+endif
ifeq ($(findstring osx,$(ARCH)),osx)
PAPCODEC_DIRS+= \
@@ -302,8 +306,10 @@ endif
$(MAKE) -C xbmc/cores/paplayer/NSFCodec
$(MAKE) -C xbmc/cores/paplayer/SIDCodec
$(MAKE) -C xbmc/cores/paplayer/ModuleCodec
-ifneq ($(findstring osx,$(ARCH)), osx)
- $(MAKE) -C xbmc/cores/paplayer/asap asap-xbmc
+ifeq (@USE_ASAP_CODEC@,1)
+ ifneq ($(findstring osx,$(ARCH)), osx)
+ $(MAKE) -C xbmc/cores/paplayer/asap asap-xbmc
+ endif
endif
ifneq (@USE_EXTERNAL_LIBWAVPACK@,1)
$(MAKE) -C xbmc/cores/paplayer/WavPackCodec