Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
3.8 KiB

#hlsdk-2.3 client port for android
#Copyright (c) mittorn
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := client
#ifeq ($(XASH_SDL),1)
#APP_PLATFORM := android-12
#LOCAL_SHARED_LIBRARIES += SDL2
#LOCAL_CFLAGS += -DXASH_SDL
#else
APP_PLATFORM := android-8
#endif
LOCAL_CONLYFLAGS += -std=c99
include $(XASH3D_CONFIG)
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a-hard)
LOCAL_MODULE_FILENAME = libclient_hardfp
endif
LOCAL_CFLAGS += -DCLIENT_DLL=1
SRCS=
SRCS_C=
SRCS+=../dlls/crossbow.cpp
SRCS+=../dlls/crowbar.cpp
SRCS+=../dlls/egon.cpp
SRCS+=./ev_hldm.cpp
SRCS+=../dlls/gauss.cpp
SRCS+=../dlls/handgrenade.cpp
SRCS+=./hl/hl_baseentity.cpp
SRCS+=./hl/hl_events.cpp
SRCS+=./hl/hl_objects.cpp
SRCS+=./hl/hl_weapons.cpp
SRCS+=../dlls/hornetgun.cpp
SRCS+=../dlls/mp5.cpp
SRCS+=../dlls/python.cpp
SRCS+=../dlls/rpg.cpp
SRCS+=../dlls/satchel.cpp
SRCS+=../dlls/shotgun.cpp
SRCS+=../dlls/squeakgrenade.cpp
SRCS+=../dlls/tripmine.cpp
SRCS+=../dlls/glock.cpp
#SRCS+=../game_shared/voice_banmgr.cpp
#SRCS+=../game_shared/voice_status.cpp
SRCS+=./ammo.cpp
SRCS+=./ammo_secondary.cpp
SRCS+=./ammohistory.cpp
SRCS+=./battery.cpp
SRCS+=./cdll_int.cpp
SRCS+=./com_weapons.cpp
SRCS+=./death.cpp
SRCS+=./demo.cpp
SRCS+=./entity.cpp
SRCS+=./ev_common.cpp
SRCS+=./events.cpp
SRCS+=./flashlight.cpp
SRCS+=./GameStudioModelRenderer.cpp
SRCS+=./geiger.cpp
SRCS+=./health.cpp
SRCS+=./hud.cpp
SRCS+=./hud_msg.cpp
SRCS+=./hud_redraw.cpp
#SRCS+=./hud_servers.cpp
SRCS+=./hud_spectator.cpp
SRCS+=./hud_update.cpp
SRCS+=./in_camera.cpp
SRCS+=./input.cpp
#SRCS+=./inputw32.cpp
SRCS+=./menu.cpp
SRCS+=./message.cpp
SRCS+=./overview.cpp
SRCS+=./parsemsg.cpp
#SRCS+=./aghl/agbase64.cpp
SRCS+=./aghl/agcrc32.cpp
SRCS+=./aghl/agcrc32enforcer.cpp
#SRCS+=./aghl/agdownload.cpp
SRCS+=./aghl/Agglobal.cpp
SRCS+=./aghl/aghudcountdown.cpp
SRCS+=./aghl/aghudctf.cpp
SRCS+=./aghl/aghudcustomtimer.cpp
SRCS+=./aghl/aghudglobal.cpp
#SRCS+=./aghl/aghudirc.cpp
SRCS+=./aghl/aghudlocation.cpp
SRCS+=./aghl/aghudlongjump.cpp
SRCS+=./aghl/aghudnextmap.cpp
SRCS+=./aghl/aghudplayerid.cpp
#SRCS+=./aghl/aghudscoreboard.cpp
SRCS+=./aghl/aghudsettings.cpp
SRCS+=./aghl/aghudsplash.cpp
SRCS+=./aghl/aghudsuddendeath.cpp
SRCS+=./aghl/aghudtimeout.cpp
SRCS+=./aghl/aghudtimer.cpp
SRCS+=./aghl/aghudvote.cpp
#SRCS+=./aghl/agicq.cpp
#SRCS+=./aghl/agirc.cpp
SRCS+=./aghl/aglocation.cpp
#SRCS+=./aghl/agmapi.cpp
SRCS+=./aghl/agmatchreport.cpp
SRCS+=./aghl/agminidump.cpp
SRCS+=./aghl/agmodel.cpp
SRCS+=./aghl/agmodelcheck.cpp
#SRCS+=./aghl/agpak.cpp
SRCS+=./aghl/agvariablechecker.cpp
SRCS+=./aghl/agversioninfo.cpp
#SRCS+=./aghl/agvguiirc.cpp
#SRCS+=./aghl/AgVGuiMapBrowser.cpp
#SRCS+=./aghl/AgVGUIPassword.cpp
#SRCS+=./aghl/agvguiwinamp.cpp
SRCS+=./aghl/agwallhack.cpp
#SRCS+=./aghl/crossthreadsmessagingdevice.cpp
#SRCS+=./aghl/irc.cpp
#SRCS+=./aghl/socket.cpp
SRCS_C+=../pm_shared/pm_debug.c
SRCS_C+=../pm_shared/pm_math.c
SRCS_C+=../pm_shared/pm_shared.c
SRCS+=./saytext.cpp
SRCS+=./status_icons.cpp
SRCS+=./statusbar.cpp
SRCS+=./studio_util.cpp
SRCS+=./StudioModelRenderer.cpp
SRCS+=./text_message.cpp
SRCS+=./train.cpp
SRCS+=./tri.cpp
SRCS+=./util.cpp
SRCS+=./view.cpp
SRCS+=./input_xash3d.cpp
SRCS+=./scoreboard.cpp
SRCS+=./MOTD.cpp
INCLUDES = -I../common -I. -I../game_shared -I../pm_shared -I../engine -I../dlls
DEFINES = -Wno-write-strings -DLINUX -D_LINUX -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -DCLIENT_WEAPONS -DCLIENT_DLL -DAG_USE_CHEATPROTECTION -w
LOCAL_C_INCLUDES := $(LOCAL_PATH)/. \
$(LOCAL_PATH)/../common \
$(LOCAL_PATH)/../engine \
$(LOCAL_PATH)/../game_shared \
$(LOCAL_PATH)/../dlls \
$(LOCAL_PATH)/../pm_shared \
$(LOCAL_PATH)/.. \
$(LOCAL_PATH)/aghl \
$(LOCAL_PATH)/../dlls/aghl
LOCAL_CFLAGS += $(DEFINES) $(INCLUDES) -fexceptions
LOCAL_SRC_FILES := $(SRCS) $(SRCS_C)
include $(BUILD_SHARED_LIBRARY)