cs16-client-legacy/dlls/Android.mk

134 lines
2.8 KiB
Makefile

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := server
include $(XASH3D_CONFIG)
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a-hard)
LOCAL_MODULE_FILENAME = libserver_hardfp
endif
LOCAL_CFLAGS += -w -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf \
-fno-exceptions
LOCAL_CPPFLAGS := $(LOCAL_CFLAGS) -frtti
LOCAL_C_INCLUDES := $(LOCAL_PATH)/. \
$(LOCAL_PATH)/../common \
$(LOCAL_PATH)/../engine/common \
$(LOCAL_PATH)/../engine \
$(LOCAL_PATH)/../public \
$(LOCAL_PATH)/../public/tier1 \
$(LOCAL_PATH)/../pm_shared \
$(LOCAL_PATH)/../game_shared
LOCAL_SRC_FILES := \
mpstubb.cpp \
airtank.cpp \
ammo.cpp \
animating.cpp \
animation.cpp \
bmodels.cpp \
buttons.cpp \
cbase.cpp \
client.cpp \
combat.cpp \
doors.cpp \
effects.cpp \
explode.cpp \
func_break.cpp \
func_tank.cpp \
game.cpp \
gamerules.cpp \
ggrenade.cpp \
globals.cpp \
h_ai.cpp \
h_battery.cpp \
h_cycler.cpp \
healthkit.cpp \
h_export.cpp \
hintmessage.cpp \
hostage.cpp \
hostage_localnav.cpp \
items.cpp \
lights.cpp \
mapinfo.cpp \
maprules.cpp \
MemPool.cpp \
mortar.cpp \
multiplay_gamerules.cpp \
observer.cpp \
pathcorner.cpp \
perf_counter.cpp \
plane.cpp \
plats.cpp \
player.cpp \
singleplay_gamerules.cpp \
skill.cpp \
sound.cpp \
soundent.cpp \
spectator.cpp \
stdafx.cpp \
subs.cpp \
training_gamerules.cpp \
triggers.cpp \
util.cpp \
vehicle.cpp \
weapons.cpp \
world.cpp \
wpn_shared/wpn_ak47.cpp \
wpn_shared/wpn_aug.cpp \
wpn_shared/wpn_awp.cpp \
wpn_shared/wpn_c4.cpp \
wpn_shared/wpn_deagle.cpp \
wpn_shared/wpn_elite.cpp \
wpn_shared/wpn_famas.cpp \
wpn_shared/wpn_fiveseven.cpp \
wpn_shared/wpn_flashbang.cpp \
wpn_shared/wpn_g3sg1.cpp \
wpn_shared/wpn_galil.cpp \
wpn_shared/wpn_glock18.cpp \
wpn_shared/wpn_hegrenade.cpp \
wpn_shared/wpn_knife.cpp \
wpn_shared/wpn_m249.cpp \
wpn_shared/wpn_m3.cpp \
wpn_shared/wpn_m4a1.cpp \
wpn_shared/wpn_mac10.cpp \
wpn_shared/wpn_mp5navy.cpp \
wpn_shared/wpn_p228.cpp \
wpn_shared/wpn_p90.cpp \
wpn_shared/wpn_scout.cpp \
wpn_shared/wpn_sg550.cpp \
wpn_shared/wpn_sg552.cpp \
wpn_shared/wpn_smokegrenade.cpp \
wpn_shared/wpn_tmp.cpp \
wpn_shared/wpn_ump45.cpp \
wpn_shared/wpn_usp.cpp \
wpn_shared/wpn_xm1014.cpp \
../pm_shared/pm_debug.c \
../pm_shared/pm_math.c \
../pm_shared/pm_shared.c \
../game_shared/voice_gamemgr.cpp
LOCAL_CFLAGS += $(CFLAGS_OPT)
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a-hard)
LOCAL_CFLAGS += $(CFLAGS_OPT_ARM) -mfloat-abi=hard -mhard-float
LOCAL_MODULE_FILENAME = libserver_hardfp
endif
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS += $(CFLAGS_OPT_ARM) -mfloat-abi=softfp
endif
ifeq ($(TARGET_ARCH_ABI),armeabi)
LOCAL_CFLAGS += $(CFLAGS_OPT_ARMv5)
endif
ifeq ($(TARGET_ARCH_ABI),x86)
LOCAL_CFLAGS += $(CFLAGS_OPT_X86)
endif
LOCAL_CPPFLAGS := $(LOCAL_CFLAGS) -frtti -fpermissive
include $(BUILD_SHARED_LIBRARY)