From 2b99cdd5cab1c833ac79a2e96db70d6fe79aed13 Mon Sep 17 00:00:00 2001 From: "Guillermo S. Romero" Date: Thu, 16 Jul 2009 03:11:21 +0000 Subject: [PATCH] Add Makefile build support for Console Space Type (added in r21611). --- source/Makefile | 1 + source/blender/editors/Makefile | 38 ++++++++++++- source/blender/editors/space_console/Makefile | 55 +++++++++++++++++++ 3 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 source/blender/editors/space_console/Makefile diff --git a/source/Makefile b/source/Makefile index de0b144ed71..680d8c8bfaa 100644 --- a/source/Makefile +++ b/source/Makefile @@ -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 diff --git a/source/blender/editors/Makefile b/source/blender/editors/Makefile index 62bf612b09d..6463815a268 100644 --- a/source/blender/editors/Makefile +++ b/source/blender/editors/Makefile @@ -1,5 +1,7 @@ +# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*- +# vim: tabstop=8 # -# $Id: Makefile +# $Id$ # # ***** BEGIN GPL LICENSE BLOCK ***** # @@ -29,6 +31,38 @@ # 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 index 00000000000..052dd360c9c --- /dev/null +++ b/source/blender/editors/space_console/Makefile @@ -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