Update Android.mk.

This commit is contained in:
Night Owl 2017-03-30 21:53:49 +05:00
parent 10c0ad0933
commit 832c76785e
2 changed files with 74 additions and 4 deletions

View File

@ -74,6 +74,46 @@ 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
@ -90,8 +130,8 @@ 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 -w
INCLUDES = -I../common -I. -I../game_shared -I../pm_shared -I../engine -I../dlls -Iaghl -I../dlls/aghl -I..
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 \

View File

@ -14,7 +14,7 @@ LOCAL_MODULE_FILENAME = libserver_hardfp
endif
LOCAL_CFLAGS += -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf \
-fno-exceptions -DNO_VOICEGAMEMGR -w
-fno-exceptions -DNO_VOICEGAMEMGR -DAG_USE_CHEATPROTECTION -w
LOCAL_CPPFLAGS := $(LOCAL_CFLAGS) -frtti
@ -26,7 +26,9 @@ LOCAL_C_INCLUDES := $(SDL_PATH)/include \
$(LOCAL_PATH)/../engine \
$(LOCAL_PATH)/../public \
$(LOCAL_PATH)/../pm_shared \
$(LOCAL_PATH)/../game_shared
$(LOCAL_PATH)/../game_shared \
$(LOCAL_PATH)/aghl\
$(LOCAL_PATH)/..
LOCAL_SRC_FILES := agrunt.cpp airtank.cpp \
aflock.cpp \
@ -124,6 +126,34 @@ LOCAL_SRC_FILES := agrunt.cpp airtank.cpp \
world.cpp \
xen.cpp \
zombie.cpp \
aghl/agadmin.cpp \
aghl/agadmincache.cpp \
aghl/agarena.cpp \
aghl/agclient.cpp \
aghl/agcommand.cpp \
aghl/agctf.cpp \
aghl/agdom.cpp \
aghl/aggame.cpp \
aghl/aggamemode.cpp \
aghl/aggamerules.cpp \
aghl/agglobal.cpp \
aghl/aginfointermission.cpp \
aghl/aglms.cpp \
aghl/aglocation.cpp \
aghl/aglocationcache.cpp \
aghl/agmatch.cpp \
aghl/agmsgstat.cpp \
aghl/agscore.cpp \
aghl/agscorecache.cpp \
aghl/agscorelog.cpp \
aghl/agsettings.cpp \
aghl/agspectator.cpp \
aghl/agstats.cpp \
aghl/agsuddendeath.cpp \
aghl/agtimeout.cpp \
aghl/agtimer.cpp \
aghl/agvote.cpp \
aghl/agwallhack.cpp \
../pm_shared/pm_debug.c \
../pm_shared/pm_math.c \
../pm_shared/pm_shared.c