diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-01-05 20:42:07 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-01-05 20:42:07 +0300 |
commit | a017282b62294e8faaa4d95ff41e722398bfdd0a (patch) | |
tree | da1e178031ce0c19da8ece96d04d17274948add4 /source/blender | |
parent | 56db828948e94ccad3117a17c49c9152ca674202 (diff) |
Tweaks to get yafray stuff working with Makefiles
Kent
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/Makefile | 2 | ||||
-rw-r--r-- | source/blender/render/intern/source/Makefile | 1 | ||||
-rw-r--r-- | source/blender/yafray/Makefile | 34 | ||||
-rw-r--r-- | source/blender/yafray/intern/Makefile | 49 |
4 files changed, 85 insertions, 1 deletions
diff --git a/source/blender/Makefile b/source/blender/Makefile index afc215dad6e..ad891aeb3c9 100644 --- a/source/blender/Makefile +++ b/source/blender/Makefile @@ -37,7 +37,7 @@ DIRS = blenloader DIRS += deflate inflate DIRS += writestreamglue readstreamglue writeblenfile readblenfile DIRS += avi imbuf img render radiosity blenlib blenkernel blenpluginapi -DIRS += makesdna src renderconverter +DIRS += makesdna src renderconverter yafray DIRS += python ifeq ($(INTERNATIONAL), true) diff --git a/source/blender/render/intern/source/Makefile b/source/blender/render/intern/source/Makefile index ef22a822d44..400e6045c03 100644 --- a/source/blender/render/intern/source/Makefile +++ b/source/blender/render/intern/source/Makefile @@ -53,6 +53,7 @@ CPPFLAGS += -I../../../imbuf CPPFLAGS += -I../../../makesdna CPPFLAGS += -I../../../blenkernel CPPFLAGS += -I../../../quicktime +CPPFLAGS += -I../../../yafray CPPFLAGS += -I../../../../kernel/gen_messaging CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include # not very neat: the rest of blender.. diff --git a/source/blender/yafray/Makefile b/source/blender/yafray/Makefile new file mode 100644 index 00000000000..af64089623a --- /dev/null +++ b/source/blender/yafray/Makefile @@ -0,0 +1,34 @@ +# ***** 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/yafray +DIRS = intern + +include nan_subdirs.mk diff --git a/source/blender/yafray/intern/Makefile b/source/blender/yafray/intern/Makefile new file mode 100644 index 00000000000..54441898cfd --- /dev/null +++ b/source/blender/yafray/intern/Makefile @@ -0,0 +1,49 @@ +# ***** 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 = yafrayexport +DIR = $(OCGDIR)/blender/yafray + +include nan_compile.mk + +ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) + CFLAGS += -funsigned-char +endif + +CFLAGS += $(LEVEL_1_C_WARNINGS) + +CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include +CPPFLAGS += -I../../makesdna +CPPFLAGS += -I../../blenkernel +CPPFLAGS += -I../../blenlib +CPPFLAGS += -I../../render/extern/include +CPPFLAGS += -I../../imbuf +CPPFLAGS += -I../../include +CPPFLAGS += -I.. |