1
# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
4
# $Id: Makefile 29990 2010-07-05 14:32:15Z bdiego $
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 *****
30
# ghost intern Makefile
34
DIR = $(OCGDIR)/intern/$(LIBNAME)
36
CCSRCS = GHOST_Buttons.cpp GHOST_System.cpp GHOST_Window.cpp
37
CCSRCS += GHOST_EventManager.cpp GHOST_EventPrinter.cpp GHOST_WindowManager.cpp
38
CCSRCS += GHOST_ISystem.cpp GHOST_ModifierKeys.cpp GHOST_TimerManager.cpp
39
CCSRCS += GHOST_Rect.cpp GHOST_DisplayManager.cpp GHOST_C-api.cpp
40
CCSRCS += GHOST_CallbackEventConsumer.cpp
41
CCSRCS += GHOST_NDOFManager.cpp GHOST_Path-api.cpp
43
ifeq ($(OS),$(findstring $(OS), "darwin"))
44
ifeq ($(WITH_COCOA), true)
45
OCCSRCS += $(wildcard *Cocoa.mm)
46
CPPFLAGS += -DGHOST_COCOA
47
ifeq ($(WITH_QUICKTIME), true)
48
CPPFLAGS += -DWITH_QUICKTIME
51
CCSRCS += $(wildcard *Carbon.cpp)
55
ifeq ($(OS),$(findstring $(OS), "windows"))
56
CPPFLAGS += -I$(NAN_WINTAB)/include
57
CCSRCS += $(wildcard *Win32.cpp)
60
ifeq ($(OS),$(findstring $(OS), "freebsd irix linux openbsd solaris"))
61
CCSRCS += $(wildcard *X11.cpp)
64
include nan_compile.mk
66
#CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
68
CPPFLAGS += -I$(NAN_STRING)/include
69
CPPFLAGS += -I$(NAN_MEMUTIL)/include
71
CPPFLAGS += -I$(OPENGL_HEADERS)
72
CPPFLAGS += -I../../../source/blender/imbuf
73
CPPFLAGS += -I../../../source/blender/makesdna