diff --git a/source/Makefile b/source/Makefile index f0d0323934e..9ed5b930a48 100644 --- a/source/Makefile +++ b/source/Makefile @@ -79,7 +79,7 @@ PYPLAYERLIB ?= $(PYLIB) GRPLIB = $(OCGDIR)/creator/$(DEBUG_DIR)libcreator.a GRPLIB += $(OCGDIR)/blender/src/$(DEBUG_DIR)libsrcpublisher.a GRPLIB += $(NAN_BSP)/lib/$(DEBUG_DIR)libbsp.a - GRPLIB += $(NAN_BOOLOP)/lib/$(DEBUG_DIR)libboolop.a + GRPLIB += $(NAN_BOOLOP)/lib/$(DEBUG_DIR)libboolop.a GRPLIB += $(NAN_SOUNDSYSTEM)/lib/$(DEBUG_DIR)libSoundSystem.a GRPLIB += $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a GRPLIB += $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a @@ -91,7 +91,6 @@ PYPLAYERLIB ?= $(PYLIB) GRPLIB += $(NAN_SUPERLU)/lib/$(DEBUG_DIR)libsuperlu.a GRPLIB += $(OCGDIR)/blender/python/$(DEBUG_DIR)libpython.a - # nlin: the reason that some libraries appear more than once below is # to handle circular dependencies in linking among libraries... some # linkers (e.g. under Linux) need libs to be specified multiple times @@ -119,7 +118,7 @@ ifneq ($(NAN_NO_KETSJI),true) COMLIB += $(OCGDIR)/gameengine/blphys/sumo/$(DEBUG_DIR)libsumo.a COMLIB += $(OCGDIR)/gameengine/blphys/fuzzics/$(DEBUG_DIR)libfuzzics.a COMLIB += $(NAN_QHULL)/lib/libqhull.a - COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a + COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a # COMLIB += $(OCGDIR)/gameengine/blphys/sumo/$(DEBUG_DIR)libsumo.a COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a @@ -161,11 +160,11 @@ endif endif ifeq ($(WITH_FREETYPE2), true) ifeq ($(OS), windows) - ifeq ($(FREE_WINDOWS), true) - COMLIB += $(NAN_FREETYPE)/lib/libfreetype.a - else - COMLIB += $(NAN_FREETYPE)/lib/freetype2ST.lib - endif + ifeq ($(FREE_WINDOWS), true) + COMLIB += $(NAN_FREETYPE)/lib/libfreetype.a + else + COMLIB += $(NAN_FREETYPE)/lib/freetype2ST.lib + endif else ifeq ($(OS), irix) COMLIB += $(NAN_FREETYPE)/lib32/libfreetype.a @@ -196,22 +195,22 @@ ifeq ($(INTERNATIONAL), true) COMLIB += $(NAN_FREETYPE)/lib/libfreetype.a endif endif - ifeq ($(OS), darwin) - COMLIB += $(NAN_GETTEXT)/lib/libintl.a - endif - ifeq ($(OS), solaris) - COMLIB += $(NAN_GETTEXT)/lib/libintl.a - endif + ifeq ($(OS), darwin) + COMLIB += $(NAN_GETTEXT)/lib/libintl.a + endif + ifeq ($(OS), solaris) + COMLIB += $(NAN_GETTEXT)/lib/libintl.a + endif endif ifeq ($(OS), irix) - COMLIB += $(NAN_SDL)/lib/libSDL.a + COMLIB += $(NAN_SDL)/lib/libSDL.a endif ifeq ($(OS), windows) ifeq ($(FREE_WINDOWS), true) - COMLIB += $(NAN_SDL)/lib/libSDL.a + COMLIB += $(NAN_SDL)/lib/libSDL.a else - COMLIB += $(NAN_SDL)/lib/SDL.lib + COMLIB += $(NAN_SDL)/lib/SDL.lib endif endif @@ -273,7 +272,6 @@ ifeq ($(OS),$(findstring $(OS), "windows")) endif PLUGAPPLIB += $(OCGDIR)/gameengine/GamePlayer/common/$(DEBUG_DIR)libcommon.a - ifeq ($(OS),$(findstring $(OS), "linux")) ifeq ($(CPU),i386) PLUGAPPLIB_XPLINK = $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)_Blender3DPlugin_implementation_.o @@ -294,7 +292,6 @@ endif ifeq ($(OS),darwin) BINTARGETS = blenderdynamic.app BINTARGETS += blenderplayer.app - ifdef PY_FRAMEWORK PYLIB = -framework Python else @@ -334,7 +331,7 @@ ifeq ($(OS),linux) BINTARGETS += blenderplayer BINTARGETS += blenderstatic ifneq ($(NAN_NO_PLUGIN),true) - BINTARGETS += plugin xplink + BINTARGETS += plugin xplink endif endif ifeq ($(CPU),powerpc) @@ -360,14 +357,12 @@ ifeq ($(OS),solaris) PYLIB = $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a PYLIB += $(NAN_MXTEXTTOOLS) PYLIB += $(NAN_ZLIB)/lib/libz.a - PULIB += $(NAN_ZLIB)/lib/libz.a SPLIB += $(NAN_ZLIB)/lib/libz.a endif # OpenAL libs are already compiled as shared code! Check FMod if we switch to that. (nzc) - # Some vars to keep the rest of this section mostly readable # in an 80 char term SOUNDSYSTEM = $(OCGDIR)/intern/SoundSystem/$(DEBUG_DIR)libSoundSystem.a @@ -428,12 +423,12 @@ else endif ifeq ($(OS),windows) - ifeq ($(FREE_WINDOWS),true) - PYLIB = $(NAN_PYTHON)/lib/freepy.a + ifeq ($(FREE_WINDOWS),true) + PYLIB = $(NAN_PYTHON)/lib/freepy.a else - PYLIB = $(NAN_PYTHON)/lib/python23.lib + PYLIB = $(NAN_PYTHON)/lib/python23.lib endif - + PYPLAYERLIB = $(NAN_PYTHON)/static/*.obj PYPLAYERLIB = $(PYLIB) @@ -686,3 +681,4 @@ $(DIR)/$(DEBUG_DIR)bin/npTestPlugin$(SOEXT): $(NSPLUGLIB) /bin/rm $(BUILDINFO_O) endif endif +