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/yafray | |
parent | 56db828948e94ccad3117a17c49c9152ca674202 (diff) |
Tweaks to get yafray stuff working with Makefiles
Kent
Diffstat (limited to 'source/blender/yafray')
-rw-r--r-- | source/blender/yafray/Makefile | 34 | ||||
-rw-r--r-- | source/blender/yafray/intern/Makefile | 49 |
2 files changed, 83 insertions, 0 deletions
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.. |