From e94378511e1bf3cc56318341d24776db817bf3e5 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Wed, 21 Jan 2009 19:29:02 +0000 Subject: made ISO9660 support optional via USE_WII_DI svn-id: r35985 --- backends/platform/wii/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'backends/platform/wii/Makefile') diff --git a/backends/platform/wii/Makefile b/backends/platform/wii/Makefile index 66f16317ae..6b539a616e 100644 --- a/backends/platform/wii/Makefile +++ b/backends/platform/wii/Makefile @@ -14,6 +14,14 @@ 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 +ifeq ($(GAMECUBE),1) +USE_WII_DI = 0 +else +USE_WII_DI = 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 @@ -130,6 +138,10 @@ CXXFLAGS += -DDEBUG_WII_GDB LIBS += -ldb endif +ifeq ($(USE_WII_DI),1) +CXXFLAGS += -DUSE_WII_DI +endif + ifeq ($(USE_ZLIB),1) CXXFLAGS += -DUSE_ZLIB LIBS += -lz -- cgit v1.2.3