Add Makefile build support for Console Space Type (added in r21611).
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>
Thu, 16 Jul 2009 03:11:21 +0000 (03:11 +0000)
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>
Thu, 16 Jul 2009 03:11:21 +0000 (03:11 +0000)
source/Makefile
source/blender/editors/Makefile
source/blender/editors/space_console/Makefile [new file with mode: 0644]

index de0b144ed716c0dcd976996a64586e66a9867752..680d8c8bfaa02f9aa6cb4f5f7d963ea691ae64a6 100644 (file)
@@ -240,6 +240,7 @@ PULIB += $(OCGDIR)/blender/ed_datafiles/$(DEBUG_DIR)libed_datafiles.a
 PULIB += $(OCGDIR)/blender/ed_image/$(DEBUG_DIR)libed_image.a
 PULIB += $(OCGDIR)/blender/ed_uvedit/$(DEBUG_DIR)libed_uvedit.a
 PULIB += $(OCGDIR)/blender/ed_screen/$(DEBUG_DIR)libed_screen.a
+PULIB += $(OCGDIR)/blender/ed_console/$(DEBUG_DIR)libed_console.a
 PULIB += $(OCGDIR)/blender/windowmanager/$(DEBUG_DIR)libwindowmanager.a
 PULIB += $(OCGDIR)/blender/python/$(DEBUG_DIR)libpython.a
 PULIB += $(OCGDIR)/blender/makesrna/$(DEBUG_DIR)librna.a
index 62bf612b09daac2eb85a26ba872c2dbf186c1f4f..6463815a268a04c3cf91518b11d0345625be43cf 100644 (file)
@@ -1,5 +1,7 @@
+# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
+# vim: tabstop=8
 #
-# $Id: Makefile
+# $Id$
 #
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
 # Bounces make to subdirectories.
 
 SOURCEDIR = source/blender/editors
-DIRS = armature mesh animation object sculpt_paint datafiles transform screen curve gpencil physics preview uvedit space_outliner space_time space_view3d interface util  space_api space_graph space_image space_node space_buttons space_info space_file space_sound space_action space_nla space_script space_text space_sequencer space_logic
+DIRS = armature \
+  mesh \
+  animation \
+  object \
+  sculpt_paint \
+  datafiles \
+  transform \
+  screen \
+  curve \
+  gpencil \
+  physics \
+  preview \
+  uvedit \
+  space_outliner \
+  space_time \
+  space_view3d \
+  interface \
+  util \
+  space_api \
+  space_console \
+  space_graph \
+  space_image \
+  space_node \
+  space_buttons \
+  space_info \
+  space_file \
+  space_sound \
+  space_action \
+  space_nla \
+  space_script \
+  space_text \
+  space_sequencer \
+  space_logic \
 
 include nan_subdirs.mk
diff --git a/source/blender/editors/space_console/Makefile b/source/blender/editors/space_console/Makefile
new file mode 100644 (file)
index 0000000..052dd36
--- /dev/null
@@ -0,0 +1,55 @@
+# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
+# vim: tabstop=8
+#
+# $Id$
+#
+# ***** BEGIN GPL 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. 
+#
+# 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) 2009 Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): none yet.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+LIBNAME = ed_console
+DIR = $(OCGDIR)/blender/$(LIBNAME)
+
+include nan_compile.mk
+
+CFLAGS += $(LEVEL_1_C_WARNINGS)
+
+CPPFLAGS += -I$(NAN_GLEW)/include
+CPPFLAGS += -I$(OPENGL_HEADERS)
+
+# not very neat....
+CPPFLAGS += -I../../windowmanager
+CPPFLAGS += -I../../blenfont
+CPPFLAGS += -I../../blenkernel
+CPPFLAGS += -I../../blenlib
+CPPFLAGS += -I../../makesdna
+CPPFLAGS += -I../../makesrna
+CPPFLAGS += -I../../imbuf
+CPPFLAGS += -I../../python
+CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
+CPPFLAGS += -I../../render/extern/include
+
+# own include 
+
+CPPFLAGS += -I../include