mirror of
https://github.com/DrBeef/QVR.git
synced 2024-11-14 00:10:35 +00:00
117 lines
1.9 KiB
Makefile
117 lines
1.9 KiB
Makefile
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
#--------------------------------------------------------
|
|
# libquakecardboard.so
|
|
#--------------------------------------------------------
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := qvr
|
|
LOCAL_CFLAGS := -std=c99
|
|
LOCAL_SRC_FILES := QVR.c
|
|
LOCAL_LDLIBS := -llog -landroid -lGLESv2 -lEGL # include default libraries
|
|
|
|
# CD objects
|
|
SRC_NOCD=cd_null.c
|
|
|
|
SRC_SND_COMMON=snd_main.c snd_mem.c snd_mix.c snd_ogg.c snd_wav.c snd_modplug.c
|
|
|
|
|
|
|
|
###### Common objects and flags #####
|
|
|
|
# Common objects
|
|
SRC_COMMON= \
|
|
bih.c \
|
|
cap_avi.c \
|
|
cap_ogg.c \
|
|
cd_shared.c \
|
|
crypto.c \
|
|
cl_collision.c \
|
|
cl_demo.c \
|
|
cl_dyntexture.c \
|
|
cl_input.c \
|
|
cl_main.c \
|
|
cl_parse.c \
|
|
cl_particles.c \
|
|
cl_screen.c \
|
|
cl_video.c \
|
|
clvm_cmds.c \
|
|
cmd.c \
|
|
collision.c \
|
|
common.c \
|
|
console.c \
|
|
csprogs.c \
|
|
curves.c \
|
|
cvar.c \
|
|
dpsoftrast.c \
|
|
dpvsimpledecode.c \
|
|
filematch.c \
|
|
fractalnoise.c \
|
|
fs.c \
|
|
ft2.c \
|
|
utf8lib.c \
|
|
gl_backend.c \
|
|
gl_draw.c \
|
|
gl_rmain.c \
|
|
gl_rsurf.c \
|
|
gl_textures.c \
|
|
hmac.c \
|
|
host.c \
|
|
host_cmd.c \
|
|
image.c \
|
|
image_png.c \
|
|
jpeg.c \
|
|
keys.c \
|
|
lhnet.c \
|
|
libcurl.c \
|
|
mathlib.c \
|
|
matrixlib.c \
|
|
mdfour.c \
|
|
menu.c \
|
|
meshqueue.c \
|
|
mod_skeletal_animatevertices_sse.c \
|
|
mod_skeletal_animatevertices_generic.c \
|
|
model_alias.c \
|
|
model_brush.c \
|
|
model_shared.c \
|
|
model_sprite.c \
|
|
mvm_cmds.c \
|
|
netconn.c \
|
|
palette.c \
|
|
polygon.c \
|
|
portals.c \
|
|
protocol.c \
|
|
prvm_cmds.c \
|
|
prvm_edict.c \
|
|
prvm_exec.c \
|
|
r_explosion.c \
|
|
r_lerpanim.c \
|
|
r_lightning.c \
|
|
r_modules.c \
|
|
r_shadow.c \
|
|
r_sky.c \
|
|
r_sprites.c \
|
|
sbar.c \
|
|
snprintf.c \
|
|
sv_demo.c \
|
|
sv_main.c \
|
|
sv_move.c \
|
|
sv_phys.c \
|
|
sv_user.c \
|
|
svbsp.c \
|
|
svvm_cmds.c \
|
|
sys_shared.c \
|
|
vid_shared.c \
|
|
view.c \
|
|
wad.c \
|
|
world.c \
|
|
zone.c
|
|
|
|
|
|
SRC_ANDROID= builddate.c sys_linux.c vid_android.c thread_pthread.c snd_android.c $(SRC_SND_COMMON) $(SRC_NOCD) $(SRC_COMMON)
|
|
|
|
LOCAL_SRC_FILES += $(SRC_ANDROID)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|