aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/Makefile
diff options
context:
space:
mode:
authorAndre Heider2009-02-15 14:42:27 +0000
committerAndre Heider2009-02-15 14:42:27 +0000
commit0082a84b8d956bf25c6aaef153d401d641f0923d (patch)
treec4bfa43bbf4ef3de699b24d693e460104acf47d8 /backends/platform/wii/Makefile
parent24dc986944b1c663b0903965da482a5c03a9aa14 (diff)
downloadscummvm-rg350-0082a84b8d956bf25c6aaef153d401d641f0923d.tar.gz
scummvm-rg350-0082a84b8d956bf25c6aaef153d401d641f0923d.tar.bz2
scummvm-rg350-0082a84b8d956bf25c6aaef153d401d641f0923d.zip
make keyboard support optional with USE_WII_KBD since libwiikeyboard is not in the official libogc svn.
svn-id: r38244
Diffstat (limited to 'backends/platform/wii/Makefile')
-rw-r--r--backends/platform/wii/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/backends/platform/wii/Makefile b/backends/platform/wii/Makefile
index 81ab9f4c5a..c8325a0cc8 100644
--- a/backends/platform/wii/Makefile
+++ b/backends/platform/wii/Makefile
@@ -14,14 +14,25 @@ DEBUG_WII_GDB = 0
# Builds a Gamecube version. Cleanup object files before flipping this!
GAMECUBE = 0
-# Enable DVD ISO9660/Joliet support using libdi (included in libogc)
-# This requires a working DVDX install to function, not available on Gamecube
+# Enable DVD ISO9660/Joliet support using libdi (included in libogc, but the
+# ISO9660 support has not been commited to the official svn yet, requires the
+# git repository for now).
+# This requires a working DVDX install to function, not available on Gamecube.
ifeq ($(GAMECUBE),1)
USE_WII_DI = 0
else
USE_WII_DI = 1
endif
+# Enable USB keyboard support through libwiikeyboard (included in libogc, but
+# it has not been commited to the official svn yet, requires the git repository
+# for now). Not available on Gamecube.
+ifeq ($(GAMECUBE),1)
+USE_WII_KBD = 0
+else
+USE_WII_KBD = 1
+endif
+
# List of game engines to compile in. Comment a to disable the engine.
ENABLE_SCUMM = STATIC_PLUGIN
ENABLE_SCUMM_7_8 = STATIC_PLUGIN
@@ -142,6 +153,10 @@ ifeq ($(USE_WII_DI),1)
CXXFLAGS += -DUSE_WII_DI
endif
+ifeq ($(USE_WII_KBD),1)
+CXXFLAGS += -DUSE_WII_KBD
+endif
+
ifeq ($(USE_ZLIB),1)
CXXFLAGS += -DUSE_ZLIB
LIBS += -lz