From 25c673ef429570d9798b55bd5a0b88be9908ab75 Mon Sep 17 00:00:00 2001 From: Robert Holcomb Date: Sat, 24 Mar 2007 21:09:55 +0000 Subject: [PATCH] updated for nodes --- source/blender/Makefile | 2 +- source/blender/nodes/Makefile | 37 +++++++++ source/blender/nodes/intern/Makefile | 107 +++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 source/blender/nodes/Makefile create mode 100644 source/blender/nodes/intern/Makefile diff --git a/source/blender/Makefile b/source/blender/Makefile index 5888186fcfc..c0001495210 100644 --- a/source/blender/Makefile +++ b/source/blender/Makefile @@ -36,7 +36,7 @@ include nan_definitions.mk DIRS = blenloader readblenfile DIRS += avi imbuf render radiosity blenlib blenkernel blenpluginapi DIRS += makesdna src yafray -DIRS += python +DIRS += python nodes ifeq ($(INTERNATIONAL), true) DIRS += ftfont diff --git a/source/blender/nodes/Makefile b/source/blender/nodes/Makefile new file mode 100644 index 00000000000..15e42586064 --- /dev/null +++ b/source/blender/nodes/Makefile @@ -0,0 +1,37 @@ +# +# $Id$ +# +# ***** BEGIN GPL/BL DUAL 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. The Blender +# Foundation also sells licenses for use in proprietary software under +# the Blender License. See http://www.blender.org/BL/ for information +# about this. +# +# 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/BL DUAL LICENSE BLOCK ***** +# +# Bounces make to subdirectories. + +SOURCEDIR = source/blender/nodes +DIRS = intern + +include nan_subdirs.mk diff --git a/source/blender/nodes/intern/Makefile b/source/blender/nodes/intern/Makefile new file mode 100644 index 00000000000..c35e03173e6 --- /dev/null +++ b/source/blender/nodes/intern/Makefile @@ -0,0 +1,107 @@ +# +# $Id$ +# +# ***** BEGIN GPL/BL DUAL 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. The Blender +# Foundation also sells licenses for use in proprietary software under +# the Blender License. See http://www.blender.org/BL/ for information +# about this. +# +# 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/BL DUAL LICENSE BLOCK ***** +# +# + +LIBNAME = nodes +DIR = $(OCGDIR)/blender/$(LIBNAME) + +include nan_compile.mk + +ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd openbsd linux solaris windows")) + CFLAGS += -funsigned-char +endif + +CFLAGS += $(LEVEL_1_C_WARNINGS) + +# OpenGL and Python +CPPFLAGS += -I$(OPENGL_HEADERS) +CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) + +CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include +# Reference to the types in makesdna and imbuf +CPPFLAGS += -I../../makesdna +CPPFLAGS += -I../../imbuf +# This mod uses the BLI and BLO module +CPPFLAGS += -I../../blenlib +CPPFLAGS += -I../../blenloader +CPPFLAGS += -I../../python +# also avi is used +CPPFLAGS += -I../../avi +CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include + +# we still refer to /include a bit... +CPPFLAGS += -I../../include + +# to include the render stuff: +CPPFLAGS += -I../../render/extern/include + +# for sound +#CPPFLAGS += -I../../../kernel/gen_system +CPPFLAGS += $(NAN_SDLCFLAGS) + +CPPFLAGS += -I$(NAN_IKSOLVER)/include +CPPFLAGS += -I$(NAN_DECIMATION)/include +CPPFLAGS += -I$(NAN_ELBEEM)/include + +# path to zlib +CPPFLAGS += -I$(NAN_ZLIB)/include + +#path to nodes +CPPFLAGS += -I../ + +# path to our own external headerfiles +CPPFLAGS += -I.. + +ifeq ($(WITH_FREETYPE2), true) + CPPFLAGS += -DWITH_FREETYPE2 + CPPFLAGS += -I$(NAN_FREETYPE)/include + CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2 +endif + +ifeq ($(WITH_VERSE), true) + CPPFLAGS += -DWITH_VERSE + CPPFLAGS += -I$(NAN_VERSE)/include +endif + +ifeq ($(WITH_FFMPEG),true) + CPPFLAGS += -DWITH_FFMPEG + CPPFLAGS += $(NAN_FFMPEGCFLAGS) +endif + +ifeq ($(WITH_OPENEXR), true) + CPPFLAGS += -DWITH_OPENEXR +endif + +ifeq ($(WITH_QUICKTIME), true) + CPPFLAGS += -I../../quicktime + CPPFLAGS += -DWITH_QUICKTIME +endif