From 0082a84b8d956bf25c6aaef153d401d641f0923d Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 15 Feb 2009 14:42:27 +0000 Subject: make keyboard support optional with USE_WII_KBD since libwiikeyboard is not in the official libogc svn. svn-id: r38244 --- backends/platform/wii/Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'backends/platform/wii/Makefile') 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 -- cgit v1.2.3