annotate Android.mk @ 1483:001120e91fed nuklear_ui

Skip loading menu ROM if Nuklear UI is enabled. Allow disabling Nuklear UI in favor of old menu ROM both at compile time and in config. Fall back to ROM UI if GL is unavailable
author Michael Pavone <pavone@retrodev.com>
date Sat, 25 Nov 2017 20:43:20 -0800
parents 4f46b4cd5035
children 78abbabfd58d
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
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
11 LOCAL_CFLAGS += -std=gnu99 -DX86_32 -DDISABLE_OPENGL
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 \
893
4f46b4cd5035 Use immersive fullscreen when available. Updated manifest to theoretically support Android TV.
Michael Pavone <pavone@retrodev.com>
parents: 876
diff changeset
18 terminal.c z80inst.c menu.c arena.c
858
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
19
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
20 LOCAL_SHARED_LIBRARIES := SDL2
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
21
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
22 LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
23
ba19bcc00483 Forgot the Android makefile
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
24 include $(BUILD_SHARED_LIBRARY)