diff Android.mk @ 1839:78abbabfd58d

Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
author Michael Pavone <pavone@retrodev.com>
date Sun, 14 Apr 2019 23:37:11 -0700
parents 4f46b4cd5035
children 13abdc98379e
line wrap: on
line diff
--- a/Android.mk	Tue Apr 09 22:48:06 2019 -0700
+++ b/Android.mk	Sun Apr 14 23:37:11 2019 -0700
@@ -8,14 +8,21 @@
 
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
 
-LOCAL_CFLAGS += -std=gnu99 -DX86_32 -DDISABLE_OPENGL
+LOCAL_CFLAGS += -std=gnu99 -DX86_32 -DUSE_GLES
 
 # Add your application source files here...
 LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
 	68kinst.c debug.c gst.c psg.c z80_to_x86.c backend.c io.c render_sdl.c \
 	tern.c backend_x86.c gdb_remote.c m68k_core.c romdb.c m68k_core_x86.c \
 	util.c wave.c blastem.c gen.c mem.c vdp.c ym2612.c config.c gen_x86.c \
-	terminal.c z80inst.c menu.c arena.c
+	terminal.c z80inst.c menu.c arena.c zlib/adler32.c zlib/compress.c \
+	zlib/crc32.c zlib/deflate.c zlib/gzclose.c zlib/gzlib.c zlib/gzread.c \
+	zlib/gzwrite.c zlib/infback.c zlib/inffast.c zlib/inflate.c \
+	zlib/inftrees.c zlib/trees.c zlib/uncompr.c zlib/zutil.c \
+	nuklear_ui/font_android.c nuklear_ui/blastem_nuklear.c nuklear_ui/sfnt.c \
+	ppm.c controller_info.c png.c system.c genesis.c sms.c serialize.c \
+	saves.c hash.c xband.c zip.c bindings.c jcart.c paths.c megawifi.c \
+	nor.c i2c.c sega_mapper.c realtec.c multi_game.c net.c
 
 LOCAL_SHARED_LIBRARIES := SDL2