annotate Android.mk @ 2208:3809a0bd680e

Fix a couple of Z80 debugger issues
author Michael Pavone <pavone@retrodev.com>
date Sat, 27 Aug 2022 22:02:09 -0700
parents 78abbabfd58d
children 13abdc98379e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
858
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
1 LOCAL_PATH := $(call my-dir)
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
2
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
3 include $(CLEAR_VARS)
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
4
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
5 LOCAL_MODULE := main
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
6
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
7 SDL_PATH := android/jni/SDL
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
8
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
9 LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
10
1839
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
11 LOCAL_CFLAGS += -std=gnu99 -DX86_32 -DUSE_GLES
858
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
12
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
13 # Add your application source files here...
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
14 LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
15 68kinst.c debug.c gst.c psg.c z80_to_x86.c backend.c io.c render_sdl.c \
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
16 tern.c backend_x86.c gdb_remote.c m68k_core.c romdb.c m68k_core_x86.c \
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
17 util.c wave.c blastem.c gen.c mem.c vdp.c ym2612.c config.c gen_x86.c \
1839
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
18 terminal.c z80inst.c menu.c arena.c zlib/adler32.c zlib/compress.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
19 zlib/crc32.c zlib/deflate.c zlib/gzclose.c zlib/gzlib.c zlib/gzread.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
20 zlib/gzwrite.c zlib/infback.c zlib/inffast.c zlib/inflate.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
21 zlib/inftrees.c zlib/trees.c zlib/uncompr.c zlib/zutil.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
22 nuklear_ui/font_android.c nuklear_ui/blastem_nuklear.c nuklear_ui/sfnt.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
23 ppm.c controller_info.c png.c system.c genesis.c sms.c serialize.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
24 saves.c hash.c xband.c zip.c bindings.c jcart.c paths.c megawifi.c \
78abbabfd58d Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Michael Pavone <pavone@retrodev.com>
parents: 893
diff changeset
25 nor.c i2c.c sega_mapper.c realtec.c multi_game.c net.c
858
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
26
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
27 LOCAL_SHARED_LIBRARIES := SDL2
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
28
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
29 LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
30
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
31 include $(BUILD_SHARED_LIBRARY)