Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2004-03-21 22:59:51 +0300
committerChris Want <cwant@ualberta.ca>2004-03-21 22:59:51 +0300
commit5b90aafbd6815e29343f8e9aba9e3e20f85b3cc0 (patch)
tree1e163d5a468fcb2d8bc70785998b3aa12da83f02 /source/Makefile
parent86108b3665df7891b5e40b7f1feff1b6528c882f (diff)
Added 2 options to the Makefiles (enable in environment, user-def.mk,
or whatever): NAN_NO_KETSJI: when set to true, disables compilation of the game engine. NAN_JUST_BLENDERDYNAMIC: when set to true, only dynamic executable is build (i.e., no plugin, etc). Note that NAN_NO_KETSJI implies NAN_JUST_BLENDERDYNAMIC.
Diffstat (limited to 'source/Makefile')
-rw-r--r--source/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile
index 14684250c63..e163ceb023c 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -38,7 +38,11 @@ endif
include nan_definitions.mk
-DIRS = creator blender kernel gameengine
+DIRS = creator blender kernel
+
+ifneq ($(NAN_NO_KETSJI),true)
+ DIRS += gameengine
+endif
ifeq ($(OS),windows)
DIRS += icons
@@ -98,6 +102,7 @@ PYPLAYERLIB ?= $(PYLIB)
COMLIB += $(OCGDIR)/blender/blenlib/$(DEBUG_DIR)libblenlib.a
COMLIB += $(OCGDIR)/blender/avi/$(DEBUG_DIR)libavi.a
COMLIB += $(NAN_JPEG)/lib/libjpeg.a
+ifneq ($(NAN_NO_KETSJI),true)
COMLIB += $(OCGDIR)/gameengine/bloutines/$(DEBUG_DIR)libbloutines.a
COMLIB += $(OCGDIR)/gameengine/blconverter/$(DEBUG_DIR)libblconverter.a
COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
@@ -131,6 +136,7 @@ PYPLAYERLIB ?= $(PYLIB)
COMLIB += $(OCGDIR)/gameengine/ketsji/KXNetwork/$(DEBUG_DIR)libKXNetwork.a
COMLIB += $(OCGDIR)/gameengine/Network/$(DEBUG_DIR)libNetwork.a
COMLIB += $(OCGDIR)/gameengine/Network/LoopBackNetwork/$(DEBUG_DIR)libLoopBackNetwork.a
+endif
COMLIB += $(NAN_GUARDEDALLOC)/lib/libguardedalloc.a
COMLIB += $(NAN_BMFONT)/lib/$(DEBUG_DIR)libbmfont.a
COMLIB += $(NAN_PNG)/lib/libpng.a
@@ -207,6 +213,13 @@ endif
PULIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a # KEY_dependkludge fix.. Remove me
PULIB += $(OCGDIR)/blender/src/$(DEBUG_DIR)libsrcpublisher.a
+ifeq ($(NAN_NO_KETSJI),true)
+ PULIB += $(NAN_MOTO)/lib/libmoto.a
+ PULIB += $(OCGDIR)/kernel/gen_system/$(DEBUG_DIR)libgen_system.a
+ PULIB += $(OCGDIR)/kernel/gen_messaging/$(DEBUG_DIR)libgen_messaging.a
+ COMLIB += $(NAN_SND_LIBS)
+endif
+
SPLIB1 = $(OCGDIR)/gameengine/GamePlayer/ghost/$(DEBUG_DIR)libghost.a
SPLIB1 += $(OCGDIR)/gameengine/GamePlayer/common/$(DEBUG_DIR)libcommon.a
SPLIB1 += $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a
@@ -447,6 +460,15 @@ ifeq ($(OS),windows)
endif
endif
+ifeq ($(NAN_JUST_BLENDERDYNAMIC),true)
+ ifeq ($(OS),darwin)
+ BINTARGETS = blenderdynamic.app
+ else
+ BINTARGETS = blenderdynamic
+ endif
+endif
+
+
# prepare for NAN_BUILDINFO compile at the *sigh* link rules below
ifdef NAN_BUILDINFO