forked from bartvdbraak/blender
Fixing up the webplugin defines for the Makefiles.
Now you can do one of the following to disable it: export NAN_NO_PLUGIN=true export WITH_BF_WEBPLUGIN=false or export WITH_BF_WEBPLUGIN=true to enable building it. (Its set to false by default) Kent
This commit is contained in:
parent
8fdc367e0d
commit
106974a9d2
@ -315,12 +315,10 @@ ifeq ($(WITH_BF_BLENDERPLAYER), true)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_WEBPLUGIN), true)
|
||||
ifneq ($(NAN_NO_PLUGIN), true)
|
||||
BINTARGETS += plugin
|
||||
ifeq ($(OS),linux)
|
||||
ifeq ($(CPU),i386)
|
||||
BINTARGETS += xplink
|
||||
endif
|
||||
BINTARGETS += plugin
|
||||
ifeq ($(OS),linux)
|
||||
ifeq ($(CPU),i386)
|
||||
BINTARGETS += xplink
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
@ -34,7 +34,7 @@ SOURCEDIR = source/gameengine/GamePlayer
|
||||
DIR = $(OCGDIR)/gameengine/GamePlayer
|
||||
DIRS = common ghost
|
||||
|
||||
ifneq ($(NAN_NO_PLUGIN),true)
|
||||
ifeq ($(WITH_BF_WEBPLUGIN),true)
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd irix windows"))
|
||||
ifneq ($(FREE_WINDOWS),true)
|
||||
DIRS += netscape
|
||||
|
@ -64,7 +64,11 @@ all debug::
|
||||
export WITH_BF_STATICOPENGL ?= false
|
||||
export WITH_BF_BLENDERGAMEENGINE ?= true
|
||||
export WITH_BF_BLENDERPLAYER ?= true
|
||||
export WITH_BF_WEBPLUGIN ?= false
|
||||
ifeq ($(NAN_NO_PLUGIN), true)
|
||||
export WITH_BF_WEBPLUGIN = false
|
||||
else
|
||||
export WITH_BF_WEBPLUGIN ?= false
|
||||
endif
|
||||
|
||||
export NAN_MOTO ?= $(LCGDIR)/moto
|
||||
ifeq ($(FREE_WINDOWS), true)
|
||||
|
Loading…
Reference in New Issue
Block a user