2022-09-18 15:37:21 +00:00
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
|
2022-09-29 19:18:23 +00:00
|
|
|
LOCAL_MODULE := rd-gles-ja_arm
|
2022-09-18 15:37:21 +00:00
|
|
|
|
|
|
|
|
2022-09-29 19:18:23 +00:00
|
|
|
LOCAL_CFLAGS := $(JK3_BASE_CFLAGS) -DHAVE_GLES -DRENDERER -D_JK2EXE -DSP_GAME -Wno-narrowing
|
2022-09-18 15:37:21 +00:00
|
|
|
LOCAL_CPPFLAGS := $(JK3_BASE_CPPFLAGS)
|
|
|
|
|
|
|
|
LOCAL_LDLIBS := $(JK3_BASE_LDLIBS)
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_LDLIBS += -lGLESv3 -landroid -lEGL -ldl -llog
|
2022-09-21 22:34:51 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := libpng libjpeg
|
2022-09-23 22:10:32 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := gl4es
|
2022-09-18 15:37:21 +00:00
|
|
|
|
2022-09-27 22:19:12 +00:00
|
|
|
LOCAL_C_INCLUDES := $(JK3_BASE_C_INCLUDES) $(SUPPORT_LIBS)/libpng $(TOP_DIR) $(JK3_CODE_PATH)/rd-vanilla $(JK3_CODE_PATH)/rd-common
|
2022-09-19 21:46:47 +00:00
|
|
|
|
2022-09-18 15:37:21 +00:00
|
|
|
|
|
|
|
JK3_SRC = \
|
2022-09-27 22:19:12 +00:00
|
|
|
${JK3_CODE_PATH}/rd-vanilla/G2_API.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/G2_bolts.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/G2_bones.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/G2_misc.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/G2_surfaces.cpp \
|
|
|
|
${JK3_CODE_PATH}/qcommon/matcomp.cpp \
|
|
|
|
${JK3_CODE_PATH}/qcommon/q_shared.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_arb.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_backend.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_bsp.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_cmds.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_curve.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_draw.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_ghoul2.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_image.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_init.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_light.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_main.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_marks.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_mesh.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_model.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_quicksprite.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_scene.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_shade.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_shade_calc.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_shader.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_shadows.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_skin.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_sky.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_stl.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_subs.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_surface.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_surfacesprites.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_world.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-vanilla/tr_WorldEffects.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-common/tr_font.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-common/tr_image_load.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-common/tr_image_jpg.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-common/tr_image_tga.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-common/tr_image_png.cpp \
|
|
|
|
${JK3_CODE_PATH}/rd-common/tr_noise.cpp \
|
2022-09-18 15:37:21 +00:00
|
|
|
${OPENJK_PATH}/shared/qcommon/q_math.c \
|
|
|
|
${OPENJK_PATH}/shared/qcommon/q_color.c \
|
|
|
|
${OPENJK_PATH}/shared/qcommon/q_string.c \
|
2022-09-20 22:15:52 +00:00
|
|
|
|
2022-09-18 15:37:21 +00:00
|
|
|
LOCAL_SRC_FILES += $(JK3_SRC)
|
|
|
|
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|