[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22062] branches/blender2.5/blender: 2.5:
Stefan Gartner
stefang at aon.at
Thu Jul 30 20:19:46 CEST 2009
Revision: 22062
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22062
Author: sgefant
Date: 2009-07-30 20:19:46 +0200 (Thu, 30 Jul 2009)
Log Message:
-----------
2.5:
first step at adding Makefiles for smoke
NOTE: someone needs to add $(NAN_SMOKE)/lib/$(DEBUG_DIR)/libsmoke.a
to source/Makefile to make it link
Modified Paths:
--------------
branches/blender2.5/blender/intern/Makefile
branches/blender2.5/blender/source/blender/editors/space_view3d/Makefile
branches/blender2.5/blender/source/nan_definitions.mk
Added Paths:
-----------
branches/blender2.5/blender/intern/smoke/Makefile
branches/blender2.5/blender/intern/smoke/intern/Makefile
Modified: branches/blender2.5/blender/intern/Makefile
===================================================================
--- branches/blender2.5/blender/intern/Makefile 2009-07-30 17:52:33 UTC (rev 22061)
+++ branches/blender2.5/blender/intern/Makefile 2009-07-30 18:19:46 UTC (rev 22062)
@@ -32,7 +32,7 @@
# include nan_subdirs.mk
ALLDIRS = string ghost guardedalloc moto container memutil
-ALLDIRS += decimation iksolver bsp SoundSystem opennl elbeem boolop
+ALLDIRS += decimation iksolver bsp SoundSystem opennl elbeem boolop smoke
all::
@for i in $(ALLDIRS); do \
Added: branches/blender2.5/blender/intern/smoke/Makefile
===================================================================
--- branches/blender2.5/blender/intern/smoke/Makefile (rev 0)
+++ branches/blender2.5/blender/intern/smoke/Makefile 2009-07-30 18:19:46 UTC (rev 22062)
@@ -0,0 +1,54 @@
+# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
+# vim: tabstop=8
+#
+# $Id: Makefile 19330 2009-03-19 01:50:45Z hos $
+#
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Hans Lambermont, GSR
+#
+# ***** END GPL LICENSE BLOCK *****
+# smoke main makefile.
+#
+
+include nan_definitions.mk
+
+unexport NAN_QUIET
+
+LIBNAME = smoke
+SOURCEDIR = intern/$(LIBNAME)
+DIR = $(OCGDIR)/$(SOURCEDIR)
+DIRS = intern
+#not ready yet TESTDIRS = test
+
+include nan_subdirs.mk
+
+install: $(ALL_OR_DEBUG)
+ @[ -d $(NAN_SMOKE) ] || mkdir $(NAN_SMOKE)
+ @[ -d $(NAN_SMOKE)/include ] || mkdir $(NAN_SMOKE)/include
+ @[ -d $(NAN_SMOKE)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_SMOKE)/lib/$(DEBUG_DIR)
+ @../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)lib$(LIBNAME).a $(NAN_SMOKE)/lib/$(DEBUG_DIR)
+ifeq ($(OS),darwin)
+ ranlib $(NAN_SMOKE)/lib/$(DEBUG_DIR)lib$(LIBNAME).a
+endif
+ @../tools/cpifdiff.sh extern/*.h $(NAN_SMOKE)/include/
+
Added: branches/blender2.5/blender/intern/smoke/intern/Makefile
===================================================================
--- branches/blender2.5/blender/intern/smoke/intern/Makefile (rev 0)
+++ branches/blender2.5/blender/intern/smoke/intern/Makefile 2009-07-30 18:19:46 UTC (rev 22062)
@@ -0,0 +1,52 @@
+#
+# $Id: Makefile 17433 2008-11-12 21:16:53Z blendix $
+#
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): none yet.
+#
+# ***** END GPL LICENSE BLOCK *****
+# smoke intern Makefile
+#
+
+LIBNAME = smoke
+DIR = $(OCGDIR)/intern/$(LIBNAME)
+
+include nan_compile.mk
+
+unexport NAN_QUIET
+
+CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
+
+ifeq ($(WITH_BF_OPENMP),true)
+ CPPFLAGS += -DPARALLEL
+endif
+
+CPPFLAGS += -I.
+CPPFLAGS += -I../extern
+CPPFLAGS += -I$(NAN_PNG)/include
+CPPFLAGS += -I$(NAN_PNG)/include/libpng
+
+# zlib
+ifeq ($(OS),$(findstring $(OS), "solaris windows"))
+ CPPFLAGS += -I$(NAN_ZLIB)/include
+endif
Modified: branches/blender2.5/blender/source/blender/editors/space_view3d/Makefile
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_view3d/Makefile 2009-07-30 17:52:33 UTC (rev 22061)
+++ branches/blender2.5/blender/source/blender/editors/space_view3d/Makefile 2009-07-30 18:19:46 UTC (rev 22062)
@@ -52,7 +52,7 @@
CPPFLAGS += -I../../render/extern/include
CPPFLAGS += -I../../blenfont
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
-
+CPPFLAGS += -I$(NAN_SMOKE)/include
# own include
CPPFLAGS += -I../include
Modified: branches/blender2.5/blender/source/nan_definitions.mk
===================================================================
--- branches/blender2.5/blender/source/nan_definitions.mk 2009-07-30 17:52:33 UTC (rev 22061)
+++ branches/blender2.5/blender/source/nan_definitions.mk 2009-07-30 18:19:46 UTC (rev 22062)
@@ -107,6 +107,7 @@
export NAN_TEST_VERBOSITY ?= 1
export NAN_OPENNL ?= $(LCGDIR)/opennl
export NAN_ELBEEM ?= $(LCGDIR)/elbeem
+ export NAN_SMOKE ?= $(LCGDIR)/smoke
export NAN_SUPERLU ?= $(LCGDIR)/superlu
export NAN_GLEW ?= $(LCGDIR)/glew
ifeq ($(FREE_WINDOWS), true)
More information about the Bf-blender-cvs
mailing list