forked from yquake2/yquake2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android_gl1.mk
66 lines (48 loc) · 1.71 KB
/
Android_gl1.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := yquake2_gl1
LOCAL_CFLAGS := -DUSE_GLES1 -DIOAPI_NO_64 -DYQ2OSTYPE=\"Linux\" -DYQ2ARCH=\"Arm\"
BASE_DIR := engine
LOCAL_C_INCLUDES := $(SDL_INCLUDE_PATHS) \
$(TOP_DIR) \
$(TOP_DIR)/MobileTouchControls \
$(TOP_DIR)/Clibs_OpenTouch \
$(TOP_DIR)/Clibs_OpenTouch/jpeg8d \
$(TOP_DIR)/Clibs_OpenTouch/freetype2-android/include \
$(TOP_DIR)/Clibs_OpenTouch/quake \
# ----------
REFGL1_OBJS_ := \
src/client/refresh/gl1/qgl.o \
src/client/refresh/gl1/gl1_draw.o \
src/client/refresh/gl1/gl1_image.o \
src/client/refresh/gl1/gl1_light.o \
src/client/refresh/gl1/gl1_lightmap.o \
src/client/refresh/gl1/gl1_main.o \
src/client/refresh/gl1/gl1_mesh.o \
src/client/refresh/gl1/gl1_misc.o \
src/client/refresh/gl1/gl1_model.o \
src/client/refresh/gl1/gl1_scrap.o \
src/client/refresh/gl1/gl1_surf.o \
src/client/refresh/gl1/gl1_warp.o \
src/client/refresh/gl1/gl1_sdl.o \
src/client/refresh/files/pcx.o \
src/client/refresh/files/stb.o \
src/client/refresh/files/wal.o \
src/client/refresh/files/pvs.o \
src/client/refresh/files/models.o \
src/common/shared/shared.o \
src/common/md4.o
ifeq ($(YQ2_OSTYPE), Windows)
REFGL1_OBJS_ += \
src/backends/windows/shared/hunk.o
else # not Windows
REFGL1_OBJS_ += \
src/backends/unix/shared/hunk.o
endif
# ----------
LOCAL_SRC_FILES := $(REFGL1_OBJS_:.o=.c) \
LOCAL_LDLIBS := -lEGL -ldl -llog -lGLESv1_CM -lz
LOCAL_STATIC_LIBRARIES := sigc libzip libpng logwritter
LOCAL_SHARED_LIBRARIES := touchcontrols SDL2 SDL2_mixer
include $(BUILD_SHARED_LIBRARY)
include