1 # -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
6 # ***** BEGIN GPL LICENSE BLOCK *****
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software Foundation,
20 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 # The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
23 # All rights reserved.
25 # The Original Code is: all of this file.
29 # ***** END GPL LICENSE BLOCK *****
33 DIR = $(OCGDIR)/creator
38 include nan_compile.mk
40 CFLAGS += $(LEVEL_1_C_WARNINGS)
42 CPPFLAGS += -I../blender/render/extern/include
43 CPPFLAGS += -I../blender/radiosity/extern/include
45 # two needed for the kernel
46 CPPFLAGS += -I../blender/imbuf
47 CPPFLAGS += -I../blender/makesdna
48 CPPFLAGS += -I../blender/makesrna
49 CPPFLAGS += -I../blender/blenlib
50 CPPFLAGS += -I../blender/include
51 CPPFLAGS += -I../blender/renderconverter
52 CPPFLAGS += -I../blender/blenkernel
53 CPPFLAGS += -I../blender/python
54 CPPFLAGS += -I../blender/blenloader
55 CPPFLAGS += -I../blender/gpu
56 CPPFLAGS += -I../kernel/gen_system
57 CPPFLAGS += -I../kernel/gen_messaging
58 CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
59 CPPFLAGS += -I$(NAN_GLEW)/include
61 ifeq ($(WITH_QUICKTIME), true)
62 CPPFLAGS += -I$(NAN_QUICKTIME)/include -DWITH_QUICKTIME
64 ifeq ($(WITH_OPENJPEG), true)
65 CPPFLAGS += -DWITH_OPENJPEG
68 ifeq ($(WITH_BINRELOC), true)
69 CPPFLAGS += -I$(NANBLENDERHOME)/extern/binreloc/include -DWITH_BINRELOC
72 CPPFLAGS += -I$(OPENGL_HEADERS)