Merged 15170:15635 from trunk (no conflicts or even merges)
[blender.git] / source / gameengine / GamePlayer / common / Makefile
1 #
2 # $Id$
3 #
4 # ***** BEGIN GPL LICENSE BLOCK *****
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software Foundation,
18 # Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19 #
20 # The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
21 # All rights reserved.
22 #
23 # The Original Code is: all of this file.
24 #
25 # Contributor(s): none yet.
26 #
27 # ***** END GPL LICENSE BLOCK *****
28 #
29 #
30
31 LIBNAME = common
32 DIR = $(OCGDIR)/gameengine/GamePlayer/$(LIBNAME)
33
34 include nan_compile.mk
35
36 CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
37
38 CPPFLAGS += -I$(NAN_GLEW)/include
39 CPPFLAGS += -I$(OPENGL_HEADERS)
40
41 CPPFLAGS += -I../../../blender/blenkernel
42 CPPFLAGS += -I../../../blender/blenloader
43 CPPFLAGS += -I../../../blender/blenlib
44 CPPFLAGS += -I../../../blender/imbuf
45 CPPFLAGS += -I../../../blender/makesdna
46 CPPFLAGS += -I../../../kernel/gen_system
47 CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
48
49 CPPFLAGS += -I$(NAN_FUZZICS)/include
50 CPPFLAGS += -I$(NAN_STRING)/include    
51 CPPFLAGS += -I$(NAN_MOTO)/include
52 CPPFLAGS += -I$(NAN_SUMO)/include
53 CPPFLAGS += -I$(NAN_SOLID)/include
54 CPPFLAGS += -I$(NAN_PNG)/include
55 CPPFLAGS += -I$(NAN_ZLIB)/include
56 CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
57
58 CPPFLAGS += -I$(NAN_BMFONT)/include
59 CPPFLAGS += -I$(NAN_SOUNDSYSTEM)/include
60 CPPFLAGS += -I../../../gameengine/Converter
61 CPPFLAGS += -I../../../gameengine/Expressions
62 CPPFLAGS += -I../../../gameengine/GameLogic
63 CPPFLAGS += -I../../../gameengine/Converter
64 CPPFLAGS += -I../../../gameengine/BlenderRoutines
65 CPPFLAGS += -I../../../gameengine/Ketsji
66 CPPFLAGS += -I../../../gameengine/Ketsji/KXNetwork
67 CPPFLAGS += -I../../../gameengine/Network
68 CPPFLAGS += -I../../../gameengine/Network/LoopBackNetwork
69 CPPFLAGS += -I../../../gameengine/Rasterizer
70 CPPFLAGS += -I../../../gameengine/SceneGraph
71 CPPFLAGS += -I../../../gameengine/Rasterizer/RAS_OpenGLRasterizer
72 CPPFLAGS += -I../../../gameengine/Physics/Sumo
73 CPPFLAGS += -I../../../gameengine/Physics/common
74
75 ifeq ($(WITH_BF_GLEXT),true)
76     CPPFLAGS += -DWITH_GLEXT
77 endif
78
79 ###############################
80
81 SOURCEDIR = source/gameengine/GamePlayer/common
82 DIRS =
83 ifeq ($(OS),windows)
84 # Still 
85     DIRS = windows
86 else
87   ifneq ($(OS),darwin)
88     DIRS = unix
89   endif
90 endif
91
92 include nan_subdirs.mk