cyphesis/client/Makefile.am
Erik Ogenvik 514d0812a0 Added basic awareness for navigation.
"Awareness" refers to an entity's view of the surrounding world with
regards to how the entity could navigate. We use Recast/Detour to build
a navmesh for the entity.

However, since each world can have many NPCs, each one with their own
mind, we don't want to keep a complete navmesh for each single mind.
This will quickly become expensive. Therefore we want to share
awarenesses between multiple entities of the same type. So, for example,
all fishes handled by the same ai client will share one single awareness
of the world.
This to some degree involves some cheating, since AI minds now might get
knowledge of the world they otherwise wouldn't have. We consider this to
not be such a big issue. If this is unacceptable for some worlds these
should then disable awareness sharing and take the resource hit.
2016-03-19 23:05:13 +01:00

58 lines
2.2 KiB
Makefile

AM_CPPFLAGS = -I$(top_srcdir) -I${top_builddir}
bin_PROGRAMS = cyclient
if LINK_STATIC
CLIENT_LIBS = \
/usr/lib/libmercator-0.2.a \
/usr/lib/libvarconf-1.0.a \
/usr/lib/libwfmath-0.3.a \
/usr/lib/libAtlasObjects-0.7.a \
/usr/lib/libAtlasNet-0.7.a \
/usr/lib/libAtlasCodecs-0.7.a \
/usr/lib/libAtlasFilters-0.7.a \
/usr/lib/libAtlasMessage-0.7.a \
/usr/lib/libAtlas-0.7.a \
/usr/lib/libsigc-2.0.a \
$(PYTHON_LIBS) \
/usr/lib/libutil.a \
$(STATIC_LIBSTDCPP) \
$(STATIC_LIBGCC) \
-ldl -lc -lm -lpthread -lgcc_s
cyclient_LDFLAGS = -nodefaultlibs $(PYTHON_LINKER_FLAGS)
else
CLIENT_LIBS = $(COMMON_LIBS) $(TERRAIN_LIBS) $(NETWORK_LIBS) $(PYTHON_LIBS) $(PYTHON_UTIL_LIBS)
cyclient_LDFLAGS = $(PYTHON_LINKER_FLAGS)
endif
cyclient_SOURCES = CharacterClient.cpp CharacterClient.h \
CreatorClient.cpp CreatorClient.h \
BaseClient.cpp BaseClient.h \
ObserverClient.cpp ObserverClient.h \
ClientConnection.cpp ClientConnection.h \
Py_ObserverClient.cpp Py_ObserverClient.h \
Py_CreatorClient.cpp Py_CreatorClient.h \
Python_ClientAPI.cpp Python_ClientAPI.h \
ClientPropertyManager.cpp ClientPropertyManager.h \
client.cpp
cyclient_LDADD = \
$(top_builddir)/rulesets/libscriptpython.a \
$(top_builddir)/rulesets/librulesetmind.a \
$(top_builddir)/rulesets/librulesetentity.a \
$(top_builddir)/rulesets/librulesetbase.a \
$(top_builddir)/rulesets/libentityfilter.a \
$(top_builddir)/modules/libmodules.a \
$(top_builddir)/common/libcommon.a \
$(top_builddir)/physics/libphysics.a \
$(top_builddir)/navigation/libnavigation.a \
$(top_builddir)/navigation/external/RecastDetour/DetourTileCache/libDetourTileCache.a \
$(top_builddir)/navigation/external/RecastDetour/Detour/libDetour.a \
$(top_builddir)/navigation/external/RecastDetour/Recast/libRecast.a \
$(CLIENT_LIBS)