2022-09-18 15:37:21 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2023-02-03 23:00:13 +00:00
|
|
|
JK3_BASE_CFLAGS = -DHAVE_GLES -DFINAL_BUILD -fexceptions -Wall -Wno-write-strings -Wno-comment -fno-caller-saves -fno-tree-vectorize -Wno-unused-but-set-variable -fvisibility=hidden
|
|
|
|
JK3_BASE_CPPFLAGS = -fvisibility-inlines-hidden -Wno-invalid-offsetof -fvisibility=hidden
|
2022-09-18 15:37:21 +00:00
|
|
|
|
2023-03-02 21:42:34 +00:00
|
|
|
# Optimisation flags required for release build so weapon selector beam is visible
|
|
|
|
ifeq ($(NDK_DEBUG), 0)
|
|
|
|
JK3_BASE_CFLAGS += -O1
|
|
|
|
JK3_BASE_CPPFLAGS += -O1
|
|
|
|
endif
|
|
|
|
|
2023-01-29 08:36:46 +00:00
|
|
|
JK3_BASE_LDLIBS =
|
2022-09-18 15:37:21 +00:00
|
|
|
|
|
|
|
#Armv7
|
2022-09-27 22:19:12 +00:00
|
|
|
# JK3_BASE_CFLAGS += -mfloat-abi=softfp
|
2022-09-18 15:37:21 +00:00
|
|
|
JK3_BASE_LDLIBS += -Wl
|
|
|
|
|
2023-07-27 21:08:18 +00:00
|
|
|
JK3_BASE_C_INCLUDES := $(OPENJK_PATH)/JKXR $(OPENJK_PATH)/lib $(JK3_CODE_PATH)/client $(JK3_CODE_PATH)/server $(JK3_CODE_PATH)/libs/freetype2/include $(JK3_CODE_PATH)/common $(JK3_CODE_PATH)/gl
|
2023-02-04 10:30:48 +00:00
|
|
|
JK3_BASE_C_INCLUDES += ${TOP_DIR}/OpenXR-SDK/include
|
|
|
|
JK3_BASE_C_INCLUDES += ${TOP_DIR}/OpenXR-SDK/src/common
|
2022-09-27 22:19:12 +00:00
|
|
|
JK3_BASE_C_INCLUDES += $(JK3_CODE_PATH)/ $(OPENJK_PATH)/code/ $(OPENJK_PATH)/shared/ $(JK3_CODE_PATH)/ui $(OPENJK_PATH)/lib/gsl-lite/include
|
2022-09-18 15:37:21 +00:00
|
|
|
|
2023-01-26 22:06:18 +00:00
|
|
|
|
2022-10-03 21:19:20 +00:00
|
|
|
# Jedi Outcast
|
2022-09-29 19:18:23 +00:00
|
|
|
include $(OPENJK_PATH)/Android_gles_jo.mk
|
2022-09-27 22:19:12 +00:00
|
|
|
include $(OPENJK_PATH)/Android_client_jo.mk
|
|
|
|
include $(OPENJK_PATH)/Android_game_jo.mk
|
2022-10-03 21:19:20 +00:00
|
|
|
|
|
|
|
# Jedi Academy
|
|
|
|
include $(OPENJK_PATH)/Android_gles_ja.mk
|
|
|
|
include $(OPENJK_PATH)/Android_client_ja.mk
|
2022-09-27 22:19:12 +00:00
|
|
|
include $(OPENJK_PATH)/Android_game_ja.mk
|
2022-09-18 15:37:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
|