2010-11-24 22:33:14 +01:00
|
|
|
INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src -DPREFIX=\"@prefix@\"
|
2002-06-26 19:57:53 +00:00
|
|
|
|
2010-11-21 23:25:36 +01:00
|
|
|
if USE_CPPUNIT
|
2010-12-08 22:21:50 +01:00
|
|
|
TESTS = TestOgreView TestTasks TestTerrain
|
2010-11-21 23:25:36 +01:00
|
|
|
check_PROGRAMS = $(TESTS)
|
2011-03-11 16:34:58 +01:00
|
|
|
CLEANFILES = Ogre.log
|
2010-11-21 23:25:36 +01:00
|
|
|
|
2010-11-29 20:06:39 +01:00
|
|
|
TestOgreView_SOURCES = TestOgreView.cpp ConvertTestCase.cpp ModelMountTestCase.cpp
|
2010-11-28 23:17:23 +01:00
|
|
|
TestOgreView_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
|
|
|
|
TestOgreView_LDFLAGS = $(CPPUNIT_LIBS)
|
|
|
|
|
TestOgreView_LDADD = $(top_builddir)/src/components/ogre/libEmberOgre.a \
|
2010-11-24 22:33:14 +01:00
|
|
|
$(top_builddir)/src/components/entitymapping/libEntityMapping.a \
|
|
|
|
|
$(top_builddir)/src/framework/libFramework.a
|
2010-11-29 20:06:39 +01:00
|
|
|
|
|
|
|
|
TestTasks_SOURCES = TestTasks.cpp
|
2010-11-29 20:58:00 +01:00
|
|
|
TestTasks_CXXFLAGS = $(CPPUNIT_CFLAGS) -DLOG_TASKS
|
2010-11-29 20:06:39 +01:00
|
|
|
TestTasks_LDFLAGS = $(CPPUNIT_LIBS)
|
|
|
|
|
TestTasks_LDADD = $(top_builddir)/src/framework/tasks/libTasks.a \
|
|
|
|
|
$(top_builddir)/src/framework/libFramework.a
|
|
|
|
|
|
2010-12-08 22:21:50 +01:00
|
|
|
TestTerrain_SOURCES = TestTerrain.cpp
|
|
|
|
|
TestTerrain_CXXFLAGS = $(CPPUNIT_CFLAGS) -DLOG_TASKS
|
|
|
|
|
TestTerrain_LDFLAGS = $(CPPUNIT_LIBS)
|
|
|
|
|
TestTerrain_LDADD = $(top_builddir)/src/components/ogre/libEmberOgre.a \
|
|
|
|
|
$(top_builddir)/src/components/ogre/SceneManagers/EmberPagingSceneManager/src/libEmberPagingSceneManager.a \
|
|
|
|
|
$(top_builddir)/src/components/ogre/environment/caelum/libCaelum.a \
|
|
|
|
|
$(top_builddir)/src/components/ogre/environment/pagedgeometry/libpagedgeometry.a \
|
|
|
|
|
$(top_builddir)/src/components/ogre/environment/meshtree/libMeshTree.a \
|
|
|
|
|
$(top_builddir)/src/components/entitymapping/libEntityMapping.a \
|
|
|
|
|
$(top_builddir)/src/components/lua/libLua.a \
|
|
|
|
|
$(top_builddir)/src/services/libServices.a \
|
|
|
|
|
$(top_builddir)/src/services/input/libInputService.a \
|
2011-11-16 21:20:57 +01:00
|
|
|
$(top_builddir)/src/services/config/libConfigService.a \
|
2010-12-08 22:21:50 +01:00
|
|
|
$(top_builddir)/src/services/logging/libLoggingService.a \
|
|
|
|
|
$(top_builddir)/src/services/metaserver/libMetaserverService.a \
|
|
|
|
|
$(top_builddir)/src/services/scripting/libScriptingService.a \
|
|
|
|
|
$(top_builddir)/src/services/server/libServerService.a \
|
|
|
|
|
$(top_builddir)/src/services/sound/libSoundService.a \
|
|
|
|
|
$(top_builddir)/src/services/time/libTime.a \
|
|
|
|
|
$(top_builddir)/src/services/wfut/libWfut.a \
|
|
|
|
|
$(top_builddir)/src/services/serversettings/libServerSettings.a \
|
|
|
|
|
$(top_builddir)/src/framework/tasks/libTasks.a \
|
|
|
|
|
$(top_builddir)/src/framework/libFramework.a
|
2010-11-29 20:06:39 +01:00
|
|
|
|
2010-11-21 23:25:36 +01:00
|
|
|
|
|
|
|
|
|
2010-11-29 20:06:39 +01:00
|
|
|
noinst_HEADERS = ConvertTestCase.h ModelMountTestCase.h
|
2011-03-11 16:34:58 +01:00
|
|
|
endif
|