remove nan-makefiles
This commit is contained in:
60
Makefile
60
Makefile
@@ -1,60 +0,0 @@
|
||||
# -*- 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) 2002 by Wouter van Heyst
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: revision 1.1
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Toplevel Makefile for blender. Bounces make to subdirectories.
|
||||
# Available targets: 'all' 'debug' 'release'
|
||||
|
||||
# If the user wants to override some of the build
|
||||
# vars they can put it in the file user-def.mk which
|
||||
# will get included if it exists (please do not commit
|
||||
# user-def.mk to the revision control server).
|
||||
sinclude user-def.mk
|
||||
|
||||
# To build without openAL, set it as an environment variable,
|
||||
# or put it uncommented in user-def.mk:
|
||||
# export NAN_NO_OPENAL=true
|
||||
|
||||
export NANBLENDERHOME=$(shell pwd)
|
||||
MAKEFLAGS=-I$(NANBLENDERHOME)/build_files/make --no-print-directory
|
||||
|
||||
SOURCEDIR =
|
||||
ifeq ($(FREE_WINDOWS),true)
|
||||
DIRS ?= $(NANBLENDERHOME)/build_files/make/dlltool extern intern source po
|
||||
else
|
||||
DIRS ?= extern intern source po
|
||||
endif
|
||||
|
||||
include build_files/make/nan_subdirs.mk
|
||||
|
||||
.PHONY: release
|
||||
release:
|
||||
@echo "====> $(MAKE) $@ in $(SOURCEDIR)/$@" ;\
|
||||
$(MAKE) -C $@ $@ || exit 1;
|
||||
|
||||
|
@@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# This is an example script to build things with the Nan Makefiles
|
||||
#
|
||||
#
|
||||
|
||||
rm -f /tmp/.nanguess
|
||||
export MAKE=make
|
||||
export NANBLENDERHOME=`pwd`
|
||||
export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
|
||||
export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
|
||||
|
||||
export NAN_PYTHON=/soft/python-2.2.2b1/progeny1
|
||||
export NAN_PYTHON_VERSION=2.2
|
||||
export NAN_OPENAL=/usr/local
|
||||
export NAN_JPEG=/usr/local
|
||||
export NAN_PNG=/usr/local
|
||||
export NAN_SDL=/usr/local
|
||||
export NAN_ODE=/usr/local
|
||||
export NAN_ZLIB=/usr/local
|
||||
export NAN_FREETYPE=/usr/local
|
||||
|
||||
export NAN_MOZILLA_INC=/usr/local/include/mozilla-1.0.1/
|
||||
export NAN_MOZILLA_LIB=/usr/local/lib/mozilla-1.0.1/
|
||||
#export NAN_NSPR=/scratch/irulan/mein/nspr-4.2.2/mozilla/nsprpub/dist/
|
||||
export CPPFLAGS="$CPPFLAGS"
|
||||
export CFLAGS="$CFLAGS"
|
||||
export INTERNATIONAL=true
|
||||
|
||||
$HMAKE -C intern/
|
||||
if [ $? -eq 0 ]; then
|
||||
$HMAKE -C source/
|
||||
fi
|
||||
$HMAKE -C release
|
||||
|
||||
#cd release
|
||||
#make
|
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -f /tmp/.nanguess
|
||||
export MAKE=make
|
||||
export NANBLENDERHOME=`pwd`
|
||||
export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
|
||||
export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
|
||||
echo
|
||||
echo NANBLENDERHOME : ${NANBLENDERHOME}
|
||||
|
||||
export NAN_PYTHON=/sw
|
||||
|
||||
$HMAKE -C intern/
|
||||
if [ $? -eq 0 ]; then
|
||||
$HMAKE -C source/
|
||||
fi
|
||||
cd release
|
||||
make
|
@@ -1,35 +0,0 @@
|
||||
#!/bin/sh
|
||||
# This is an example build script for SunOS5.8
|
||||
|
||||
rm -f /tmp/.nanguess
|
||||
export MAKE=make
|
||||
export NANBLENDERHOME=`pwd`
|
||||
export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
|
||||
export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
|
||||
|
||||
export NAN_PYTHON=/soft/python-2.2.2b1/SunOS5.8
|
||||
export NAN_PYTHON_VERSION=2.2
|
||||
export NAN_OPENAL=/usr/local
|
||||
export NAN_JPEG=/usr/local
|
||||
export NAN_PNG=/usr/local
|
||||
export NAN_SDL=/usr/local
|
||||
export NAN_ODE=/usr/local
|
||||
export NAN_OPENSSL=/soft/ssl/openssl-0.9.6e
|
||||
export NAN_ZLIB=/usr/local
|
||||
export NAN_FREETYPE=/usr/local
|
||||
|
||||
export NAN_MOZILLA_INC=/usr/local/include/mozilla-1.0.1/
|
||||
export NAN_MOZILLA_LIB=/usr/local/lib/mozilla-1.0.1/
|
||||
export NAN_NSPR=/scratch/irulan/mein/nspr-4.2.2/mozilla/nsprpub/dist/
|
||||
export CPPFLAGS="$CPPFLAGS"
|
||||
export CFLAGS="$CFLAGS"
|
||||
export INTERNATIONAL=true
|
||||
|
||||
$HMAKE -C intern/
|
||||
if [ $? -eq 0 ]; then
|
||||
$HMAKE -C source/
|
||||
fi
|
||||
$HMAKE -C release
|
||||
|
||||
#cd release
|
||||
#make
|
@@ -1,476 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR, Stefan Gartner
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Compile and archive
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
CPPFLAGS ?= $(NAN_CPPFLAGS)
|
||||
|
||||
# common parts ---------------------------------------------------
|
||||
CFLAGS += -DWITH_PYTHON
|
||||
CCFLAGS += -DWITH_PYTHON
|
||||
|
||||
# Uncomment next lines to enable integrated game engine
|
||||
ifneq ($(NAN_NO_KETSJI), true)
|
||||
CFLAGS += -DWITH_GAMEENGINE
|
||||
ifeq ($(NAN_USE_BULLET), true)
|
||||
CFLAGS += -DUSE_BULLET
|
||||
CCFLAGS += -DUSE_BULLET
|
||||
endif
|
||||
else
|
||||
CPPFLAGS += -DNO_KETSJI
|
||||
endif
|
||||
|
||||
ifeq ($(BF_PROFILE), true)
|
||||
CFLAGS += -pg
|
||||
CCFLAGS += -pg
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_OPENMP), true)
|
||||
CFLAGS += -fopenmp
|
||||
CCFLAGS += -fopenmp
|
||||
endif
|
||||
|
||||
ifdef NAN_DEBUG
|
||||
CFLAGS += $(NAN_DEBUG)
|
||||
CCFLAGS += $(NAN_DEBUG)
|
||||
endif
|
||||
|
||||
REL_CFLAGS += -DNDEBUG
|
||||
REL_CCFLAGS += -DNDEBUG
|
||||
DBG_CFLAGS += -g
|
||||
DBG_CCFLAGS += -g
|
||||
|
||||
# OS dependent parts ---------------------------------------------------
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
ifeq ($(MACOSX_DEPLOYMENT_TARGET), 10.4)
|
||||
CC = gcc-4.0
|
||||
CCC = g++-4.0
|
||||
else
|
||||
ifeq ($(MACOSX_DEPLOYMENT_TARGET), 10.5)
|
||||
CC = gcc-4.2
|
||||
CCC = g++-4.2
|
||||
endif
|
||||
endif
|
||||
ifeq ($(CPU),powerpc)
|
||||
CFLAGS += -pipe -fPIC -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing
|
||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
else
|
||||
CFLAGS += -pipe -fPIC -funsigned-char
|
||||
CCFLAGS += -pipe -fPIC -funsigned-char
|
||||
endif
|
||||
|
||||
CFLAGS += -arch $(MACOSX_ARCHITECTURE) #-isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MACOSX_MIN_VERS)
|
||||
CCFLAGS += -arch $(MACOSX_ARCHITECTURE) #-isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MACOSX_MIN_VERS)
|
||||
|
||||
ifeq ($(MACOSX_ARCHITECTURE), $(findstring $(MACOSX_ARCHITECTURE), "i386 x86_64"))
|
||||
REL_CFLAGS += -O2 -ftree-vectorize -msse -msse2 -msse3
|
||||
REL_CCFLAGS += -O2 -ftree-vectorize -msse -msse2 -msse3
|
||||
else
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
endif
|
||||
|
||||
CPPFLAGS += -D_THREAD_SAFE
|
||||
|
||||
ifeq ($(WITH_COCOA), true)
|
||||
CPPFLAGS += -DGHOST_COCOA
|
||||
endif
|
||||
ifeq ($(USE_QTKIT), true)
|
||||
CPPFLAGS += -DUSE_QTKIT
|
||||
endif
|
||||
|
||||
NAN_DEPEND = true
|
||||
OPENGL_HEADERS = /System/Library/Frameworks/OpenGL.framework
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
RANLIB = ranlib
|
||||
ARFLAGSQUIET = ru
|
||||
endif
|
||||
|
||||
ifeq ($(OS),freebsd)
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
JAVAC = javac
|
||||
JAVAH = javah
|
||||
CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
CPPFLAGS += -D_THREAD_SAFE
|
||||
NAN_DEPEND = true
|
||||
OPENGL_HEADERS = /usr/X11R6/include
|
||||
JAVA_HEADERS = /usr/local/jdk1.3.1/include
|
||||
JAVA_SYSTEM_HEADERS = /usr/local/jdk1.3.1/include/freebsd
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
ARFLAGSQUIET = ru
|
||||
endif
|
||||
|
||||
ifeq ($(OS),irix)
|
||||
ifeq ($(IRIX_USE_GCC),true)
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
CFLAGS += -fPIC -funsigned-char -fno-strict-aliasing -mabi=n32 -mips4
|
||||
CCFLAGS += -fPIC -fpermissive -funsigned-char -fno-strict-aliasing -mabi=n32 -mips4
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
DBG_CFLAGS += -g3 -gdwarf-2 -ggdb
|
||||
DBG_CCFLAGS += -g3 -gdwarf-2 -ggdb
|
||||
else
|
||||
CC ?= cc
|
||||
CCC ?= CC
|
||||
CFLAGS += -n32 -mips3 -Xcpluscomm
|
||||
CCFLAGS += -n32 -mips3 -Xcpluscomm -LANG:std
|
||||
ifdef MIPS73_ISOHEADERS
|
||||
CCFLAGS += -LANG:libc_in_namespace_std=off -I$(MIPS73_ISOHEADERS)
|
||||
else
|
||||
CCFLAGS += -LANG:libc_in_namespace_std=off
|
||||
endif
|
||||
REL_CFLAGS += -n32 -mips3 -O2 -OPT:Olimit=0
|
||||
REL_CCFLAGS += -n32 -mips3 -O2 -OPT:Olimit=0
|
||||
endif
|
||||
OPENGL_HEADERS = /usr/include
|
||||
NAN_DEPEND = true
|
||||
AR = CC
|
||||
ARFLAGS = -ar -o
|
||||
ARFLAGSQUIET = -ar -o
|
||||
endif
|
||||
|
||||
ifeq ($(OS),linux)
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
# CFLAGS += -pipe
|
||||
# CCFLAGS += -pipe
|
||||
CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
|
||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
NAN_DEPEND = true
|
||||
ifeq ($(WITH_BF_RAYOPTIMIZATION), true)
|
||||
CCFLAGS += -msse
|
||||
endif
|
||||
ifeq ($(CPU),alpha)
|
||||
CFLAGS += -mieee
|
||||
endif
|
||||
OPENGL_HEADERS = /usr/X11R6/include
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
ARFLAGSQUIET = ru
|
||||
endif
|
||||
|
||||
ifeq ($(OS),openbsd)
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
NAN_DEPEND = true
|
||||
CPPFLAGS += -D__FreeBSD__
|
||||
OPENGL_HEADERS = /usr/X11R6/include
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
ARFLAGSQUIET = ru
|
||||
endif
|
||||
|
||||
ifeq ($(OS),solaris)
|
||||
# Adding gcc flag to $CC is not good, however if its not there makesdna wont build - Campbell
|
||||
ifeq (x86_64, $(findstring x86_64, $(CPU)))
|
||||
CC ?= gcc -m64
|
||||
CCC ?= g++ -m64
|
||||
else
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
#CC ?= cc
|
||||
#CCC ?= CC
|
||||
endif
|
||||
|
||||
JAVAC = javac
|
||||
JAVAH = javah
|
||||
CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||
# CFLAGS += "-fast -xdepend -xarch=v8plus -xO3 -xlibmil -KPIC -DPIC -xchar=unsigned"
|
||||
# CCFLAGS += "-fast -xdepend -xarch=v8plus -xO3 -xlibmil -xlibmopt -features=tmplife -norunpath -KPIC -DPIC -xchar=unsigned"
|
||||
|
||||
# Note, you might still want to compile a 32 bit binary if you have a 64bit system. if so remove the following lines
|
||||
# ifeq ($(findstring 64,$(CPU)), 64)
|
||||
# CFLAGS += -m64
|
||||
# CCFLAGS += -m64
|
||||
# endif
|
||||
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
|
||||
NAN_DEPEND = true
|
||||
# ifeq ($(CPU),sparc)
|
||||
ifeq ($(findstring sparc,$(CPU)), sparc)
|
||||
OPENGL_HEADERS = /usr/openwin/share/include
|
||||
CPPFLAGS += -DSUN_OGL_NO_VERTEX_MACROS
|
||||
JAVA_HEADERS = /usr/java/include
|
||||
JAVA_SYSTEM_HEADERS = /usr/java/include/solaris
|
||||
else
|
||||
# OPENGL_HEADERS = /usr/X11/include/mesa
|
||||
OPENGL_HEADERS = /usr/X11/include/
|
||||
endif
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
ARFLAGSQUIET = ru
|
||||
endif
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
ifeq ($(FREE_WINDOWS),true)
|
||||
CC ?= gcc
|
||||
CCC ?= g++
|
||||
CFLAGS += -pipe -mno-cygwin -mwindows -funsigned-char -fno-strict-aliasing
|
||||
CCFLAGS += -pipe -mno-cygwin -mwindows -funsigned-char -fno-strict-aliasing
|
||||
CPPFLAGS += -DFREE_WINDOWS
|
||||
REL_CFLAGS += -O2
|
||||
REL_CCFLAGS += -O2
|
||||
NAN_DEPEND = true
|
||||
#OPENGL_HEADERS = /usr/include/w32api
|
||||
OPENGL_HEADERS = ./
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
ARFLAGSQUIET = ru
|
||||
WINRC = $(wildcard *.rc)
|
||||
RANLIB = ranlib
|
||||
else
|
||||
CC ?= $(SRCHOME)/tools/cygwin/cl_wrapper.pl
|
||||
CCC ?= $(SRCHOME)/tools/cygwin/cl_wrapper.pl
|
||||
JAVAC = $(SRCHOME)/tools/cygwin/java_wrapper.pl -c
|
||||
JAVAH = $(SRCHOME)/tools/cygwin/java_wrapper.pl -h
|
||||
REL_CFLAGS += /O2
|
||||
REL_CCFLAGS += /O2 -GX
|
||||
DBG_CFLAGS += /Fd$(DIR)/debug/
|
||||
DBG_CCFLAGS += /Fd$(DIR)/debug/
|
||||
CFLAGS += /MT
|
||||
CCFLAGS += /MT
|
||||
NAN_DEPEND = true
|
||||
OPENGL_HEADERS = .
|
||||
CPPFLAGS += -DWIN32 -D_WIN32 -D__WIN32
|
||||
CPPFLAGS += -D_M_IX86
|
||||
CPPFLAGS += -I"/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/include"
|
||||
JAVA_HEADERS = /cygdrive/c/j2sdk1.4.0-beta3/include
|
||||
JAVA_SYSTEM_HEADERS = /cygdrive/c/j2sdk1.4.0-beta3/include/win32
|
||||
CPP = $(SRCHOME)/tools/cygwin/cl_wrapper.pl
|
||||
AR = ar
|
||||
ARFLAGS = ruv
|
||||
ARFLAGSQUIET = ru
|
||||
WINRC = $(wildcard *.rc)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq (debug, $(findstring debug, $(MAKECMDGOALS)))
|
||||
export DEBUG_DIR=debug/
|
||||
endif
|
||||
|
||||
ifneq (x$(DEBUG_DIR), x)
|
||||
CFLAGS +=$(DBG_CFLAGS)
|
||||
CCFLAGS+=$(DBG_CCFLAGS)
|
||||
else
|
||||
CFLAGS +=$(REL_CFLAGS)
|
||||
CCFLAGS+=$(REL_CCFLAGS)
|
||||
endif
|
||||
|
||||
# Note: include nan_warn's LEVEL_*_WARNINGS after CC/OS have been set.
|
||||
include nan_warn.mk
|
||||
|
||||
# compile rules
|
||||
|
||||
default: all
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.o: %.c
|
||||
ifdef NAN_DEPEND
|
||||
@set -e; $(CC) -M $(CPPFLAGS) $< 2>/dev/null \
|
||||
| sed 's@\($*\)\.o[ :]*@$(DIR)/$(DEBUG_DIR)\1.o : @g' \
|
||||
> $(DIR)/$(DEBUG_DIR)$*.d; \
|
||||
[ -s $(DIR)/$(DEBUG_DIR)$*.d ] || $(RM) $(DIR)/$(DEBUG_DIR)$*.d
|
||||
endif
|
||||
ifdef NAN_QUIET
|
||||
@echo " -- $< -- "
|
||||
@$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
else
|
||||
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.o: %.cpp
|
||||
ifdef NAN_DEPEND
|
||||
@set -e; $(CCC) -M $(CPPFLAGS) $< 2>/dev/null \
|
||||
| sed 's@\($*\)\.o[ :]*@$(DIR)/$(DEBUG_DIR)\1.o : @g' \
|
||||
> $(DIR)/$(DEBUG_DIR)$*.d; \
|
||||
[ -s $(DIR)/$(DEBUG_DIR)$*.d ] || $(RM) $(DIR)/$(DEBUG_DIR)$*.d
|
||||
endif
|
||||
ifdef NAN_QUIET
|
||||
@echo " -- $< -- "
|
||||
@$(CCC) -c $(CCFLAGS) $(CPPFLAGS) $< -o $@
|
||||
else
|
||||
$(CCC) -c $(CCFLAGS) $(CPPFLAGS) $< -o $@
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.o: %.mm
|
||||
ifdef NAN_DEPEND
|
||||
@set -e; $(CC) -M $(CPPFLAGS) $< 2>/dev/null \
|
||||
| sed 's@\($*\)\.o[ :]*@$(DIR)/$(DEBUG_DIR)\1.o : @g' \
|
||||
> $(DIR)/$(DEBUG_DIR)$*.d; \
|
||||
[ -s $(DIR)/$(DEBUG_DIR)$*.d ] || $(RM) $(DIR)/$(DEBUG_DIR)$*.d
|
||||
endif
|
||||
ifdef NAN_QUIET
|
||||
@echo " -- $< -- "
|
||||
@$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
else
|
||||
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.o: %.m
|
||||
ifdef NAN_DEPEND
|
||||
@set -e; $(CC) -M $(CPPFLAGS) $< 2>/dev/null \
|
||||
| sed 's@\($*\)\.o[ :]*@$(DIR)/$(DEBUG_DIR)\1.o : @g' \
|
||||
> $(DIR)/$(DEBUG_DIR)$*.d; \
|
||||
[ -s $(DIR)/$(DEBUG_DIR)$*.d ] || $(RM) $(DIR)/$(DEBUG_DIR)$*.d
|
||||
endif
|
||||
ifdef NAN_QUIET
|
||||
@echo " -- $< -- "
|
||||
@$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
else
|
||||
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
endif
|
||||
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.res: %.rc
|
||||
ifeq ($(FREE_WINDOWS),true)
|
||||
windres $< -O coff -o $@
|
||||
else
|
||||
$(SRCHOME)/tools/cygwin/cl_wrapper.pl - rc /fo$@ $<
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.class: %.java
|
||||
ifdef JARS
|
||||
$(JAVAC) -verbose -g -deprecation -sourcepath . -classpath "$(JARS)" -d $(DIR)/$(DEBUG_DIR) $<
|
||||
else
|
||||
$(JAVAC) -verbose -g -deprecation -d $(DIR)/$(DEBUG_DIR) $<
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)%.h: $(DIR)/$(DEBUG_DIR)%.class
|
||||
$(JAVAH) -classpath $(DIR)/$(DEBUG_DIR) -d $(DIR)/$(DEBUG_DIR) -jni $*
|
||||
|
||||
%.h:
|
||||
@echo "WARNING: Fake header creation rule used, dependencies will be remade"
|
||||
|
||||
CSRCS ?= $(wildcard *.c)
|
||||
CCSRCS ?= $(wildcard *.cpp)
|
||||
JSRCS ?= $(wildcard *.java)
|
||||
|
||||
ifdef NAN_DEPEND
|
||||
-include $(CSRCS:%.c=$(DIR)/$(DEBUG_DIR)%.d) $(CCSRCS:%.cpp=$(DIR)/$(DEBUG_DIR)%.d) $(OCCSRCS:$.mm=$(DIR)/$(DEBUG_DIR)%.d) $(OCSRCS:$.m=$(DIR)/$(DEBUG_DIR)%.d)
|
||||
endif
|
||||
|
||||
OBJS_AR := $(OBJS)
|
||||
OBJS_AR += $(CSRCS:%.c=%.o)
|
||||
OBJS_AR += $(CCSRCS:%.cpp=%.o)
|
||||
OBJS_AR += $(OCCSRCS:%.mm=%.o)
|
||||
OBJS_AR += $(OCSRCS:%.m=%.o)
|
||||
OBJS_AR += $(WINRC:%.rc=%.res)
|
||||
|
||||
OBJS += $(CSRCS:%.c=$(DIR)/$(DEBUG_DIR)%.o)
|
||||
OBJS += $(CCSRCS:%.cpp=$(DIR)/$(DEBUG_DIR)%.o)
|
||||
OBJS += $(OCCSRCS:%.mm=$(DIR)/$(DEBUG_DIR)%.o)
|
||||
OBJS += $(OCSRCS:%.m=$(DIR)/$(DEBUG_DIR)%.o)
|
||||
OBJS += $(WINRC:%.rc=$(DIR)/$(DEBUG_DIR)%.res)
|
||||
|
||||
JCLASS += $(JSRCS:%.java=$(DIR)/$(DEBUG_DIR)%.class)
|
||||
|
||||
LIB_a = $(DIR)/$(DEBUG_DIR)lib$(LIBNAME).a
|
||||
|
||||
$(LIB_a): $(OBJS)
|
||||
# $OBJS can be empty except for some spaces
|
||||
ifneq (x, x$(strip $(OBJS)))
|
||||
ifdef NAN_PARANOID
|
||||
@$(RM) $(LIB_a)
|
||||
ifdef NAN_QUIET
|
||||
@echo " -- lib: lib$(LIBNAME).a -- "
|
||||
@cd $(DIR)/$(DEBUG_DIR); $(AR) $(ARFLAGSQUIET) $@ $(OBJS_AR)
|
||||
else
|
||||
cd $(DIR)/$(DEBUG_DIR); $(AR) $(ARFLAGS) $@ $(OBJS_AR)
|
||||
endif
|
||||
else
|
||||
ifdef NAN_QUIET
|
||||
@echo " -- lib: lib$(LIBNAME).a -- "
|
||||
@$(AR) $(ARFLAGSQUIET) $@ $?
|
||||
else
|
||||
$(AR) $(ARFLAGS) $@ $?
|
||||
endif
|
||||
endif
|
||||
ifdef RANLIB
|
||||
$(RANLIB) $@
|
||||
endif
|
||||
endif
|
||||
|
||||
ALLTARGETS ?= $(LIB_a)
|
||||
|
||||
all debug :: makedir $(ALLTARGETS)
|
||||
|
||||
lib: $(LIB_a)
|
||||
|
||||
creator: $(OBJS)
|
||||
@echo "====> make creator subtarget in `pwd | sed 's/^.*develop\///'`"
|
||||
@$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)cre
|
||||
@$(MAKE) lib CSRCS="$(CRE_CSRCS)" LIBNAME=$(LIBNAME)$@
|
||||
|
||||
publisher: $(OBJS)
|
||||
@echo "====> make publisher subtarget in `pwd | sed 's/^.*develop\///'`"
|
||||
@$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)pub
|
||||
@$(MAKE) lib CSRCS="$(PUB_CSRCS)" LIBNAME=$(LIBNAME)$@
|
||||
|
||||
player: $(OBJS)
|
||||
@echo "====> make player subtarget in `pwd | sed 's/^.*develop\///'`"
|
||||
@$(MAKE) makedir DIR=$(DIR)/player/$(DEBUG_DIR)
|
||||
@$(MAKE) lib CSRCS="$(SAP_CSRCS)" LIBNAME=$(LIBNAME)$@
|
||||
|
||||
clean:: optclean debugclean
|
||||
|
||||
optclean::
|
||||
@-[ ! -d $(DIR) ] || ( cd $(DIR) && \
|
||||
$(RM) *.o *.a *.d *.res ii_files/*.ii *.class *.h )
|
||||
|
||||
debugclean::
|
||||
@-[ ! -d $(DIR)/debug ] || ( cd $(DIR)/debug && \
|
||||
$(RM) *.o *.a *.d *.res ii_files/*.ii *.class *.h )
|
||||
|
||||
.PHONY: makedir
|
||||
makedir::
|
||||
@# don't use mkdir -p. Cygwin will try to make network paths and fail
|
||||
@[ -d $(DIR) ] || mkdir $(DIR)
|
||||
@[ -d $(DIR)/debug ] || mkdir $(DIR)/debug
|
||||
|
@@ -1,653 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR, Stefan Gartner
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# set some defaults when these are not overruled (?=) by environment variables
|
||||
#
|
||||
|
||||
sinclude ../../user-def.mk
|
||||
|
||||
# This warning only takes place once in source/
|
||||
ifeq (debug, $(findstring debug, $(MAKECMDGOALS)))
|
||||
ifeq (all, $(findstring all, $(MAKECMDGOALS)))
|
||||
export ERRTXT = "ERROR: all and debug targets cannot be used together anymore"
|
||||
export ERRTXT += "Use something like ..make all && make debug.. instead"
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef ERRTXT
|
||||
$(error $(ERRTXT))
|
||||
endif
|
||||
|
||||
ifndef CONFIG_GUESS
|
||||
ifeq (debug, $(findstring debug, $(MAKECMDGOALS)))
|
||||
export DEBUG_DIR = debug/
|
||||
export ALL_OR_DEBUG = debug
|
||||
endif
|
||||
ifeq (all, $(findstring all, $(MAKECMDGOALS)))
|
||||
export ALL_OR_DEBUG ?= all
|
||||
endif
|
||||
|
||||
# First generic defaults for all platforms which should be constant.
|
||||
# Note: ?= lets these defaults be overruled by environment variables,
|
||||
export SRCHOME ?= $(NANBLENDERHOME)/source
|
||||
export CONFIG_GUESS := $(shell ${SRCHOME}/tools/guess/guessconfig)
|
||||
export OS := $(shell echo ${CONFIG_GUESS} | sed -e 's/-.*//')
|
||||
export OS_VERSION := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-//' -e 's/-[^-]*//')
|
||||
export CPU := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-[^-]*-//')
|
||||
export MAKE_START := $(shell date "+%H:%M:%S %d-%b-%Y")
|
||||
export NAN_LIBDIR ?= $(NANBLENDERHOME)/../lib
|
||||
export NAN_OBJDIR ?= $(NANBLENDERHOME)/obj
|
||||
# Library Config_Guess DIRectory
|
||||
export LCGDIR = $(NAN_LIBDIR)/$(CONFIG_GUESS)
|
||||
# Object Config_Guess DIRectory
|
||||
export OCGDIR = $(NAN_OBJDIR)/$(CONFIG_GUESS)
|
||||
|
||||
# Determines what targets are built
|
||||
export WITH_BF_DYNAMICOPENGL ?= true
|
||||
export WITH_BF_STATICOPENGL ?= false
|
||||
export WITH_BF_BLENDERGAMEENGINE ?= true
|
||||
export WITH_BF_BLENDERPLAYER ?= true
|
||||
ifeq ($(NAN_NO_PLUGIN), true)
|
||||
export WITH_BF_WEBPLUGIN = false
|
||||
else
|
||||
export WITH_BF_WEBPLUGIN ?= false
|
||||
endif
|
||||
|
||||
export NAN_MOTO ?= $(LCGDIR)/moto
|
||||
export NAN_ITASC ?= $(LCGDIR)/itasc
|
||||
|
||||
export BF_PROFILE ?= false
|
||||
export NAN_USE_BULLET ?= true
|
||||
export NAN_BULLET2 ?= $(LCGDIR)/bullet2
|
||||
export NAN_DECIMATION ?= $(LCGDIR)/decimation
|
||||
export NAN_GUARDEDALLOC ?= $(LCGDIR)/guardedalloc
|
||||
export NAN_IKSOLVER ?= $(LCGDIR)/iksolver
|
||||
export NAN_BSP ?= $(LCGDIR)/bsp
|
||||
export NAN_BOOLOP ?= $(LCGDIR)/boolop
|
||||
export NAN_AUDASPACE ?= $(LCGDIR)/audaspace
|
||||
export NAN_STRING ?= $(LCGDIR)/string
|
||||
export NAN_MEMUTIL ?= $(LCGDIR)/memutil
|
||||
export NAN_CONTAINER ?= $(LCGDIR)/container
|
||||
export NAN_ACTION ?= $(LCGDIR)/action
|
||||
export NAN_GHOST ?= $(LCGDIR)/ghost
|
||||
export NAN_TEST_VERBOSITY ?= 1
|
||||
export NAN_OPENNL ?= $(LCGDIR)/opennl
|
||||
export NAN_ELBEEM ?= $(LCGDIR)/elbeem
|
||||
export NAN_SMOKE ?= $(LCGDIR)/smoke
|
||||
export NAN_SUPERLU ?= $(LCGDIR)/superlu
|
||||
export NAN_GLEW ?= $(LCGDIR)/glew
|
||||
ifeq ($(FREE_WINDOWS), true)
|
||||
export NAN_FFMPEG ?= $(LCGDIR)/gcc/ffmpeg
|
||||
export NAN_FFMPEGLIBS ?= $(NAN_FFMPEG)/lib/libavformat.a $(NAN_FFMPEG)/lib/libavutil.a $(NAN_FFMPEG)/lib/libavcodec.a $(NAN_FFMPEG)/lib/libavdevice.a
|
||||
else
|
||||
export NAN_FFMPEG ?= $(LCGDIR)/ffmpeg
|
||||
ifeq ($(OS), darwin)
|
||||
export NAN_FFMPEGLIBS ?= $(NAN_FFMPEG)/lib/libavformat.a $(NAN_FFMPEG)/lib/libavcodec.a $(NAN_FFMPEG)/lib/libswscale.a $(NAN_FFMPEG)/lib/libavutil.a $(NAN_FFMPEG)/lib/libavdevice.a $(NAN_FFMPEG)/lib/libmp3lame.a $(NAN_FFMPEG)/lib/libx264.a $(NAN_FFMPEG)/lib/libxvidcore.a $(NAN_FFMPEG)/lib/libtheora.a $(NAN_FFMPEG)/lib/libtheoradec.a $(NAN_FFMPEG)/lib/libtheoraenc.a $(NAN_FFMPEG)/lib/libvorbis.a $(NAN_FFMPEG)/lib/libvorbisenc.a $(NAN_FFMPEG)/lib/libvorbisfile.a $(NAN_FFMPEG)/lib/libogg.a -lbz2
|
||||
else
|
||||
export NAN_FFMPEGLIBS ?= $(NAN_FFMPEG)/lib/libavformat.a $(NAN_FFMPEG)/lib/libavcodec.a $(NAN_FFMPEG)/lib/libswscale.a $(NAN_FFMPEG)/lib/libavutil.a $(NAN_FFMPEG)/lib/libavdevice.a
|
||||
endif
|
||||
endif
|
||||
export NAN_FFMPEGCFLAGS ?= -I$(NAN_FFMPEG)/include -I$(NANBLENDERHOME)/extern/ffmpeg
|
||||
|
||||
export WITH_OPENEXR ?= true
|
||||
export WITH_DDS ?= true
|
||||
export WITH_OPENJPEG ?= true
|
||||
export WITH_LZO ?= true
|
||||
export WITH_LZMA ?= true
|
||||
export NAN_LZO ?= $(LCGDIR)/lzo
|
||||
export NAN_LZMA ?= $(LCGDIR)/lzma
|
||||
export WITH_OPENAL ?= false
|
||||
export WITH_JACK ?= false
|
||||
export WITH_SNDFILE ?= false
|
||||
export WITH_FFTW3 ?= false
|
||||
|
||||
ifeq ($(WITH_OPENAL), true)
|
||||
export NAN_OPENAL ?= /usr
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK), true)
|
||||
export NAN_JACK ?= $(LCGDIR)/jack
|
||||
export NAN_JACKCFLAGS ?= -I$(NAN_JACK)/include/jack
|
||||
export NAN_JACKLIBS ?= $(NAN_JACK)/lib/libjack.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
export NAN_SNDFILE ?= $(LCGDIR)/sndfile
|
||||
export NAN_SNDFILECFLAGS ?= -I$(NAN_SNDFILE)/include
|
||||
export NAN_SNDFILELIBS ?= $(NAN_SNDFILE)/lib/libsndfile.a $(NAN_SNDFILE)/lib/libFLAC.a $(NAN_SNDFILE)/lib/libogg.a
|
||||
endif
|
||||
|
||||
ifeq ($(NAN_USE_FFMPEG_CONFIG), true)
|
||||
export NAN_FFMPEG = $(shell pkg-config --variable=prefix libavcodec) # Assume they are all in the same prefix
|
||||
export NAN_FFMPEGLIBS = $(shell pkg-config --libs libavcodec libavdevice libavformat libswscale libavutil)
|
||||
export NAN_FFMPEGCFLAGS = $(shell pkg-config --cflags libavcodec libavdevice libavformat libswscale libavutil)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENCOLLADA), true)
|
||||
export BF_OPENCOLLADA ?= $(LCGDIR)/opencollada
|
||||
export BF_OPENCOLLADA_INC ?= $(BF_OPENCOLLADA)/include
|
||||
export BF_OPENCOLLADA_LIBS ?= $(BF_OPENCOLLADA)/lib/libOpenCOLLADASaxFrameworkLoader.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADAFramework.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADABaseUtils.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADAStreamWriter.a $(BF_OPENCOLLADA)/lib/libMathMLSolver.a $(BF_OPENCOLLADA)/lib/libGeneratedSaxParser.a $(BF_OPENCOLLADA)/lib/libUTF.a -lxml2
|
||||
export BF_PCRE ?= $(LCGDIR)/pcre
|
||||
export BF_PCRE_LIBS ?= $(BF_PCRE)/lib/libpcre.a
|
||||
endif
|
||||
|
||||
export WITH_TIFF ?= true
|
||||
|
||||
#enable raytracing optimization (currently only for i386 and x86_64)
|
||||
ifeq ($(CPU),powerpc)
|
||||
export WITH_BF_RAYOPTIMIZATION ?= false
|
||||
else
|
||||
export WITH_BF_RAYOPTIMIZATION ?= true
|
||||
endif
|
||||
|
||||
export WITH_LCMS ?= false
|
||||
export WITH_CINEON ?= true
|
||||
export WITH_HDR ?= true
|
||||
|
||||
# Compare recreated .mo files with committed ones
|
||||
export BF_VERIFY_MO_FILES ?= true
|
||||
|
||||
# Platform Dependent settings go below:
|
||||
ifeq ($(OS),darwin)
|
||||
|
||||
export ID = $(shell whoami)
|
||||
export HOST = $(shell hostname -s)
|
||||
|
||||
# set target arch & os version
|
||||
# architecture defaults to host arch, can be ppc, ppc64, i386, x86_64
|
||||
ifeq ($(CPU),powerpc)
|
||||
export MACOSX_ARCHITECTURE ?= ppc
|
||||
else
|
||||
export MACOSX_ARCHITECTURE ?= i386
|
||||
endif
|
||||
# target os version defaults to 10.4 for ppc & i386 (32 bit), 10.5 for ppc64, x86_64
|
||||
ifeq (64,$(findstring 64, $(MACOSX_ARCHITECTURE)))
|
||||
export MACOSX_MIN_VERS ?= 10.5
|
||||
export MACOSX_DEPLOYMENT_TARGET ?= 10.5
|
||||
export MACOSX_SDK ?= /Developer/SDKs/MacOSX10.5.sdk
|
||||
else
|
||||
export MACOSX_MIN_VERS ?= 10.4
|
||||
export MACOSX_DEPLOYMENT_TARGET ?= 10.4
|
||||
export MACOSX_SDK ?= /Developer/SDKs/MacOSX10.4u.sdk
|
||||
endif
|
||||
|
||||
# useful for crosscompiling
|
||||
ifeq ($(MACOSX_ARCHITECTURE),$(findstring $(MACOSX_ARCHITECTURE), "ppc ppc64"))
|
||||
export CPU = powerpc
|
||||
export LCGDIR = $(NAN_LIBDIR)/$(OS)-$(OS_VERSION)-$(CPU)
|
||||
export OCGDIR = $(NAN_OBJDIR)/$(OS)-$(OS_VERSION)-$(CPU)
|
||||
endif
|
||||
ifeq ($(MACOSX_ARCHITECTURE),$(findstring $(MACOSX_ARCHITECTURE),"i386 x86_64"))
|
||||
export CPU = i386
|
||||
export LCGDIR = $(NAN_LIBDIR)/$(OS)-$(OS_VERSION)-$(CPU)
|
||||
export OCGDIR = $(NAN_OBJDIR)/$(OS)-$(OS_VERSION)-$(CPU)
|
||||
endif
|
||||
|
||||
export NAN_PYTHON_VERSION = 3.1
|
||||
|
||||
ifeq ($(NAN_PYTHON_VERSION),3.1)
|
||||
export PY_FRAMEWORK ?= 0
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/libpython$(NAN_PYTHON_VERSION).a
|
||||
else
|
||||
export PY_FRAMEWORK ?= 1
|
||||
ifdef PY_FRAMEWORK
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON ?= /System/Library/Frameworks/Python.framework/Versions/$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= -framework Python
|
||||
else
|
||||
export NAN_PYTHON ?= /sw
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
|
||||
endif
|
||||
endif
|
||||
|
||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||
export NAN_PNG ?= $(LCGDIR)/png
|
||||
export NAN_TIFF ?= $(LCGDIR)/tiff
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/libintl.a
|
||||
ifeq (($CPU), i386)
|
||||
export NAN_GETTEXT_LIB += $(NAN_GETTEXT)/lib/libintl.a
|
||||
endif
|
||||
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||
export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
|
||||
export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a -framework Cocoa -framework IOKit
|
||||
|
||||
export NAN_OPENEXR ?= $(LCGDIR)/openexr
|
||||
export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
|
||||
export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a $(NAN_OPENEXR)/lib/libIlmThread.a
|
||||
|
||||
export NAN_NO_KETSJI=false
|
||||
|
||||
#ifeq ($(CPU), i386)
|
||||
# export WITH_OPENAL=false
|
||||
#endif
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# enable quicktime by default on OS X
|
||||
export WITH_QUICKTIME ?= true
|
||||
|
||||
# enable l10n
|
||||
export INTERNATIONAL ?= true
|
||||
|
||||
export NAN_SAMPLERATE ?= $(LCGDIR)/samplerate
|
||||
export NAN_SAMPLERATE_LIBS ?= $(NAN_SAMPLERATE)/lib/libsamplerate.a
|
||||
|
||||
# enable building with Cocoa
|
||||
export WITH_COCOA ?= false
|
||||
export USE_QTKIT ?= false
|
||||
# use cocoa and qtkit for 64bit builds
|
||||
ifeq (64, $(findstring 64, $(MACOSX_ARCHITECTURE)))
|
||||
export WITH_COCOA = true
|
||||
export USE_QTKIT = true
|
||||
endif
|
||||
|
||||
export BF_PCRE = $(LCGDIR)/opencollada
|
||||
export BF_OPENCOLLADA_LIBS = $(BF_OPENCOLLADA)/lib/libOpenCOLLADASaxFrameworkLoader.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADAFramework.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADABaseUtils.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADAStreamWriter.a $(BF_OPENCOLLADA)/lib/libMathMLSolver.a $(BF_OPENCOLLADA)/lib/libGeneratedSaxParser.a $(BF_OPENCOLLADA)/lib/libUTF.a $(BF_OPENCOLLADA)/lib/libftoa.a $(BF_OPENCOLLADA)/lib/libbuffer.a -lxml2
|
||||
|
||||
else
|
||||
ifeq ($(OS),freebsd)
|
||||
|
||||
export ID = $(shell whoami)
|
||||
export HOST = $(shell hostname -s)
|
||||
export FREEDESKTOP ?= true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= /usr/local
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
|
||||
export NAN_OPENAL ?= /usr/local
|
||||
export NAN_JPEG ?= /usr/local
|
||||
export NAN_PNG ?= /usr/local
|
||||
export NAN_TIFF ?= /usr/local
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||
export NAN_ZLIB ?= /usr
|
||||
export NAN_NSPR ?= /usr/local
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
export NAN_SDL ?= $(shell sdl-config --prefix)
|
||||
export NAN_SDLLIBS ?= $(shell sdl-config --libs)
|
||||
export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# enable l10n
|
||||
# export INTERNATIONAL ?= true
|
||||
|
||||
else
|
||||
ifeq ($(OS),irix)
|
||||
|
||||
export ID = $(shell whoami)
|
||||
export HOST = $(shell /usr/bsd/hostname -s)
|
||||
#export NAN_NO_KETSJI=true
|
||||
export NAN_JUST_BLENDERDYNAMIC=true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
ifeq ($(IRIX_USE_GCC), true)
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python_gcc
|
||||
else
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
endif
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a -lpthread
|
||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||
export NAN_PNG ?= $(LCGDIR)/png
|
||||
export NAN_TIFF ?= $(LCGDIR)/tiff
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_ICONV ?= $(LCGDIR)/iconv
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/libintl.a $(NAN_ICONV)/lib/libiconv.a
|
||||
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||
export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a
|
||||
export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include/SDL
|
||||
export NAN_FFMPEG ?= $(LCGDIR)/ffmpeg
|
||||
export NAN_FFMPEGLIBS = $(NAN_FFMPEG)/lib/libavformat.a $(NAN_FFMPEG)/lib/libavcodec.a $(NAN_FFMPEG)/lib/libswscale.a $(NAN_FFMPEG)/lib/libavutil.a $(NAN_FFMPEG)/lib/libavdevice.a $(NAN_FFMPEG)/lib/libogg.a $(NAN_FFMPEG)/lib/libfaad.a $(NAN_FFMPEG)/lib/libmp3lame.a $(NAN_FFMPEG)/lib/libvorbis.a $(NAN_FFMPEG)/lib/libx264.a $(NAN_FFMPEG)/lib/libfaac.a $(NAN_ZLIB)/lib/libz.a
|
||||
export NAN_FFMPEGCFLAGS ?= -I$(NAN_FFMPEG)/include -I$(NANBLENDERHOME)/extern/ffmpeg
|
||||
|
||||
ifeq ($(IRIX_USE_GCC), true)
|
||||
export NAN_OPENEXR ?= $(LCGDIR)/openexr/gcc
|
||||
else
|
||||
export NAN_OPENEXR ?= $(LCGDIR)/openexr
|
||||
endif
|
||||
export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
|
||||
export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a $(NAN_OPENEXR)/lib/libIlmThread.a
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# enable l10n
|
||||
export INTERNATIONAL ?= true
|
||||
|
||||
# Different endianess will make it fail, rely on other platforms for checks
|
||||
export BF_VERIFY_MO_FILES = false
|
||||
|
||||
else
|
||||
ifeq ($(OS),linux)
|
||||
|
||||
export ID = $(shell whoami)
|
||||
export HOST = $(shell hostname -s)
|
||||
export FREEDESKTOP ?= true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= /usr
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
# Next line if for static python, nan_link.mk uses -lpython$(NAN_PYTHON_VERSION)
|
||||
#export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
|
||||
export NAN_OPENAL ?= /usr
|
||||
export NAN_JPEG ?= /usr
|
||||
export NAN_PNG ?= /usr
|
||||
export NAN_TIFF ?= /usr
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr
|
||||
export NAN_ZLIB ?= /usr
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_FREETYPE ?= /usr
|
||||
export NAN_GETTEXT ?= /usr
|
||||
export NAN_SDL ?= $(shell sdl-config --prefix)
|
||||
export NAN_SDLLIBS ?= $(shell sdl-config --libs)
|
||||
export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
|
||||
export NAN_SAMPLERATE ?= /usr
|
||||
|
||||
ifeq ($(WITH_OPENEXR), true)
|
||||
export NAN_OPENEXR ?= $(shell pkg-config --variable=prefix OpenEXR )
|
||||
export NAN_OPENEXR_INC ?= $(shell pkg-config --cflags OpenEXR )
|
||||
export NAN_OPENEXR_LIBS ?= $(addprefix ${NAN_OPENEXR}/lib/lib,$(addsuffix .a,$(shell pkg-config --libs-only-l OpenEXR | sed -s "s/-l//g" )))
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFTW3), true)
|
||||
export BF_FFTW3 ?= $(shell pkg-config --variable=prefix fftw3 )
|
||||
export BF_FFTW3_INC ?= $(shell pkg-config --variable=includedir fftw3 )
|
||||
export BF_FFTW3_LIBS ?= $(shell pkg-config --libs fftw3 )
|
||||
endif
|
||||
|
||||
# Uncomment the following line to use Mozilla inplace of netscape
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= /usr/include/mozilla
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# l10n
|
||||
export INTERNATIONAL ?= true
|
||||
|
||||
export WITH_BINRELOC ?= true
|
||||
|
||||
# enable ffmpeg support
|
||||
ifndef NAN_NO_FFMPEG
|
||||
export WITH_FFMPEG ?= true
|
||||
endif
|
||||
|
||||
ifeq ($(CPU), powerpc)
|
||||
# Different endianess will make it fail, rely on other platforms for checks
|
||||
export BF_VERIFY_MO_FILES = false
|
||||
endif
|
||||
|
||||
else
|
||||
ifeq ($(OS),openbsd)
|
||||
|
||||
export ID = $(shell whoami)
|
||||
export HOST = $(shell hostname -s)
|
||||
export FREEDESKTOP ?= true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
|
||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||
export NAN_PNG ?= $(LCGDIR)/png
|
||||
export NAN_TIFF ?= $(LCGDIR)/tiff
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
export NAN_SDL ?= $(shell sdl-config --prefix)
|
||||
export NAN_SDLLIBS ?= $(shell sdl-config --libs)
|
||||
export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# l10n
|
||||
#export INTERNATIONAL ?= true
|
||||
|
||||
else
|
||||
ifeq ($(OS),solaris)
|
||||
|
||||
export ID = $(shell /usr/ucb/whoami)
|
||||
export HOST = $(shell hostname)
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
|
||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||
export NAN_PNG ?= $(LCGDIR)/png
|
||||
export NAN_TIFF ?= /usr
|
||||
export NAN_TERRAPLAY ?=
|
||||
export NAN_MESA ?= /usr/X11
|
||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/libintl.a $(NAN_GETTEXT)/lib/libiconv.a
|
||||
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||
export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include/SDL
|
||||
export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a
|
||||
|
||||
# this only exists at the moment for i386-64 CPU Types at the moment
|
||||
export NAN_OPENEXR ?= $(LCGDIR)/openexr
|
||||
export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
|
||||
export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a $(NAN_OPENEXR)/lib/libIlmThread.a -lrt
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# l10n
|
||||
#export INTERNATIONAL ?= true
|
||||
|
||||
else
|
||||
ifeq ($(OS),windows)
|
||||
|
||||
export ID = $(LOGNAME)
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_ICONV ?= $(LCGDIR)/iconv
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||
export NAN_PNG ?= $(LCGDIR)/png
|
||||
export NAN_TIFF ?= $(LCGDIR)/tiff
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
ifeq ($(FREE_WINDOWS), true)
|
||||
export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/freegettext.a $(NAN_ICONV)/lib/freeiconv.a
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/lib25_vs2005/libpython31.a # NOT TESTED, PROBABLY BROKEN
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/gcc/freetype
|
||||
export NAN_SDL ?= $(LCGDIR)/gcc/sdl
|
||||
export NAN_OPENEXR ?= $(LCGDIR)/gcc/openexr
|
||||
export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/OpenEXR
|
||||
export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a
|
||||
export NAN_PTHREADS ?= $(LCGDIR)/pthreads
|
||||
else
|
||||
export NAN_GETTEXT_LIB ?= $(NAN_GETTEXT)/lib/gnu_gettext.lib $(NAN_ICONV)/lib/iconv.lib
|
||||
export NAN_PYTHON_BINARY ?= python
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python31.lib # NOT TESTED, PROBABLY BROKEN
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||
export NAN_OPENEXR ?= $(LCGDIR)/openexr
|
||||
export NAN_OPENEXR_INC ?= -I$(NAN_OPENEXR)/include -I$(NAN_OPENEXR)/include/IlmImf -I$(NAN_OPENEXR)/include/Imath -I$(NAN_OPENEXR)/include/Iex
|
||||
export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/IlmImf.lib $(NAN_OPENEXR)/lib/Half.lib $(NAN_OPENEXR)/lib/Iex.lib
|
||||
endif
|
||||
export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
|
||||
|
||||
export NAN_WINTAB ?= $(LCGDIR)/wintab
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
export NAN_PYTHON_BINARY ?= python
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# l10n
|
||||
export INTERNATIONAL ?= true
|
||||
|
||||
# enable quicktime support
|
||||
# export WITH_QUICKTIME ?= true
|
||||
|
||||
else # Platform not listed above
|
||||
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= python
|
||||
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
|
||||
|
||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||
export NAN_PNG ?= $(LCGDIR)/png
|
||||
export NAN_TIFF ?= $(LCGDIR)/tiff
|
||||
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||
export NAN_FREETYPE ?= $(LCGDIR)/freetype
|
||||
export NAN_GETTEXT ?= $(LCGDIR)/gettext
|
||||
export NAN_SDL ?= $(shell sdl-config --prefix)
|
||||
export NAN_SDLLIBS ?= $(shell sdl-config --libs)
|
||||
export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
|
||||
|
||||
# Location of MOZILLA/Netscape header files...
|
||||
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||
# if this is not set.
|
||||
|
||||
export NAN_BUILDINFO ?= true
|
||||
# Be paranoid regarding library creation (do not update archives)
|
||||
export NAN_PARANOID ?= true
|
||||
|
||||
# l10n
|
||||
#export INTERNATIONAL ?= true
|
||||
|
||||
endif # windows + fallback
|
||||
endif # solaris
|
||||
endif # openbsd
|
||||
endif # linux
|
||||
endif # irix
|
||||
endif # freebsd
|
||||
endif # darwin
|
||||
|
||||
# default tiff libs
|
||||
export NAN_TIFF_LIBS ?= $(NAN_TIFF)/lib/libtiff.a
|
||||
|
||||
# default path to lcms, may be overidden in platform sections above or in user-def.mk
|
||||
export BF_LCMS ?= $(LCGDIR)/lcms
|
||||
export BF_LCMS_INC ?= $(BF_LCMS)/include
|
||||
export BF_LCMS_LIBS ?= $(BF_LCMS)/lib/liblcms.a
|
||||
|
||||
endif # CONFIG_GUESS
|
||||
|
||||
# Don't want to build the gameengine?
|
||||
ifeq ($(NAN_NO_KETSJI), true)
|
||||
export NAN_JUST_BLENDERDYNAMIC=true
|
||||
endif
|
@@ -1,202 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# linking only
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
ifdef NAN_DEBUG
|
||||
LDFLAGS += $(NAN_DEBUG)
|
||||
endif
|
||||
|
||||
DBG_LDFLAGS += -g
|
||||
|
||||
ifneq (x$(DEBUG_DIR), x)
|
||||
LDFLAGS+=$(DBG_LDFLAGS)
|
||||
else
|
||||
LDFLAGS+=$(REL_LDFLAGS)
|
||||
endif
|
||||
|
||||
######################## OS dependencies (alphabetic!) ################
|
||||
|
||||
# default (overriden by windows)
|
||||
SOEXT = .so
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
LLIBS += -lGLU -lGL
|
||||
LLIBS += -lz -lstdc++
|
||||
ifdef USE_OSX10.4STUBS
|
||||
LLIBS +=-lSystemStubs
|
||||
endif
|
||||
ifeq ($(WITH_COCOA), true)
|
||||
LLIBS += -framework Cocoa
|
||||
endif
|
||||
LLIBS += -framework Carbon -framework AGL -framework OpenGL
|
||||
ifeq ($(WITH_QUICKTIME), true)
|
||||
ifeq ($(USE_QTKIT), true)
|
||||
LLIBS += -framework QTKit
|
||||
else
|
||||
LLIBS += -framework QuickTime
|
||||
endif
|
||||
endif
|
||||
LLIBS += -framework CoreAudio
|
||||
LLIBS += -framework AudioUnit -framework AudioToolbox
|
||||
LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries
|
||||
# useful for crosscompiling
|
||||
LDFLAGS += -arch $(MACOSX_ARCHITECTURE) #-isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MACOSX_MIN_VERS)
|
||||
|
||||
DBG_LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries
|
||||
endif
|
||||
|
||||
ifeq ($(OS),freebsd)
|
||||
LLIBS = -L/usr/X11R6/lib -lX11 -lXmu -lXi -lm -lutil -lz -pthread -lc_r
|
||||
DADD = -lGL -lGLU
|
||||
DYNLDFLAGS = -shared $(LDFLAGS)
|
||||
LOPTS = -Wl,--export-dynamic
|
||||
endif
|
||||
|
||||
ifeq ($(OS),irix)
|
||||
ifeq ($(IRIX_USE_GCC), true)
|
||||
LDFLAGS += -mabi=n32 -mips4
|
||||
DBG_LDFLAGS += -LD_LAYOUT:lgot_buffer=40
|
||||
else
|
||||
LDFLAGS += -n32 -mips3
|
||||
LDFLAGS += -woff 84,171
|
||||
endif
|
||||
LLIBS = -lmovieGL -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldmedia
|
||||
LLIBS += -lcl -laudio
|
||||
ifneq ($(IRIX_USE_GCC), true)
|
||||
LLIBS += -lCio -ldb
|
||||
endif
|
||||
LLIBS += -lz -lpthread
|
||||
DYNLDFLAGS = -shared $(LDFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(OS),linux)
|
||||
ifeq ($(CPU),alpha)
|
||||
COMMENT = "MESA 3.1"
|
||||
LLIBS = -lGL -lGLU -L/usr/X11R6/lib/ -lXmu -lXext -lX11
|
||||
LLIBS += -lc -lm -ldl -lutil
|
||||
LOPTS = -export-dynamic
|
||||
endif
|
||||
ifeq ($(CPU),$(findstring $(CPU), "i386 x86_64 ia64 parisc64 powerpc sparc64"))
|
||||
COMMENT = "MESA 3.1"
|
||||
LLIBS = -L$(NAN_MESA)/lib -L/usr/X11R6/lib -lXext -lX11 -lXi
|
||||
LLIBS += -lutil -lc -lm -ldl -lpthread
|
||||
LLIBS += -L$(NAN_PYTHON)/lib -Wl,-rpath -Wl,$(NAN_PYTHON)/lib -lpython$(NAN_PYTHON_VERSION)
|
||||
LOPTS = -export-dynamic
|
||||
DADD = -lGL -lGLU
|
||||
SADD = $(NAN_MESA)/lib/libGL.a $(NAN_MESA)/lib/libGLU.a
|
||||
DYNLDFLAGS = -shared $(LDFLAGS)
|
||||
endif
|
||||
LLIBS += -lz
|
||||
endif
|
||||
|
||||
ifeq ($(OS),openbsd)
|
||||
SADD = /usr/local/lib/libGL.a /usr/local/lib/libGLU.a
|
||||
SADD += /usr/X11R6/lib/libXmu.a /usr/X11R6/lib/libXext.a
|
||||
SADD += /usr/X11R6/lib/libX11.a /usr/lib/libm.a -pthread
|
||||
endif
|
||||
|
||||
ifeq ($(OS),solaris)
|
||||
ifeq (x86_64, $(findstring x86_64, $(CPU)))
|
||||
LLIBS = -lrt
|
||||
LLIBS += -L$(NAN_MESA)/lib/amd64
|
||||
else
|
||||
LLIBS += -L$(NAN_MESA)/lib
|
||||
endif
|
||||
|
||||
LLIBS += $(NAN_ZLIB)/lib/libz.a -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldl -lsocket -lnsl
|
||||
DYNLDFLAGS = -shared $(LDFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
EXT = .exe
|
||||
SOEXT = .dll
|
||||
ifeq ($(FREE_WINDOWS),true)
|
||||
MINGWLIB = /usr/lib/w32api
|
||||
LDFLAGS += -mwindows -mno-cygwin -mconsole
|
||||
DADD += -L/usr/lib/w32api -lnetapi32 -lopengl32 -lglu32 -lshfolder
|
||||
DADD += -L/usr/lib/w32api -lwinmm -lwsock32
|
||||
else
|
||||
DADD = kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
|
||||
DADD += advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
|
||||
DADD += vfw32.lib winmm.lib opengl32.lib glu32.lib largeint.lib dxguid.lib
|
||||
DADD += libcmt.lib
|
||||
LOPTS = /link
|
||||
LOPTS += /NODEFAULTLIB:"libc"
|
||||
LOPTS += /NODEFAULTLIB:"libcd"
|
||||
LOPTS += /NODEFAULTLIB:"libcp"
|
||||
LOPTS += /NODEFAULTLIB:"libcpd"
|
||||
LOPTS += /NODEFAULTLIB:"python31"
|
||||
LOPTS += /NODEFAULTLIB:"msvcrt"
|
||||
LOPTS += /SUBSYSTEM:CONSOLE
|
||||
LDFLAGS += /MT
|
||||
DYNLDFLAGS = /LD
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(OS), irix)
|
||||
LLIBS += $(NAN_SDLLIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_ICONV),true)
|
||||
LLIBS += $(NAN_ICONV_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
LLIBS += $(NAN_FFMPEGLIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(INTERNATIONAL),true)
|
||||
LLIBS += $(NAN_GETTEXT_LIB)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_OPENMP),true)
|
||||
LLIBS += -lgomp
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFTW3),true)
|
||||
LLIBS += $(BF_FFTW3_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENCOLLADA),true)
|
||||
LLIBS += $(BF_OPENCOLLADA_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_TIFF),true)
|
||||
LLIBS += $(NAN_TIFF_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LCMS),true)
|
||||
LLIBS += $(BF_LCMS_LIBS)
|
||||
endif
|
||||
|
||||
LLIBS += $(NAN_PYTHON_LIB)
|
@@ -1,78 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounce make to subdirectories.
|
||||
# Set DIRS, SOURCEDIR. Optionally also reacts on DIR, TESTDIRS.
|
||||
#
|
||||
|
||||
default: all
|
||||
|
||||
# do not add install here. install target can only be used in intern/
|
||||
# top level Makefiles
|
||||
all debug clean::
|
||||
ifdef quicky
|
||||
@for i in $(quicky); do \
|
||||
echo "====> $(MAKE) $@ in $$i";\
|
||||
$(MAKE) -C $$i $@ quicky= || exit 1;\
|
||||
done
|
||||
$(MAKE) -C source link || exit 1
|
||||
@echo "${quicky}"
|
||||
else
|
||||
ifdef DIR
|
||||
@# Make sure object toplevels are there
|
||||
@[ -d $(NAN_OBJDIR) ] || mkdir -p $(NAN_OBJDIR)
|
||||
@[ -d $(LCGDIR) ] || mkdir -p $(LCGDIR)
|
||||
@[ -d $(OCGDIR) ] || mkdir -p $(OCGDIR)
|
||||
@[ -d $(OCGDIR)/intern ] || mkdir -p $(OCGDIR)/intern
|
||||
@[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
|
||||
@# Create object directory
|
||||
@[ -d $(DIR) ] || mkdir -p $(DIR)
|
||||
endif
|
||||
ifdef SOURCEDIR
|
||||
@for i in $(DIRS); do \
|
||||
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
|
||||
$(MAKE) -C $$i $@ || exit 1; \
|
||||
done
|
||||
else
|
||||
@for i in $(DIRS); do \
|
||||
echo "====> $(MAKE) $@ in $$i" ;\
|
||||
$(MAKE) -C $$i $@ || exit 1; \
|
||||
done
|
||||
endif
|
||||
endif
|
||||
|
||||
test::
|
||||
ifdef TESTDIRS
|
||||
@for i in $(TESTDIRS); do \
|
||||
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
|
||||
$(MAKE) -C $$i $@ || exit 1; \
|
||||
done
|
||||
endif
|
||||
|
@@ -1,167 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# NaN compiler and linker warning levels
|
||||
# On some platforms, you will be flooded with system include file warnings.
|
||||
# Use hmake to filter those away.
|
||||
#
|
||||
|
||||
# Force the correct redefinition
|
||||
LEVEL_1_C_WARNINGS = -FIX_NAN_WARN1A
|
||||
LEVEL_1_CPP_WARNINGS = -FIX_NAN_WARN1B
|
||||
LEVEL_2_C_WARNINGS = -FIX_NAN_WARN2A
|
||||
LEVEL_2_CPP_WARNINGS = -FIX_NAN_WARN2B
|
||||
FIX_STUBS_WARNINGS = -FIX_NAN_WARN3
|
||||
|
||||
########################################################################
|
||||
# Level 1: basic C warnings.
|
||||
ifeq (gcc, $(findstring gcc,$(CC)))
|
||||
LEVEL_1_C_WARNINGS = -Wall
|
||||
LEVEL_1_C_WARNINGS += -Wno-char-subscripts
|
||||
else
|
||||
ifeq (cc, $(findstring cc,$(CC)))
|
||||
ifeq ($(OS),irix)
|
||||
# MIPSpro Compilers
|
||||
#
|
||||
# Irix warning info
|
||||
#
|
||||
# 1001 # the source file does not end w/ a newline
|
||||
# 1110 # unreachable statement
|
||||
# 1201 # trailing comma in enums is nonstandard
|
||||
# 1209 # constant controlling expressions
|
||||
# 1355 # extra semicolon is ignored
|
||||
# 1424 # unreferenced template paramaters
|
||||
# 1681 # virtual function override
|
||||
# 3201 # unreferenced formal paramaters
|
||||
#
|
||||
LEVEL_1_C_WARNINGS = -fullwarn -woff 1001,1110,1201,1209,1355,1424,1681,3201
|
||||
endif
|
||||
endif
|
||||
ifeq ($(OS),windows)
|
||||
# Microsoft Compilers and cl_wrapper.pl
|
||||
LEVEL_1_C_WARNINGS = -Wall
|
||||
endif
|
||||
endif
|
||||
|
||||
# Level 1: basic CPP warnings.
|
||||
ifeq (g++, $(findstring g++,$(CCC)))
|
||||
LEVEL_1_CPP_WARNINGS = -Wall
|
||||
LEVEL_1_CPP_WARNINGS += -Wno-reorder
|
||||
else
|
||||
ifeq (CC, $(findstring CC,$(CCC)))
|
||||
ifeq ($(OS),irix)
|
||||
# MIPSpro Compilers
|
||||
# see warning descriptions above
|
||||
LEVEL_1_CPP_WARNINGS = -woff 1001,1110,1201,1209,1355,1424,1681,3201
|
||||
endif
|
||||
endif
|
||||
ifeq ($(OS),windows)
|
||||
# Microsoft Compilers and cl_wrapper.pl
|
||||
LEVEL_1_CPP_WARNINGS = -Wall
|
||||
endif
|
||||
endif
|
||||
|
||||
########################################################################
|
||||
# Level 2: paranoia level C warnings.
|
||||
# DO NOT REUSE LEVEL_1_ DEFINES.
|
||||
ifeq (gcc, $(findstring gcc,$(CC)))
|
||||
LEVEL_2_C_WARNINGS = -Wall
|
||||
LEVEL_2_C_WARNINGS += -W
|
||||
# deliberately enable char-subscript warnings
|
||||
LEVEL_2_C_WARNINGS += -Wshadow
|
||||
LEVEL_2_C_WARNINGS += -Wpointer-arith
|
||||
LEVEL_2_C_WARNINGS += -Wbad-function-cast
|
||||
LEVEL_2_C_WARNINGS += -Wcast-qual
|
||||
LEVEL_2_C_WARNINGS += -Wcast-align
|
||||
LEVEL_2_C_WARNINGS += -Waggregate-return
|
||||
LEVEL_2_C_WARNINGS += -Wstrict-prototypes
|
||||
LEVEL_2_C_WARNINGS += -Wmissing-prototypes
|
||||
LEVEL_2_C_WARNINGS += -Wmissing-declarations
|
||||
LEVEL_2_C_WARNINGS += -Wnested-externs
|
||||
LEVEL_2_C_WARNINGS += -Wredundant-decls
|
||||
else
|
||||
ifeq (cc, $(findstring cc,$(CC)))
|
||||
ifeq ($(OS),irix)
|
||||
# MIPSpro Compilers
|
||||
# see warning descriptions above
|
||||
LEVEL_2_C_WARNINGS = -fullwarn -woff 1001,1209,1424,3201
|
||||
endif
|
||||
ifeq ($(OS),solaris)
|
||||
# Forte / Sun WorkShop Compilers
|
||||
LEVEL_2_C_WARNINGS = -v
|
||||
endif
|
||||
endif
|
||||
ifeq ($(OS),windows)
|
||||
# Microsoft Compilers and cl_wrapper.pl
|
||||
LEVEL_2_C_WARNINGS = -Wall
|
||||
endif
|
||||
endif
|
||||
|
||||
# Level 2: paranoia level CPP warnings.
|
||||
# DO NOT REUSE LEVEL_1_ DEFINES.
|
||||
ifeq (g++, $(findstring g++,$(CCC)))
|
||||
LEVEL_2_CPP_WARNINGS = -Wall
|
||||
LEVEL_2_CPP_WARNINGS += -W
|
||||
# deliberately enable char-subscript warnings
|
||||
LEVEL_2_CPP_WARNINGS += -Wshadow
|
||||
LEVEL_2_CPP_WARNINGS += -Wpointer-arith
|
||||
LEVEL_2_CPP_WARNINGS += -Wcast-qual
|
||||
LEVEL_2_CPP_WARNINGS += -Wcast-align
|
||||
# deliberately disable aggregate-return warnings
|
||||
LEVEL_2_CPP_WARNINGS += -Wredundant-decls
|
||||
LEVEL_2_CPP_WARNINGS += -Wreorder
|
||||
LEVEL_2_CPP_WARNINGS += -Wctor-dtor-privacy
|
||||
LEVEL_2_CPP_WARNINGS += -Wnon-virtual-dtor
|
||||
#LEVEL_2_CPP_WARNINGS += -Wold-style-cast
|
||||
LEVEL_2_CPP_WARNINGS += -Woverloaded-virtual
|
||||
LEVEL_2_CPP_WARNINGS += -Wsign-promo
|
||||
LEVEL_2_CPP_WARNINGS += -Wsynth
|
||||
else
|
||||
ifeq (CC, $(findstring CC,$(CCC)))
|
||||
ifeq ($(OS),irix)
|
||||
# MIPSpro Compilers
|
||||
# see warning descriptions above
|
||||
LEVEL_2_CPP_WARNINGS = -fullwarn -woff 1209,1424,3201
|
||||
endif
|
||||
endif
|
||||
ifeq ($(OS),windows)
|
||||
# Microsoft Compilers and cl_wrapper.pl
|
||||
LEVEL_2_CPP_WARNINGS = -Wall
|
||||
endif
|
||||
endif
|
||||
|
||||
########################################################################
|
||||
# stubs warning fix
|
||||
ifeq (gcc, $(findstring gcc,$(CC)))
|
||||
FIX_STUBS_WARNINGS = -Wno-unused
|
||||
else
|
||||
FIX_STUBS_WARNINGS =
|
||||
endif
|
||||
|
@@ -1,123 +0,0 @@
|
||||
An updated version of this guide can be found at:
|
||||
|
||||
http://www.blender3d.org/cms/Building_with_Cygwin.524.0.html
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
Here are some basic instructions for building
|
||||
blender for windows using gcc under cygwin.
|
||||
Please note that the resulting executable does not
|
||||
depend on cygwin and can be distrubuted to machines
|
||||
that don't have cygwin installed.
|
||||
|
||||
The instructions are:
|
||||
|
||||
1. Download cygwin (www.cygwin.com) and use the setup program
|
||||
to install packages for gcc, gcc-mingw, gcc-g++, w32api, make, cvs,
|
||||
python, perl, gettext, and gettext-devel (and maybe others... the
|
||||
dependency list is bound to change over time and hopefully these
|
||||
instructions will keep up with the changes). All of the following
|
||||
commands will be entered at the cygwin prompt so launch
|
||||
cygwin now.
|
||||
|
||||
2. Create a directory to put your sources and then enter that
|
||||
directory, e.g.:
|
||||
mkdir bf-blender
|
||||
cd bf-blender
|
||||
|
||||
*********WARNING: if the directory path you are in contains a space in
|
||||
it you will get errors in trying to compile the code. Change directorys
|
||||
to a one that does not contain a space in the path before creating the
|
||||
above directory *********
|
||||
|
||||
|
||||
Please note that a backslash at the end of a line in the following
|
||||
means that the command spans two lines. If you wish to type the command as
|
||||
one line, exclude the '\'.
|
||||
|
||||
3. Checkout the blender module from the bf-blender tree using cvs
|
||||
(use password anonymous):
|
||||
cvs -d:pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender login
|
||||
cvs -z3 -d:pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender \
|
||||
co blender
|
||||
|
||||
4. Checkout the lib/windows module from bf-blender using cvs:
|
||||
cvs -z3 -d:pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender \
|
||||
co lib/windows
|
||||
|
||||
5. Enter the newly created blender directory:
|
||||
cd blender
|
||||
|
||||
6. To prepare the build system to use only the free tools we must
|
||||
set some environment variables. This is done by creating a
|
||||
file called "user-def.mk" in the blender directory and
|
||||
inserting the following line with notepad or your favorite
|
||||
text editor:
|
||||
export FREE_WINDOWS=true
|
||||
|
||||
The quickest way to do this though is to issue the following
|
||||
command:
|
||||
echo 'export FREE_WINDOWS=true' > user-def.mk
|
||||
|
||||
7. Time to build... issue the command:
|
||||
make
|
||||
|
||||
8. Wait for it to finish (there is this mysterious place called
|
||||
'outside' that I am told is nice to go to while waiting for a
|
||||
compile to finish).
|
||||
|
||||
9. After it finishes compiling, if you would like to run your freshly compiled
|
||||
blender, type make release. Then change directorys to obj/233.a/ and move
|
||||
the zip file to where you want to use it, unzip the file, enter the directory
|
||||
and run your brand new blender.
|
||||
|
||||
|
||||
Getting Help
|
||||
------------
|
||||
If you have problems, come by #blendercompilers on irc.freenode.net
|
||||
or post questions to the "Compiling, Libraries, Modules" forum
|
||||
at www.blender.org. There is also the very useful bf-committers
|
||||
mailing list, what you can subscribe to here:
|
||||
|
||||
http://www.blender.org/mailman/listinfo/bf-committers
|
||||
(as a bonus you can get info about the most recent features that
|
||||
are coming down the pipe ...)
|
||||
|
||||
This said, the most common fix to a problem will
|
||||
probably involve installing an additional cygwin package,
|
||||
so keep that cygwin setup program close by ...
|
||||
|
||||
Some final notes
|
||||
----------------
|
||||
|
||||
- The build will take a long time, even on a fast machine
|
||||
(a clean build takes almost an hour on my Athlon 1800+
|
||||
based laptop).
|
||||
- If the build is successful you will find it has created
|
||||
the program obj/windows/bin/blender.exe
|
||||
- The executable generated by gcc will generally be slower
|
||||
that an msvc++ generated executable at rendering, but the
|
||||
OpenGL speed should be about the same.
|
||||
- Sound is disabled
|
||||
- If you want to clean your sources issue a 'make clean'
|
||||
in the top blender directory.
|
||||
- If you want to update your sources when somebody has
|
||||
added a new awesome feature, you will want to go to the
|
||||
topmost blender directory and issue the following command:
|
||||
cvs -z3 update -P -d
|
||||
It would probably be best to clean your sources before
|
||||
re-building (see previous note).
|
||||
- This is a work in progress, so some things may not be working
|
||||
right or it may not support all of the cutting edge features.
|
||||
- Want to make a fancy zipped up blender package to give
|
||||
to your buddies? Try "make release" ... read the output
|
||||
to find out where the zip file was placed (note: you will
|
||||
probably need the zip/unzip packages from cygwin to do
|
||||
this).
|
||||
- You can make a debug executable using 'make debug'. The
|
||||
debug executable will be larger and slower that the
|
||||
regular executable, but when used with the gnu debugger
|
||||
(gdb) it can help debug a blender problem (for example,
|
||||
it can locate the line of code that caused blender to
|
||||
crash).
|
72
extern/Makefile
vendored
72
extern/Makefile
vendored
@@ -1,72 +0,0 @@
|
||||
# $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) 2002 by Hans Lambermont
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# Bounces make to subdirectories. Also installs after succesful all target.
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
SOURCEDIR = extern
|
||||
DIR = $(OCGDIR)/extern
|
||||
DIRS = glew/src
|
||||
|
||||
# Cloth requires it
|
||||
ifeq ($(NAN_USE_BULLET), true)
|
||||
DIRS += bullet2
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BINRELOC), true)
|
||||
DIRS += binreloc
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENJPEG), true)
|
||||
ifndef BF_OPENJPEG
|
||||
DIRS += libopenjpeg
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LZO), true)
|
||||
DIRS += lzo/minilzo
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LZMA), true)
|
||||
DIRS += lzma
|
||||
endif
|
||||
|
||||
TARGET = solid
|
||||
|
||||
all::
|
||||
@[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
|
||||
@for i in $(DIRS); do \
|
||||
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
|
||||
$(MAKE) -C $$i install || exit 1; \
|
||||
done
|
||||
|
||||
clean test debug::
|
||||
@[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
|
||||
@for i in $(DIRS); do \
|
||||
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
|
||||
$(MAKE) -C $$i $@ || exit 1; \
|
||||
done
|
38
extern/binreloc/Makefile
vendored
38
extern/binreloc/Makefile
vendored
@@ -1,38 +0,0 @@
|
||||
# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
|
||||
# vim: tabstop=8
|
||||
#
|
||||
# ***** 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) 2008 by The Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = binreloc
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
CPPFLAGS += -DENABLE_BINRELOC -I./include
|
||||
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(DIR) ] || mkdir $(DIR)
|
||||
@[ -d $(DIR)/include ] || mkdir $(DIR)/include
|
||||
@../../intern/tools/cpifdiff.sh include/*.h $(DIR)/include/
|
65
extern/bullet2/Makefile
vendored
65
extern/bullet2/Makefile
vendored
@@ -1,65 +0,0 @@
|
||||
# -*- 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) 2002 by Hans Lambermont
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
LIBNAME = bullet2
|
||||
include nan_definitions.mk
|
||||
SOURCEDIR = extern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
DIRS = src
|
||||
DISTDIR = src
|
||||
|
||||
BULLETDIRS = \
|
||||
LinearMath \
|
||||
BulletCollision/BroadphaseCollision \
|
||||
BulletCollision/CollisionShapes \
|
||||
BulletCollision/NarrowPhaseCollision \
|
||||
BulletCollision/Gimpact \
|
||||
BulletCollision//CollisionDispatch \
|
||||
BulletDynamics/ConstraintSolver \
|
||||
BulletDynamics/Vehicle \
|
||||
BulletDynamics/Dynamics \
|
||||
BulletSoftBody
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
CP = $(NANBLENDERHOME)/intern/tools/cpifdiff.sh
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_BULLET2) ] || mkdir -p $(NAN_BULLET2)
|
||||
@[ -d $(NAN_BULLET2)/include ] || mkdir -p $(NAN_BULLET2)/include
|
||||
@for i in $(BULLETDIRS); do \
|
||||
[ -d $(NAN_BULLET2)/include/$$i ] || mkdir -p $(NAN_BULLET2)/include/$$i; \
|
||||
$(CP) $(DISTDIR)/$$i/*.h $(NAN_BULLET2)/include/$$i; \
|
||||
done
|
||||
@[ -d $(NAN_BULLET2)/lib ] || mkdir -p $(NAN_BULLET2)/lib
|
||||
@$(CP) $(DISTDIR)/*.h $(NAN_BULLET2)/include
|
||||
@$(CP) $(OCGDIR)/extern/bullet2/libbullet2.a $(NAN_BULLET2)/lib
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_BULLET2)/lib/libbullet2.a
|
||||
endif
|
72
extern/bullet2/src/Makefile
vendored
72
extern/bullet2/src/Makefile
vendored
@@ -1,72 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
|
||||
LIBNAME = bullet2
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
|
||||
BULLETDIRS = \
|
||||
LinearMath \
|
||||
BulletCollision/BroadphaseCollision \
|
||||
BulletCollision/CollisionShapes \
|
||||
BulletCollision/NarrowPhaseCollision \
|
||||
BulletCollision/CollisionDispatch \
|
||||
BulletCollision/Gimpact \
|
||||
BulletDynamics/ConstraintSolver \
|
||||
BulletDynamics/Vehicle \
|
||||
BulletDynamics/Dynamics \
|
||||
BulletSoftBody
|
||||
|
||||
CCSRCS = $(wildcard \
|
||||
LinearMath/*.cpp \
|
||||
BulletCollision/BroadphaseCollision/*.cpp \
|
||||
BulletCollision/CollisionShapes/*.cpp \
|
||||
BulletCollision/NarrowPhaseCollision/*.cpp \
|
||||
BulletCollision/CollisionDispatch/*.cpp \
|
||||
BulletCollision/Gimpact/*.cpp \
|
||||
BulletDynamics/ConstraintSolver/*.cpp \
|
||||
BulletDynamics/Vehicle/*.cpp \
|
||||
BulletDynamics/Dynamics/*.cpp \
|
||||
BulletSoftBody/*.cpp)
|
||||
|
||||
CPPFLAGS += -D_LIB -I. -IBulletCollision -IBulletDynamics -ILinearMath
|
||||
|
||||
all debug:: objdirs
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
.PHONY: objdirs clean
|
||||
objdirs:
|
||||
@for i in $(BULLETDIRS); do \
|
||||
[ -d $(DIR)/$(DEBUG_DIR)$$i ] || mkdir -p $(DIR)/$(DEBUG_DIR)$$i; \
|
||||
done
|
||||
|
||||
clean::
|
||||
rm -rf $(DIR)
|
||||
rm -rf $(NAN_BULLET2)/lib/libbullet2.a
|
||||
rm -rf $(NAN_BULLET2)/include
|
56
extern/glew/src/Makefile
vendored
56
extern/glew/src/Makefile
vendored
@@ -1,56 +0,0 @@
|
||||
# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
|
||||
# vim: tabstop=8
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# ***** BEGIN GPL/BL DUAL 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. The Blender
|
||||
# Foundation also sells licenses for use in proprietary software under
|
||||
# the Blender License. See http://www.blender.org/BL/ for information
|
||||
# about this.
|
||||
#
|
||||
# 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = glew
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../include
|
||||
|
||||
CSRCS = glew.c
|
||||
CCSRCS =
|
||||
include nan_compile.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_GLEW) ] || mkdir -p $(NAN_GLEW)
|
||||
@[ -d $(NAN_GLEW)/include/GL ] || mkdir -p $(NAN_GLEW)/include/GL
|
||||
@[ -d $(NAN_GLEW)/lib/$(DEBUG_DIR) ] || mkdir -p $(NAN_GLEW)/lib/$(DEBUG_DIR)
|
||||
@$(NANBLENDERHOME)/intern/tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)lib$(LIBNAME).a $(NAN_GLEW)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_GLEW)/lib/$(DEBUG_DIR)lib$(LIBNAME).a
|
||||
endif
|
||||
@$(NANBLENDERHOME)/intern/tools/cpifdiff.sh ../include/GL/*.h $(NAN_GLEW)/include/GL
|
||||
|
43
extern/libopenjpeg/Makefile
vendored
43
extern/libopenjpeg/Makefile
vendored
@@ -1,43 +0,0 @@
|
||||
#
|
||||
# $Id: Makefile 14444 2008-04-16 22:40:48Z hos $
|
||||
#
|
||||
# ***** 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = openjpeg
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
TCSRCS = $(wildcard *.c)
|
||||
CSRCS = $(filter-out t1_generate_luts.c,$(TCSRCS))
|
||||
|
||||
include nan_compile.mk
|
||||
CPPFLAGS += -I.
|
||||
|
||||
install: all debug
|
||||
|
46
extern/lzma/Makefile
vendored
46
extern/lzma/Makefile
vendored
@@ -1,46 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# ***** BEGIN GPL/BL DUAL 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. The Blender
|
||||
# Foundation also sells licenses for use in proprietary software under
|
||||
# the Blender License. See http://www.blender.org/BL/ for information
|
||||
# about this.
|
||||
#
|
||||
# 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = lzma
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_LZMA) ] || mkdir -p $(NAN_LZMA)
|
||||
@[ -d $(NAN_LZMA)/lib/$(DEBUG_DIR) ] || mkdir -p $(NAN_LZMA)/lib/$(DEBUG_DIR)
|
||||
@$(NANBLENDERHOME)/intern/tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)lib$(LIBNAME).a $(NAN_LZMA)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_LZMA)/lib/$(DEBUG_DIR)lib$(LIBNAME).a
|
||||
endif
|
||||
@$(NANBLENDERHOME)/intern/tools/cpifdiff.sh *.h $(NAN_LZMA)
|
40
extern/lzo/minilzo/Makefile
vendored
40
extern/lzo/minilzo/Makefile
vendored
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# $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.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
|
||||
LIBNAME = minilzo
|
||||
DIR = $(OCGDIR)/extern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_LZO) ] || mkdir -p $(NAN_LZO)
|
||||
@[ -d $(NAN_LZO)/minilzo ] || mkdir -p $(NAN_LZO)/minilzo
|
||||
@[ -d $(NAN_LZO)/lib/$(DEBUG_DIR) ] || mkdir -p $(NAN_LZO)/lib/$(DEBUG_DIR)
|
||||
@$(NANBLENDERHOME)/intern/tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)lib$(LIBNAME).a $(NAN_LZO)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_LZO)/lib/$(DEBUG_DIR)lib$(LIBNAME).a
|
||||
endif
|
||||
@$(NANBLENDERHOME)/intern/tools/cpifdiff.sh *.h $(NAN_LZO)/minilzo
|
@@ -1,47 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# Bounces make to subdirectories. Also installs after succesful all target.
|
||||
|
||||
SOURCEDIR = intern
|
||||
|
||||
# include nan_subdirs.mk
|
||||
|
||||
ALLDIRS = string ghost guardedalloc moto container memutil
|
||||
ALLDIRS += decimation iksolver itasc bsp opennl elbeem boolop smoke audaspace
|
||||
|
||||
all::
|
||||
@for i in $(ALLDIRS); do \
|
||||
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
|
||||
$(MAKE) -C $$i install || exit 1; \
|
||||
done
|
||||
clean test debug::
|
||||
@for i in $(ALLDIRS); do \
|
||||
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
|
||||
$(MAKE) -C $$i $@ || exit 1; \
|
||||
done
|
||||
|
@@ -1,43 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_fx
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../ffmpeg
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I../SDL
|
||||
CPPFLAGS += -I../SRC
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,120 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = audaspace
|
||||
SOURCEDIR = intern/audaspace
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
DIRS += FX
|
||||
DIRS += SDL
|
||||
DIRS += SRC
|
||||
DIRS += Python
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
DIRS += ffmpeg
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
DIRS += OpenAL
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK),true)
|
||||
DIRS += jack
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
DIRS += sndfile
|
||||
endif
|
||||
|
||||
# Not in use currently, see also source/Makefile and r31375
|
||||
#ifeq ($(WITH_FFTW3),true)
|
||||
# DIRS += fftw
|
||||
#endif
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_AUDASPACE) ] || mkdir $(NAN_AUDASPACE)
|
||||
@[ -d $(NAN_AUDASPACE)/include ] || mkdir $(NAN_AUDASPACE)/include
|
||||
@[ -d $(NAN_AUDASPACE)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaudaspace.a $(DIR)/$(DEBUG_DIR)libaud_sdl.a $(DIR)/$(DEBUG_DIR)libaud_python.a $(DIR)/$(DEBUG_DIR)libaud_fx.a $(DIR)/$(DEBUG_DIR)libaud_src.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_ffmpeg.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_openal.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK),true)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_jack.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_sndfile.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
endif
|
||||
|
||||
#ifeq ($(WITH_FFTW3),true)
|
||||
# @../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_fftw.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
||||
#endif
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaudaspace.a
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_src.a
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fx.a
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_sdl.a
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_ffmpeg.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_openal.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK),true)
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_jack.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_sndfile.a
|
||||
endif
|
||||
|
||||
#ifeq ($(WITH_FFTW3),true)
|
||||
# ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fftw.a
|
||||
#endif
|
||||
|
||||
endif
|
||||
@../tools/cpifdiff.sh intern/*.h $(NAN_AUDASPACE)/include/
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_openal
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I.
|
@@ -1,76 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2010 by Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Ton
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_python
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
|
||||
|
||||
ifeq ($(WITH_SDL),true)
|
||||
CPPFLAGS += -DWITH_SDL
|
||||
CPPFLAGS += $(NAN_SDLCFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
CPPFLAGS += -DWITH_OPENAL
|
||||
CPPFLAGS += -I../OpenAL
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK),true)
|
||||
CPPFLAGS += -DWITH_JACK
|
||||
CPPFLAGS += $(NAN_JACKCFLAGS)
|
||||
CPPFLAGS += -I../jack
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
CPPFLAGS += -DWITH_FFMPEG
|
||||
CPPFLAGS += $(NAN_FFMPEGCFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
CPPFLAGS += -DWITH_SNDFILE
|
||||
CPPFLAGS += -I../sndfile
|
||||
CPPFLAGS += -I$(NAN_SNDFILE)/include
|
||||
endif
|
||||
|
||||
CPPFLAGS += -I$(NAN_SAMPLERATE)/include/
|
||||
CPPFLAGS += -I../ffmpeg
|
||||
CPPFLAGS += -I../FX
|
||||
CPPFLAGS += -I../SDL
|
||||
CPPFLAGS += -I../SRC
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,41 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_sdl
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += $(NAN_SDLCFLAGS)
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,44 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_src
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_SAMPLERATE)/include
|
||||
CPPFLAGS += -I../ffmpeg
|
||||
CPPFLAGS += -I../FX
|
||||
CPPFLAGS += -I../SDL
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,41 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_ffmpeg
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += $(NAN_FFMPEGCFLAGS)
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,42 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_fftw
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I../FX
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
||||
CPPFLAGS += -I$(BF_FFTW3)/include
|
@@ -1,74 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = audaspace
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
|
||||
|
||||
ifeq ($(WITH_SDL),true)
|
||||
CPPFLAGS += -DWITH_SDL
|
||||
CPPFLAGS += $(NAN_SDLCFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
CPPFLAGS += -DWITH_OPENAL
|
||||
CPPFLAGS += -I../OpenAL
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK),true)
|
||||
CPPFLAGS += -DWITH_JACK
|
||||
CPPFLAGS += $(NAN_JACKCFLAGS)
|
||||
CPPFLAGS += -I../jack
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
CPPFLAGS += -DWITH_FFMPEG
|
||||
CPPFLAGS += $(NAN_FFMPEGCFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
CPPFLAGS += -DWITH_SNDFILE
|
||||
CPPFLAGS += -I../sndfile
|
||||
CPPFLAGS += -I$(NAN_SNDFILE)/include
|
||||
endif
|
||||
|
||||
CPPFLAGS += -I$(NAN_SAMPLERATE)/include/
|
||||
CPPFLAGS += -I../ffmpeg
|
||||
CPPFLAGS += -I../FX
|
||||
CPPFLAGS += -I../SDL
|
||||
CPPFLAGS += -I../SRC
|
||||
CPPFLAGS += -I../Python
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,44 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_jack
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
# If we are here, jack is enable.
|
||||
CPPFLAGS += -DWITH_JACK
|
||||
CPPFLAGS += $(NAN_JACKCFLAGS)
|
||||
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,41 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = aud_sndfile
|
||||
DIR = $(OCGDIR)/intern/audaspace
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_SNDFILE)/include
|
||||
CPPFLAGS += -I../intern
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I.
|
@@ -1,55 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# bsp main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = boolop
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
# not yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_BOOLOP) ] || mkdir $(NAN_BOOLOP)
|
||||
@[ -d $(NAN_BOOLOP)/include ] || mkdir $(NAN_BOOLOP)/include
|
||||
@[ -d $(NAN_BOOLOP)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_BOOLOP)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libboolop.a $(NAN_BOOLOP)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_BOOLOP)/lib/$(DEBUG_DIR)libboolop.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_BOOLOP)/include/
|
||||
|
||||
|
||||
|
||||
|
@@ -1,48 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# string intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = boolop
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
DIRS = common
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../extern
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(NAN_CONTAINER)/include
|
||||
CPPFLAGS += -I../../../source/blender/makesdna
|
||||
CPPFLAGS += -I../../../source/blender/blenlib
|
||||
CPPFLAGS += -Icommon
|
||||
|
||||
|
@@ -1,53 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# bsp main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = bsp
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
# not yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_BSP) ] || mkdir $(NAN_BSP)
|
||||
@[ -d $(NAN_BSP)/include ] || mkdir $(NAN_BSP)/include
|
||||
@[ -d $(NAN_BSP)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_BSP)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libbsp.a $(NAN_BSP)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_BSP)/lib/$(DEBUG_DIR)libbsp.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_BSP)/include/
|
||||
|
||||
|
@@ -1,45 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# string intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = bsp
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
DIRS = common
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../extern
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
CPPFLAGS += -I$(NAN_CONTAINER)/include
|
||||
CPPFLAGS += -Icommon
|
||||
|
||||
|
@@ -1,53 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# BSP_GhostTest Makefile
|
||||
#
|
||||
|
||||
LIBNAME = BSP_GhostTest
|
||||
SOURCEDIR = intern/bsp/test/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I$(NAN_BSP)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
CPPFLAGS += -I$(NAN_CONTAINER)/include
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_GHOST)/include
|
||||
CPPFLAGS += -I$(NAN_STRING)/include
|
||||
CPPFLAGS += -I../../extern/
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
CPPFLAGS += -I$(NAN_LIBDIR)/windows/glut-3.7/include
|
||||
endif
|
||||
|
||||
|
||||
|
@@ -1,69 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# bsp test makefile.
|
||||
#
|
||||
|
||||
LIBNAME = bsp
|
||||
SOURCEDIR = intern/$(LIBNAME)/test
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
DIRS = BSP_GhostTest
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
include nan_link.mk
|
||||
|
||||
LIBS = $(OCGDIR)/intern/$(LIBNAME)/test/BSP_GhostTest/$(DEBUG_DIR)libBSP_GhostTest.a
|
||||
LIBS += $(OCGDIR)/intern/$(LIBNAME)/$(DEBUG_DIR)libbsp.a
|
||||
|
||||
SLIBS += $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
SLIBS += $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a
|
||||
SLIBS += $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "darwin linux freebsd openbsd"))
|
||||
LLIBS = -L/usr/X11R6/lib -lglut -pthread -lXi -lXmu
|
||||
endif
|
||||
|
||||
all debug:: $(LIBS) $(DIR)/$(DEBUG_DIR)BSPGhostTest
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)BSPGhostTest:
|
||||
@echo "****> linking $@ in $(DIR)"
|
||||
$(CCC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)BSPGhostTest $(LIBS) $(SLIBS) $(LLIBS) $(DADD)
|
||||
|
||||
clean::
|
||||
$(RM) $(DIR)/BSPGhostTest $(DIR)/debug/BSPGhostTest
|
||||
|
||||
test:: all
|
||||
$(DIR)/BSPGhostTest
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,49 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# container main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = container
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
#not yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_CONTAINER) ] || mkdir $(NAN_CONTAINER)
|
||||
@[ -d $(NAN_CONTAINER)/include ] || mkdir $(NAN_CONTAINER)/include
|
||||
@[ -d $(NAN_CONTAINER)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_CONTAINER)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libcontainer.a $(NAN_CONTAINER)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh *.h $(NAN_CONTAINER)/include/
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# container intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = container
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I..
|
||||
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# decimation main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = decimation
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_DECIMATION) ] || mkdir $(NAN_DECIMATION)
|
||||
@[ -d $(NAN_DECIMATION)/include ] || mkdir $(NAN_DECIMATION)/include
|
||||
@[ -d $(NAN_DECIMATION)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_DECIMATION)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libdecimation.a $(NAN_DECIMATION)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_DECIMATION)/lib/$(DEBUG_DIR)libdecimation.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_DECIMATION)/include/
|
||||
|
@@ -1,42 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# decimation intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = decimation
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(NAN_LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
CPPFLAGS += -I$(NAN_CONTAINER)/include
|
||||
|
||||
|
@@ -1,54 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# elbeem main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
unexport NAN_QUIET
|
||||
|
||||
LIBNAME = elbeem
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
#not ready yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_ELBEEM) ] || mkdir $(NAN_ELBEEM)
|
||||
@[ -d $(NAN_ELBEEM)/include ] || mkdir $(NAN_ELBEEM)/include
|
||||
@[ -d $(NAN_ELBEEM)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_ELBEEM)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libelbeem.a $(NAN_ELBEEM)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_ELBEEM)/lib/$(DEBUG_DIR)libelbeem.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_ELBEEM)/include/
|
||||
|
@@ -1,54 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# elbeem intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = elbeem
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
unexport NAN_QUIET
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
ifeq ($(WITH_BF_OPENMP),true)
|
||||
CPPFLAGS += -DPARALLEL
|
||||
endif
|
||||
|
||||
CPPFLAGS += -DNOGUI -DELBEEM_BLENDER
|
||||
CPPFLAGS += -I.
|
||||
CPPFLAGS += -I../extern
|
||||
CPPFLAGS += $(NAN_SDLCFLAGS)
|
||||
CPPFLAGS += -I$(NAN_PNG)/include
|
||||
CPPFLAGS += -I$(NAN_PNG)/include/libpng
|
||||
|
||||
# zlib
|
||||
ifeq ($(OS),$(findstring $(OS), "solaris windows"))
|
||||
CPPFLAGS += -I$(NAN_ZLIB)/include
|
||||
endif
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# ghost main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = ghost
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_GHOST) ] || mkdir $(NAN_GHOST)
|
||||
@[ -d $(NAN_GHOST)/include ] || mkdir $(NAN_GHOST)/include
|
||||
@[ -d $(NAN_GHOST)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_GHOST)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libghost.a $(NAN_GHOST)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh *.h $(NAN_GHOST)/include/
|
||||
|
@@ -1,74 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# ghost intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = ghost
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
CCSRCS = GHOST_Buttons.cpp GHOST_System.cpp GHOST_Window.cpp
|
||||
CCSRCS += GHOST_EventManager.cpp GHOST_EventPrinter.cpp GHOST_WindowManager.cpp
|
||||
CCSRCS += GHOST_ISystem.cpp GHOST_ISystemPaths.cpp GHOST_ModifierKeys.cpp GHOST_TimerManager.cpp
|
||||
CCSRCS += GHOST_Rect.cpp GHOST_DisplayManager.cpp GHOST_C-api.cpp
|
||||
CCSRCS += GHOST_CallbackEventConsumer.cpp
|
||||
CCSRCS += GHOST_NDOFManager.cpp GHOST_Path-api.cpp
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "darwin"))
|
||||
ifeq ($(WITH_COCOA), true)
|
||||
OCCSRCS += $(wildcard *Cocoa.mm)
|
||||
CPPFLAGS += -DGHOST_COCOA
|
||||
ifeq ($(WITH_QUICKTIME), true)
|
||||
CPPFLAGS += -DWITH_QUICKTIME
|
||||
endif
|
||||
else
|
||||
CCSRCS += $(wildcard *Carbon.cpp)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "windows"))
|
||||
CPPFLAGS += -I$(NAN_WINTAB)/include
|
||||
CCSRCS += $(wildcard *Win32.cpp)
|
||||
endif
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd irix linux openbsd solaris"))
|
||||
CCSRCS += $(wildcard *X11.cpp)
|
||||
endif
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
#CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_STRING)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I../../../source/blender/imbuf
|
||||
CPPFLAGS += -I../../../source/blender/makesdna
|
||||
CPPFLAGS += -DPREFIX=\"$(BF_PREFIX)\"
|
@@ -1,83 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# GHOST test applications makefile.
|
||||
# This bounces to test application directories.
|
||||
#
|
||||
|
||||
LIBNAME = ghost
|
||||
SOURCEDIR = intern/$(LIBNAME)/test
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = gears multitest
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
include nan_compile.mk
|
||||
include nan_link.mk
|
||||
|
||||
OCGGHOST = $(OCGDIR)/intern/$(LIBNAME)
|
||||
GEARDIR = $(OCGGHOST)/test/$(DEBUG_DIR)gears.app
|
||||
|
||||
LIBS = $(OCGGHOST)/$(DEBUG_DIR)libghost.a
|
||||
SLIBS += $(LCGDIR)/string/lib/libstring.a
|
||||
|
||||
all debug:: $(LIBS)
|
||||
@echo "****> linking $@ in $(SOURCEDIR)"
|
||||
ifeq ($(OS),darwin)
|
||||
$(CCC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)gears $(DIR)/$(DEBUG_DIR)GHOST_Test.o $(LIBS) $(SLIBS) $(LLIBS) $(DADD) $(LOPTS)
|
||||
@# set up directory structure for the OSX application bundle
|
||||
@[ -d $(OCGGHOST)/test/ ] || mkdir $(OCGGHOST)/test/
|
||||
@[ -d $(OCGGHOST)/test/debug ] || mkdir $(OCGGHOST)/test/debug
|
||||
@[ -d $(GEARDIR) ] || mkdir $(GEARDIR)
|
||||
@[ -d $(GEARDIR)/Contents ] || mkdir $(GEARDIR)/Contents
|
||||
@[ -d $(GEARDIR)/Contents/MacOS ] || mkdir $(GEARDIR)/Contents/MacOS
|
||||
@[ -d $(GEARDIR)/Contents/Resources ] || mkdir $(GEARDIR)/Contents/Resources
|
||||
@[ -d $(GEARDIR)/Contents/Resources/English.lproj ] || mkdir $(GEARDIR)/Contents/Resources/English.lproj
|
||||
@[ -d $(GEARDIR)/Contents/Resources/English.lproj/MainMenu.nib ] || mkdir $(GEARDIR)/Contents/Resources/English.lproj/MainMenu.nib
|
||||
@# copy the files into the bundle directory tree
|
||||
cp -f $(DIR)/$(DEBUG_DIR)gears $(GEARDIR)/Contents/MacOS
|
||||
cp -f gears/resources/osx/PkgInfo $(GEARDIR)/Contents/
|
||||
cp -f gears/resources/osx/Info.plist $(GEARDIR)/Contents/
|
||||
cp -f gears/resources/osx/English.lproj/InfoPlist.strings $(GEARDIR)/Contents/Resources/English.lproj
|
||||
cp -f gears/resources/osx/English.lproj/MainMenu.nib/classes.nib $(GEARDIR)/Contents/Resources/English.lproj
|
||||
cp -f gears/resources/osx/English.lproj/MainMenu.nib/info.nib $(GEARDIR)/Contents/Resources/English.lproj
|
||||
cp -f gears/resources/osx/English.lproj/MainMenu.nib/objects.nib $(GEARDIR)/Contents/Resources/English.lproj
|
||||
else
|
||||
$(CCC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)gears_cpp $(DIR)/$(DEBUG_DIR)GHOST_Test.o $(LIBS) $(SLIBS) $(LLIBS) $(DADD) $(LOPTS)
|
||||
$(CCC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)gears_c $(DIR)/$(DEBUG_DIR)GHOST_C-Test.o $(LIBS) $(SLIBS) $(LLIBS) $(DADD) $(LOPTS)
|
||||
endif
|
||||
|
||||
clean::
|
||||
@# mac stuff. well ok, only the binary
|
||||
@rm -f $(DIR)/gears $(DIR)/debug/gears
|
||||
@# others
|
||||
@rm -f $(DIR)/gears_c $(DIR)/debug/gears_c
|
||||
@rm -f $(DIR)/gears_cpp $(DIR)/debug/gears_cpp
|
||||
|
||||
test:: all
|
||||
$(DIR)/gears_cpp
|
||||
$(DIR)/gears_c
|
@@ -1,45 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# GHOST gears test application Makefile
|
||||
#
|
||||
|
||||
LIBNAME = gearstest
|
||||
DIR = $(OCGDIR)/intern/ghost/test
|
||||
|
||||
# we don't want a library here, only object files:
|
||||
ALLTARGETS = $(OBJS)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_2_C_WARNINGS)
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I$(NAN_STRING)/include
|
||||
CPPFLAGS += -I../..
|
||||
|
@@ -1,55 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# GHOST gears test application Makefile
|
||||
#
|
||||
|
||||
DIR = $(OCGDIR)/intern/ghost/test
|
||||
|
||||
# we don't want a library here, only object files:
|
||||
ALLTARGETS = $(OBJS)
|
||||
|
||||
include nan_compile.mk
|
||||
include nan_link.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I$(NAN_STRING)/include
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I../..
|
||||
|
||||
OCGGHOST = $(OCGDIR)/intern/ghost
|
||||
|
||||
LIBS = $(OCGGHOST)/$(DEBUG_DIR)libghost.a
|
||||
SLIBS += $(LCGDIR)/string/lib/libstring.a
|
||||
SLIBS += $(LCGDIR)/guardedalloc/lib/libguardedalloc.a
|
||||
|
||||
all::
|
||||
@echo "- link $(DIR)/$(DEBUG_DIR)multitest -"
|
||||
@$(CCC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)multitest $(OBJS) $(LIBS) $(SLIBS) $(LLIBS) $(DADD) $(LOPTS)
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# decimation main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = guardedalloc
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_GUARDEDALLOC) ] || mkdir $(NAN_GUARDEDALLOC)
|
||||
@[ -d $(NAN_GUARDEDALLOC)/include ] || mkdir $(NAN_GUARDEDALLOC)/include
|
||||
@[ -d $(NAN_GUARDEDALLOC)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_GUARDEDALLOC)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libguardedalloc.a $(NAN_GUARDEDALLOC)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_GUARDEDALLOC)/lib/$(DEBUG_DIR)libguardedalloc.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh *.h $(NAN_GUARDEDALLOC)/include/
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# guardedalloc intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = guardedalloc
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(NAN_LEVEL_2_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I..
|
||||
|
@@ -1,52 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# Test the guarded memory module
|
||||
#
|
||||
|
||||
LIBNAME = guardedalloc
|
||||
SOURCEDIR = intern/$(LIBNAME)/test
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = simpletest
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
include nan_compile.mk
|
||||
include nan_link.mk
|
||||
|
||||
TESTLIBS = $(OCGDIR)/intern/$(LIBNAME)/$(DEBUG_DIR)lib$(LIBNAME).a
|
||||
|
||||
all debug::
|
||||
@echo "****> linking $@ in $(SOURCEDIR)"
|
||||
$(CC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)memtest $(DIR)/memtest.o $(TESTLIBS)
|
||||
|
||||
clean::
|
||||
$(RM) $(DIR)/memtest $(DIR)/debug/memtest
|
||||
|
||||
test:: $(DIR)/memtest
|
||||
$(DIR)/memtest $(NAN_TEST_VERBOSITY)
|
||||
|
@@ -1,41 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# Test the guarded memory module
|
||||
#
|
||||
|
||||
LIBNAME = guardedalloc
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)/test
|
||||
|
||||
# we don't want a library here, only object files:
|
||||
ALLTARGETS = $(OBJS)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
# this module's header
|
||||
CPPFLAGS = -I../..
|
||||
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = iksolver
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_IKSOLVER) ] || mkdir $(NAN_IKSOLVER)
|
||||
@[ -d $(NAN_IKSOLVER)/include ] || mkdir $(NAN_IKSOLVER)/include
|
||||
@[ -d $(NAN_IKSOLVER)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_IKSOLVER)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libiksolver.a $(NAN_IKSOLVER)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_IKSOLVER)/lib/$(DEBUG_DIR)libiksolver.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_IKSOLVER)/include/
|
||||
|
@@ -1,42 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = iksolver
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
CCSRCS = IK_QJacobianSolver.cpp IK_QSegment.cpp IK_Solver.cpp IK_QJacobian.cpp
|
||||
CCSRCS += IK_QTask.cpp
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
|
@@ -1,68 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver test makefile.
|
||||
#
|
||||
|
||||
LIBNAME = iksolver
|
||||
SOURCEDIR = intern/$(LIBNAME)/test
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
DIRS = ik_glut_test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
include nan_link.mk
|
||||
|
||||
LIBS = $(OCGDIR)/intern/$(LIBNAME)/test/ik_glut_test/intern/$(DEBUG_DIR)libintern.a
|
||||
LIBS += $(OCGDIR)/intern/$(LIBNAME)/test/ik_glut_test/common/$(DEBUG_DIR)libcommon.a
|
||||
LIBS += $(OCGDIR)/intern/$(LIBNAME)/$(DEBUG_DIR)libiksolver.a
|
||||
|
||||
SLIBS += $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "darwin linux freebsd openbsd"))
|
||||
LLIBS = -L/usr/X11R6/lib -lglut -pthread
|
||||
endif
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "solaris"))
|
||||
LLIBS = -L/usr/openwin/lib -lglut -lX11 -lGL -lGLU -lXmu
|
||||
endif
|
||||
|
||||
all debug:: $(LIBS) $(DIR)/$(DEBUG_DIR)iksolvertest
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)iksolvertest:
|
||||
@echo "****> linking $@ in $(DIR)"
|
||||
$(CCC) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)iksolvertest $(LIBS) $(SLIBS) $(LLIBS) $(DADD)
|
||||
|
||||
clean::
|
||||
$(RM) $(DIR)/iksolvertest $(DIR)/debug/iksolvertest
|
||||
|
||||
test:: all
|
||||
$(DIR)/iksolvertest
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver subdir bouncer. Pure waste.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = ik_glut_test
|
||||
SOURCEDIR = intern/iksolver/test/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = common intern
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
@@ -1,41 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver test intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = common
|
||||
SOURCEDIR = intern/iksolver/test/ik_glut_test/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
|
@@ -1,48 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver test intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = intern
|
||||
SOURCEDIR = intern/iksolver/test/ik_glut_test/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I../../../extern
|
||||
CPPFLAGS += -I../common
|
||||
CPPFLAGS += -I$(NAN_MOTO)/include
|
||||
CPPFLAGS += -I$(NAN_MEMUTIL)/include
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
CPPFLAGS += -I$(NAN_LIBDIR)/windows/glut-3.7/include
|
||||
endif
|
||||
|
@@ -1,53 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = itasc
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = kdl
|
||||
include nan_subdirs.mk
|
||||
include nan_compile.mk
|
||||
|
||||
CPPFLAGS += -I.
|
||||
CPPFLAGS += -I../../extern/Eigen2
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_ITASC) ] || mkdir $(NAN_ITASC)
|
||||
@[ -d $(NAN_ITASC)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_ITASC)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libitasc.a $(DIR)/$(DEBUG_DIR)libitasc_kdl.a $(DIR)/$(DEBUG_DIR)libitasc_kdl_util.a $(NAN_ITASC)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_ITASC)/lib/$(DEBUG_DIR)libitasc.a
|
||||
ranlib $(NAN_ITASC)/lib/$(DEBUG_DIR)libitasc_kdl.a
|
||||
ranlib $(NAN_ITASC)/lib/$(DEBUG_DIR)libitasc_kdl_util.a
|
||||
endif
|
||||
##############################
|
||||
include nan_subdirs.mk
|
@@ -1,43 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = itasc_kdl
|
||||
# Yep, same dir than parent (itasc instead of $(LIBNAME))
|
||||
DIR = $(OCGDIR)/intern/itasc
|
||||
DIRS = utilities
|
||||
SOURCEDIR = intern/$(LIBNAME)/kdl
|
||||
|
||||
include nan_subdirs.mk
|
||||
include nan_compile.mk
|
||||
|
||||
CPPFLAGS += -I.
|
||||
CPPFLAGS += -I../../../extern/Eigen2
|
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# iksolver main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = itasc_kdl_util
|
||||
# Same dir than parent (itasc instead of $(LIBNAME))
|
||||
DIR = $(OCGDIR)/intern/itasc
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CPPFLAGS += -I.
|
||||
CPPFLAGS += -I../../../../extern/Eigen2
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# memutil main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = memutil
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
#not yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_MEMUTIL) ] || mkdir $(NAN_MEMUTIL)
|
||||
@[ -d $(NAN_MEMUTIL)/include ] || mkdir $(NAN_MEMUTIL)/include
|
||||
@[ -d $(NAN_MEMUTIL)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_MEMUTIL)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libmemutil.a $(NAN_MEMUTIL)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_MEMUTIL)/lib/$(DEBUG_DIR)libmemutil.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh *.h $(NAN_MEMUTIL)/include/
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# memutil intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = memutil
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I.. -I../..
|
||||
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# moto main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = moto
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
#not ready yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_MOTO) ] || mkdir $(NAN_MOTO)
|
||||
@[ -d $(NAN_MOTO)/include ] || mkdir $(NAN_MOTO)/include
|
||||
@[ -d $(NAN_MOTO)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_MOTO)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libmoto.a $(NAN_MOTO)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh include/*.h $(NAN_MOTO)/include/
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# moto intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = moto
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../include
|
||||
|
@@ -1,60 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# opennl main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = opennl
|
||||
LIBNAME_SLU = superlu
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
SOURCEDIR_SLU = intern/$(LIBNAME_SLU)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIR_SLU = $(OCGDIR)/$(SOURCEDIR_SLU)
|
||||
DIRS = intern superlu
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_OPENNL) ] || mkdir $(NAN_OPENNL)
|
||||
@[ -d $(NAN_OPENNL)/include ] || mkdir $(NAN_OPENNL)/include
|
||||
@[ -d $(NAN_OPENNL)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_OPENNL)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libopennl.a $(NAN_OPENNL)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_OPENNL)/lib/$(DEBUG_DIR)libopennl.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_OPENNL)/include/
|
||||
@[ -d $(NAN_SUPERLU) ] || mkdir $(NAN_SUPERLU)
|
||||
@[ -d $(NAN_SUPERLU)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_SUPERLU)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR_SLU)/$(DEBUG_DIR)libsuperlu.a $(NAN_SUPERLU)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_SUPERLU)/lib/$(DEBUG_DIR)libsuperlu.a
|
||||
endif
|
||||
|
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# opennl intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = opennl
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(NAN_LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../superlu -I../extern
|
||||
|
||||
|
@@ -1,37 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# opennl intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = superlu
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(NAN_LEVEL_2_CPP_WARNINGS)
|
||||
|
@@ -1,54 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# smoke main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
unexport NAN_QUIET
|
||||
|
||||
LIBNAME = smoke
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
#not ready yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_SMOKE) ] || mkdir $(NAN_SMOKE)
|
||||
@[ -d $(NAN_SMOKE)/include ] || mkdir $(NAN_SMOKE)/include
|
||||
@[ -d $(NAN_SMOKE)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_SMOKE)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)lib$(LIBNAME).a $(NAN_SMOKE)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_SMOKE)/lib/$(DEBUG_DIR)lib$(LIBNAME).a
|
||||
endif
|
||||
@../tools/cpifdiff.sh extern/*.h $(NAN_SMOKE)/include/
|
||||
|
@@ -1,57 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# smoke intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = smoke
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
unexport NAN_QUIET
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
ifeq ($(WITH_BF_OPENMP),true)
|
||||
CPPFLAGS += -DPARALLEL
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFTW3),true)
|
||||
CPPFLAGS += -DFFTW3=1
|
||||
CPPFLAGS += $(BF_FFTW3_INC)
|
||||
endif
|
||||
|
||||
CPPFLAGS += -I.
|
||||
CPPFLAGS += -I../extern
|
||||
CPPFLAGS += -I$(NAN_PNG)/include
|
||||
CPPFLAGS += -I$(NAN_PNG)/include/libpng
|
||||
|
||||
# zlib
|
||||
ifeq ($(OS),$(findstring $(OS), "solaris windows"))
|
||||
CPPFLAGS += -I$(NAN_ZLIB)/include
|
||||
endif
|
@@ -1,52 +0,0 @@
|
||||
# -*- 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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): Hans Lambermont, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# string main makefile.
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
LIBNAME = string
|
||||
SOURCEDIR = intern/$(LIBNAME)
|
||||
DIR = $(OCGDIR)/$(SOURCEDIR)
|
||||
DIRS = intern
|
||||
# not yet TESTDIRS = test
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
install: $(ALL_OR_DEBUG)
|
||||
@[ -d $(NAN_STRING) ] || mkdir $(NAN_STRING)
|
||||
@[ -d $(NAN_STRING)/include ] || mkdir $(NAN_STRING)/include
|
||||
@[ -d $(NAN_STRING)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_STRING)/lib/$(DEBUG_DIR)
|
||||
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libstring.a $(NAN_STRING)/lib/$(DEBUG_DIR)
|
||||
ifeq ($(OS),darwin)
|
||||
ranlib $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a
|
||||
endif
|
||||
@../tools/cpifdiff.sh *.h $(NAN_STRING)/include/
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# $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) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
# string intern Makefile
|
||||
#
|
||||
|
||||
LIBNAME = string
|
||||
DIR = $(OCGDIR)/intern/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I..
|
||||
|
63
po/Makefile
63
po/Makefile
@@ -1,63 +0,0 @@
|
||||
# -*- 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) 2002 by Stichting Blender Foundation,
|
||||
# Amsterdam, the Netherlands.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: revision 1.3
|
||||
#
|
||||
# Contributor(s): Wouter van Heyst, GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# po Makefile for blender. Compiles the translations in the place
|
||||
# where release can pick them up.
|
||||
|
||||
PO_FILES = $(wildcard *.po)
|
||||
|
||||
LINGUAS = $(basename $(PO_FILES))
|
||||
|
||||
SOURCEDIR = blender/po
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
ifeq ($(OS), darwin)
|
||||
DIR = $(OCGDIR)/bin/blender.app/Contents/Resources/locale/
|
||||
else
|
||||
DIR = $(OCGDIR)/bin/.blender/locale/
|
||||
endif
|
||||
|
||||
LINGUAS_DEST= $(foreach LINGUA, $(LINGUAS),$(DIR)$(LINGUA)/LC_MESSAGES/blender.mo)
|
||||
|
||||
$(DIR)%/LC_MESSAGES/blender.mo: %.po
|
||||
mkdir -p $(@D)
|
||||
msgfmt -o $@ $<
|
||||
ifeq ($(BF_VERIFY_MO_FILES), true)
|
||||
@cmp $@ $(NANBLENDERHOME)/release/bin/.blender/locale/$(basename $<)/LC_MESSAGES/blender.mo \
|
||||
|| ( echo Mismatch between generated and commited $(basename $<).mo catalog && \
|
||||
rm -f $@ && false )
|
||||
endif
|
||||
|
||||
all debug:: $(LINGUAS_DEST)
|
||||
# Just trigger the deps
|
||||
|
||||
clean::
|
||||
rm -rf $(DIR)
|
209
release/Makefile
209
release/Makefile
@@ -1,209 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
export VERSION := $(shell ./getversion.py)
|
||||
|
||||
BLENDNAME=blender-$(VERSION)-$(CONFIG_GUESS)-py$(NAN_PYTHON_VERSION)$(TYPE)
|
||||
export DISTDIR=$(NAN_OBJDIR)/$(BLENDNAME)
|
||||
export CONFDIR=$(DISTDIR)/.blender
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd irix linux openbsd solaris"))
|
||||
TAR="tar"
|
||||
TARFLAGS="cf"
|
||||
EXT0=""
|
||||
EXT1=".tar"
|
||||
COMPRESS="bzip2"
|
||||
COMPRESSFLAGS="-f"
|
||||
EXT2=".bz2"
|
||||
ifeq ($(OS), solaris)
|
||||
ifeq ($(CPU), i386)
|
||||
NOPLUGINS?=true
|
||||
endif
|
||||
endif
|
||||
# don"t build plugins on irix if using gcc
|
||||
ifeq ($(OS), irix)
|
||||
ifeq ($(IRIX_USE_GCC), true)
|
||||
NOPLUGINS?=true
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
TAR="zip"
|
||||
TARFLAGS="-r9"
|
||||
EXT0=".exe"
|
||||
EXT1=".zip"
|
||||
NOPLUGINS?=true
|
||||
NOSTRIP?=true
|
||||
endif
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
TAR="tar"
|
||||
TARFLAGS="cf"
|
||||
EXT0=".app"
|
||||
EXT1=".tar"
|
||||
COMPRESS="bzip2"
|
||||
COMPRESSFLAGS="-f"
|
||||
EXT2=".bz2"
|
||||
endif
|
||||
|
||||
release: all
|
||||
|
||||
all:
|
||||
@$(MAKE) pkg TYPE=""
|
||||
ifeq ($(WITH_BF_STATICOPENGL), true)
|
||||
@$(MAKE) pkg TYPE="-static"
|
||||
endif
|
||||
|
||||
# OS independent targets below:
|
||||
|
||||
dist: all
|
||||
|
||||
package: version makedirs
|
||||
|
||||
install: package
|
||||
@#echo "****> Install text"
|
||||
@cp text/readme.html $(DISTDIR)
|
||||
@cp text/*.txt $(DISTDIR)
|
||||
ifeq ($(FREEDESKTOP), true)
|
||||
@#echo "****> Install freedesktop icons"
|
||||
@mkdir $(DISTDIR)/icons
|
||||
@mkdir $(DISTDIR)/icons/16x16
|
||||
@cp freedesktop/icons/16x16/blender.png $(DISTDIR)/icons/16x16
|
||||
@mkdir $(DISTDIR)/icons/22x22
|
||||
@cp freedesktop/icons/22x22/blender.png $(DISTDIR)/icons/22x22
|
||||
@mkdir $(DISTDIR)/icons/32x32
|
||||
@cp freedesktop/icons/32x32/blender.png $(DISTDIR)/icons/32x32
|
||||
@mkdir $(DISTDIR)/icons/scalable
|
||||
@cp freedesktop/icons/scalable/blender.svg $(DISTDIR)/icons/scalable
|
||||
endif
|
||||
@echo "----> Make Config dir .blender"
|
||||
@mkdir -p $(CONFDIR)
|
||||
@# possible overruling .txt text documents
|
||||
@[ ! -d $(CONFIG_GUESS)/text ] || \
|
||||
cp -f $(CONFIG_GUESS)/text/*.txt $(DISTDIR)
|
||||
#on OS X the contents of the .blender dir is already inside the bundle
|
||||
ifneq ($(OS), darwin)
|
||||
@[ ! -d $(OCGDIR)/bin/.blender ] || \
|
||||
cp -r $(OCGDIR)/bin/.blender $(DISTDIR)
|
||||
@cp $(NANBLENDERHOME)/release/bin/.blender/.Blanguages $(CONFDIR)
|
||||
@cp $(NANBLENDERHOME)/release/bin/.blender/.bfont.ttf $(CONFDIR)
|
||||
endif
|
||||
@echo "----> Copy blender$(EXT0) executable"
|
||||
ifeq ($(TYPE),-static)
|
||||
@cp $(OCGDIR)/bin/blenderstatic$(EXT0) $(DISTDIR)/blender$(EXT0)
|
||||
else
|
||||
ifeq ($(OS),darwin)
|
||||
@cp -r $(OCGDIR)/bin/blender$(EXT0) $(DISTDIR)/Blender$(EXT0)
|
||||
else
|
||||
@cp $(OCGDIR)/bin/blender$(EXT0) $(DISTDIR)/blender$(EXT0)
|
||||
endif
|
||||
@if [ -f $(OCGDIR)/bin/blenderplayer$(EXTO) ]; then \
|
||||
cp $(OCGDIR)/bin/blenderplayer$(EXTO) \
|
||||
$(DISTDIR)/blenderplayer$(EXTO) ; \
|
||||
fi
|
||||
endif
|
||||
|
||||
ifneq ($(NOPLUGINS),true)
|
||||
@echo "----> Copy and compile plugins"
|
||||
@cp -r plugins $(DISTDIR)/plugins
|
||||
@mkdir -p $(DISTDIR)/plugins/include
|
||||
@cp ../source/blender/blenpluginapi/*.h $(DISTDIR)/plugins/include/
|
||||
@chmod 755 $(DISTDIR)/plugins/bmake
|
||||
@$(MAKE) -C $(DISTDIR)/plugins all > /dev/null || exit 1;
|
||||
@rm -f $(DISTDIR)/plugins/*/*.o
|
||||
|
||||
#on OS X the plugins move to the installation directory
|
||||
ifneq ($(OS),darwin)
|
||||
@mkdir -p $(CONFDIR)/plugins/sequence
|
||||
@mkdir -p $(CONFDIR)/plugins/texture
|
||||
@mv $(DISTDIR)/plugins/sequence/*.so $(CONFDIR)/plugins/sequence
|
||||
@mv $(DISTDIR)/plugins/texture/*.so $(CONFDIR)/plugins/texture
|
||||
endif
|
||||
endif
|
||||
|
||||
@echo "----> Copy python infrastructure"
|
||||
@[ ! -d scripts ] || cp -r scripts $(CONFDIR)/scripts
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
@echo "----> Copy python modules"
|
||||
@mkdir $(CONFDIR)/python/
|
||||
@unzip -q $(LCGDIR)/release/python_ppc.zip -d $(CONFDIR)/python/
|
||||
endif
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
@echo "----> Move .blender to .app/Contents/MacOS/"
|
||||
@rm -fr $(DISTDIR)/blender$(EXT0)/Contents/MacOS/.blender
|
||||
@mv $(DISTDIR)/.blender $(DISTDIR)/blender$(EXT0)/Contents/MacOS/
|
||||
endif
|
||||
|
||||
ifneq ($(NOSTRIP),true)
|
||||
@echo "----> Strip blender executable"
|
||||
ifeq ($(OS),darwin)
|
||||
@strip -x $(DISTDIR)/blender$(EXT0)/Contents/MacOS/blender
|
||||
else
|
||||
@strip -x $(DISTDIR)/blender$(EXT0)
|
||||
@if [ -f $(DISTDIR)/blenderplayer$(EXTO) ]; then \
|
||||
strip -x $(DISTDIR)/blenderplayer$(EXT0) ; \
|
||||
fi
|
||||
endif
|
||||
endif
|
||||
@[ ! -x $(CONFIG_GUESS)/specific.sh ] || (\
|
||||
echo "**--> Execute specific.sh in $(CONFIG_GUESS)/" && \
|
||||
cd $(CONFIG_GUESS) && ./specific.sh )
|
||||
@echo "----> Cleaning .svn metadata directories"
|
||||
@find $(DISTDIR) -type d -name ".svn" | xargs rm -fr
|
||||
|
||||
pkg: install
|
||||
@echo "----> Create distribution file $(BLENDNAME)$(EXT1)"
|
||||
@#enable the next sleep if you get 'tar file changed while reading'
|
||||
@#sleep 10
|
||||
rm -f $(NAN_OBJDIR)/$(VERSION)/$(BLENDNAME)$(EXT1)*
|
||||
@cd $(NAN_OBJDIR) && $(TAR) $(TARFLAGS) $(VERSION)/$(BLENDNAME)$(EXT1) $(BLENDNAME)
|
||||
ifdef COMPRESS
|
||||
@echo "----> Compressing distribution to $(BLENDNAME)$(EXT1)$(EXT2)"
|
||||
@$(COMPRESS) $(COMPRESSFLAGS) $(NAN_OBJDIR)/$(VERSION)/$(BLENDNAME)$(EXT1)
|
||||
endif
|
||||
@#echo "****> Clean up temporary distribution directory"
|
||||
@#rm -fr $(DISTDIR)
|
||||
@echo "****> $(NAN_OBJDIR)/$(VERSION)/$(BLENDNAME)$(EXT1)$(EXT2) is ready"
|
||||
|
||||
version: FORCE
|
||||
@echo "*---> Create $(BLENDNAME) package"
|
||||
|
||||
makedirs: FORCE
|
||||
@echo "****> Create package directory $(VERSION) if necessary"
|
||||
@[ -d $(NAN_OBJDIR)/$(VERSION) ] || mkdir $(NAN_OBJDIR)/$(VERSION)
|
||||
@echo "****> Remove and recreate temporary distribution directory"
|
||||
@rm -fr $(DISTDIR)
|
||||
@mkdir $(DISTDIR)
|
||||
|
||||
FORCE:
|
@@ -1,64 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- mode: python; tab-width: 4; indent-tabs-mode: t; -*-
|
||||
# vim: tabstop=4
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2008 by the Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: see repository.
|
||||
#
|
||||
# Contributor(s): see repository.
|
||||
|
||||
# <pep8-80 compliant>
|
||||
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
|
||||
nanblenderhome = os.getenv("NANBLENDERHOME")
|
||||
|
||||
if nanblenderhome is None:
|
||||
nanblenderhome = os.path.dirname(os.path.abspath(sys.argv[0])) + "/.."
|
||||
|
||||
config = nanblenderhome + "/source/blender/blenkernel/BKE_blender.h"
|
||||
|
||||
infile = open(config)
|
||||
|
||||
major = None
|
||||
minor = None
|
||||
|
||||
for line in infile.readlines():
|
||||
m = re.search("#define BLENDER_VERSION\s+(\d+)", line)
|
||||
if m:
|
||||
major = m.group(1)
|
||||
m = re.search("#define BLENDER_SUBVERSION\s+(\d+)", line)
|
||||
if m:
|
||||
minor = m.group(1)
|
||||
if minor and major:
|
||||
major = float(major) / 100.0
|
||||
break
|
||||
|
||||
infile.close()
|
||||
|
||||
# Major was changed to float, but minor is still a string
|
||||
# Note: removed returning minor, messes up install path code in BLI module
|
||||
if major:
|
||||
print "%.2f" % major
|
||||
else:
|
||||
print "unknownversion"
|
633
source/Makefile
633
source/Makefile
@@ -1,633 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): GSR
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Top level makefile. Start looping through subdirs and link....
|
||||
#
|
||||
|
||||
ifndef NANENV
|
||||
export NANENV := $(shell env | grep NAN_)
|
||||
endif
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
DIRS = creator blender kernel
|
||||
|
||||
ifneq ($(NAN_NO_KETSJI),true)
|
||||
DIRS += gameengine
|
||||
endif
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
DIRS += icons
|
||||
endif
|
||||
|
||||
########## buildinfo kludge ###################
|
||||
CPPFLAGS += -I../Physics/common
|
||||
CPPFLAGS += -I../Physics/Dummy
|
||||
ifdef NAN_BUILDINFO
|
||||
BUILDINFO_O = $(DIR)/$(DEBUG_DIR)buildinfo.o
|
||||
BUILDINFO_C = $(SRCHOME)/creator/buildinfo.c
|
||||
BUILDINFO_INC = -I$(SRCHOME)/blender/blenkernel
|
||||
BUILD_DATE := $(shell date "+%Y-%m-%d")
|
||||
BUILD_TIME := $(shell date "+%H:%M:%S")
|
||||
BUILD_REV := $(shell svnversion)
|
||||
endif
|
||||
|
||||
############# set pyplayerlib ##################
|
||||
|
||||
|
||||
############# libraries ##################
|
||||
# COMLIB COMmon LIBraries for all targets
|
||||
# BPLIB Browser Plugin LIBraries
|
||||
# SPLIB1 Standalone Player LIBraries (pre COMLIB)
|
||||
# SPLIB Standalone Player LIBraries (post COMLIB)
|
||||
# PULIB PUblisher LIBraries
|
||||
# GRPLIB Gui and Render LIBraries for Publisher
|
||||
# LLIBS dynamic system libraries
|
||||
# SADD Static OpenGL libraries
|
||||
# DADD Dynamic OpenGL libraries
|
||||
# NSPLUGLIB PLUGin LIBraries for ns-style api
|
||||
# PLUGAPPLIB libs that form the application to be plugged in
|
||||
# Note: the order is important here
|
||||
|
||||
|
||||
GRPLIB = $(OCGDIR)/creator/$(DEBUG_DIR)libcreator.a
|
||||
GRPLIB += $(OCGDIR)/blender/windowmanager/$(DEBUG_DIR)libwindowmanager.a
|
||||
GRPLIB += $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a
|
||||
GRPLIB += $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a
|
||||
GRPLIB += $(OCGDIR)/blender/render/$(DEBUG_DIR)librender.a
|
||||
GRPLIB += $(OCGDIR)/blender/render/$(DEBUG_DIR)librender_raytrace.a
|
||||
|
||||
# nlin: the reason that some libraries appear more than once below is
|
||||
# to handle circular dependencies in linking among libraries... some
|
||||
# linkers (e.g. under Linux) need libs to be specified multiple times
|
||||
# to properly resolve circular dependencies. ugly, but it works...
|
||||
# the repeat entries could probably be trimmed down.
|
||||
COMLIB = $(OCGDIR)/blender/blenkernel/$(DEBUG_DIR)libblenkernel.a
|
||||
COMLIB += $(OCGDIR)/blender/blenloader/$(DEBUG_DIR)libblenloader.a
|
||||
COMLIB += $(OCGDIR)/blender/blenpluginapi/$(DEBUG_DIR)libblenpluginapi.a
|
||||
COMLIB += $(OCGDIR)/blender/nodes_shd/$(DEBUG_DIR)libnodes_shd.a
|
||||
COMLIB += $(OCGDIR)/blender/nodes_cmp/$(DEBUG_DIR)libnodes_cmp.a
|
||||
COMLIB += $(OCGDIR)/blender/nodes_tex/$(DEBUG_DIR)libnodes_tex.a
|
||||
COMLIB += $(OCGDIR)/blender/nodes/$(DEBUG_DIR)libnodes.a
|
||||
COMLIB += $(OCGDIR)/blender/imbuf/$(DEBUG_DIR)libimbuf.a
|
||||
COMLIB += $(OCGDIR)/blender/ikplugin/$(DEBUG_DIR)libikplugin.a
|
||||
COMLIB += $(OCGDIR)/blender/modifiers/$(DEBUG_DIR)libmodifiers.a
|
||||
COMLIB += $(NAN_IKSOLVER)/lib/$(DEBUG_DIR)libiksolver.a
|
||||
COMLIB += $(NAN_ITASC)/lib/$(DEBUG_DIR)libitasc.a
|
||||
COMLIB += $(NAN_ITASC)/lib/$(DEBUG_DIR)libitasc_kdl.a
|
||||
COMLIB += $(NAN_ITASC)/lib/$(DEBUG_DIR)libitasc_kdl_util.a
|
||||
COMLIB += $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
COMLIB += $(NAN_SUPERLU)/lib/$(DEBUG_DIR)libsuperlu.a
|
||||
COMLIB += $(OCGDIR)/blender/avi/$(DEBUG_DIR)libavi.a
|
||||
COMLIB += $(NAN_JPEG)/lib/libjpeg.a
|
||||
COMLIB += $(OCGDIR)/blender/gpu/$(DEBUG_DIR)libgpu.a
|
||||
COMLIB += $(NAN_GLEW)/lib/$(DEBUG_DIR)libglew.a
|
||||
COMLIB += $(OCGDIR)/blender/blenfont/$(DEBUG_DIR)libblenfont.a
|
||||
COMLIB += $(OCGDIR)/blender/python/$(DEBUG_DIR)libpython.a
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaudaspace.a
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_python.a
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaudaspace.a
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_src.a
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fx.a
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_sdl.a
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_ffmpeg.a
|
||||
endif
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_openal.a
|
||||
endif
|
||||
ifeq ($(WITH_JACK),true)
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_jack.a
|
||||
endif
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_sndfile.a
|
||||
endif
|
||||
# Not in use currently, see also intern/audaspace/Makefile and r31375
|
||||
#ifeq ($(WITH_FFTW3),true)
|
||||
# COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fftw.a
|
||||
#endif
|
||||
COMLIB += $(NAN_SAMPLERATE)/lib/$(DEBUG_DIR)libsamplerate.a
|
||||
COMLIB += $(NAN_LZO)/lib/$(DEBUG_DIR)libminilzo.a
|
||||
COMLIB += $(NAN_LZMA)/lib/$(DEBUG_DIR)liblzma.a
|
||||
COMLIB += $(NAN_BSP)/lib/$(DEBUG_DIR)libbsp.a
|
||||
COMLIB += $(NAN_BOOLOP)/lib/$(DEBUG_DIR)libboolop.a
|
||||
COMLIB += $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
COMLIB += $(NAN_DECIMATION)/lib/$(DEBUG_DIR)libdecimation.a
|
||||
COMLIB += $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a
|
||||
|
||||
|
||||
ifneq ($(NAN_NO_KETSJI),true)
|
||||
COMLIB += $(OCGDIR)/gameengine/bloutines/$(DEBUG_DIR)libbloutines.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blconverter/$(DEBUG_DIR)libblconverter.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
|
||||
COMLIB += $(OCGDIR)/gameengine/ketsji/$(DEBUG_DIR)libketsji.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blconverter/$(DEBUG_DIR)libblconverter.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blconverter/$(DEBUG_DIR)libblconverter.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a
|
||||
COMLIB += $(OCGDIR)/gameengine/ketsji/$(DEBUG_DIR)libketsji.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/blbullet/$(DEBUG_DIR)libblbullet.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
|
||||
COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a
|
||||
COMLIB += $(OCGDIR)/gameengine/ketsji/$(DEBUG_DIR)libketsji.a
|
||||
COMLIB += $(OCGDIR)/gameengine/logic/$(DEBUG_DIR)liblogic.a
|
||||
COMLIB += $(OCGDIR)/gameengine/logic/Joystick/$(DEBUG_DIR)libJoystick.a
|
||||
COMLIB += $(OCGDIR)/gameengine/rasterizer/$(DEBUG_DIR)librasterizer.a
|
||||
COMLIB += $(OCGDIR)/gameengine/OpenGLrasterizer/$(DEBUG_DIR)libOpenGLrasterizer.a
|
||||
COMLIB += $(OCGDIR)/gameengine/expression/$(DEBUG_DIR)libexpression.a
|
||||
COMLIB += $(OCGDIR)/gameengine/scenegraph/$(DEBUG_DIR)libscenegraph.a
|
||||
COMLIB += $(OCGDIR)/gameengine/videotex/$(DEBUG_DIR)libvideotex.a
|
||||
COMLIB += $(NAN_MOTO)/lib/libmoto.a
|
||||
COMLIB += $(NAN_SND_LIBS)
|
||||
COMLIB += $(OCGDIR)/kernel/gen_system/$(DEBUG_DIR)libgen_system.a
|
||||
COMLIB += $(OCGDIR)/kernel/gen_messaging/$(DEBUG_DIR)libgen_messaging.a
|
||||
COMLIB += $(OCGDIR)/gameengine/ketsji/KXNetwork/$(DEBUG_DIR)libKXNetwork.a
|
||||
COMLIB += $(OCGDIR)/gameengine/Network/$(DEBUG_DIR)libNetwork.a
|
||||
COMLIB += $(OCGDIR)/gameengine/Network/LoopBackNetwork/$(DEBUG_DIR)libLoopBackNetwork.a
|
||||
COMLIB += $(NAN_BULLET2)/lib/libbullet2.a
|
||||
endif
|
||||
|
||||
# Cloth requires bullet2, gameegine does not matter anymore
|
||||
#COMLIB += $(NAN_BULLET2)/lib/libbullet2.a
|
||||
|
||||
COMLIB += $(OCGDIR)/blender/makesdna/$(DEBUG_DIR)libdna.a
|
||||
COMLIB += $(NAN_GUARDEDALLOC)/lib/libguardedalloc.a
|
||||
COMLIB += $(NAN_MEMUTIL)/lib/libmemutil.a
|
||||
COMLIB += $(NAN_PNG)/lib/libpng.a
|
||||
COMLIB += $(OCGDIR)/blender/python/$(DEBUG_DIR)libpython.a # This was a PULIB up to circa r25248
|
||||
COMLIB += $(OCGDIR)/blender/gen_python/$(DEBUG_DIR)libgen_python.a
|
||||
COMLIB += $(OCGDIR)/blender/blenlib/$(DEBUG_DIR)libblenlib.a
|
||||
|
||||
|
||||
ifeq ($(WITH_QUICKTIME), true)
|
||||
COMLIB += $(OCGDIR)/blender/blenderqt/$(DEBUG_DIR)libblenderqt.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENEXR), true)
|
||||
COMLIB += $(OCGDIR)/blender/imbuf/openexr/$(DEBUG_DIR)libopenexr.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENJPEG), true)
|
||||
ifndef BF_OPENJPEG_LIBS
|
||||
COMLIB += $(OCGDIR)/extern/openjpeg/$(DEBUG_DIR)libopenjpeg.a
|
||||
else
|
||||
COMLIB += $(BF_OPENJPEG_LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_CINEON), true)
|
||||
COMLIB += $(OCGDIR)/blender/imbuf/cineon/$(DEBUG_DIR)libcineon.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_DDS), true)
|
||||
COMLIB += $(OCGDIR)/blender/imbuf/dds/$(DEBUG_DIR)libdds.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BINRELOC), true)
|
||||
COMLIB += $(OCGDIR)/extern/binreloc/$(DEBUG_DIR)libbinreloc.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENCOLLADA), true)
|
||||
COMLIB += $(OCGDIR)/blender/bf_collada/$(DEBUG_DIR)/libbf_collada.a
|
||||
COMLIB += $(BF_PCRE_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(OS), windows)
|
||||
ifeq ($(FREE_WINDOWS), true)
|
||||
COMLIB += $(NAN_FREETYPE)/lib/libfreetype.a
|
||||
else
|
||||
COMLIB += $(NAN_FREETYPE)/lib/freetype2ST.lib
|
||||
endif
|
||||
else
|
||||
ifeq ($(OS), irix)
|
||||
COMLIB += $(NAN_FREETYPE)/lib/libfreetype.a
|
||||
else
|
||||
COMLIB += $(NAN_FREETYPE)/lib/libfreetype.a
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS), irix)
|
||||
COMLIB += $(NAN_SDL)/lib/libSDL.a
|
||||
endif
|
||||
|
||||
ifeq ($(OS), windows)
|
||||
ifeq ($(FREE_WINDOWS), true)
|
||||
COMLIB += $(NAN_SDL)/lib/libSDL.a
|
||||
COMLIB += $(NAN_PTHREADS)/lib/libpthreadGC2.a
|
||||
else
|
||||
COMLIB += $(NAN_SDL)/lib/SDL.lib
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENEXR), true)
|
||||
COMLIB += $(NAN_OPENEXR_LIBS)
|
||||
endif
|
||||
|
||||
# note: space_api.a in begin of editors, screen.a in end
|
||||
PULIB = $(NAN_MOTO)/lib/libmoto.a
|
||||
PULIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a
|
||||
PULIB += $(OCGDIR)/blender/ed_space/$(DEBUG_DIR)libed_space.a
|
||||
PULIB += $(OCGDIR)/blender/ed_sound/$(DEBUG_DIR)libed_sound.a
|
||||
PULIB += $(OCGDIR)/blender/ed_action/$(DEBUG_DIR)libed_action.a
|
||||
PULIB += $(OCGDIR)/blender/ed_nla/$(DEBUG_DIR)libed_nla.a
|
||||
PULIB += $(OCGDIR)/blender/ed_script/$(DEBUG_DIR)libed_script.a
|
||||
PULIB += $(OCGDIR)/blender/ed_text/$(DEBUG_DIR)libed_text.a
|
||||
PULIB += $(OCGDIR)/blender/ed_logic/$(DEBUG_DIR)libed_logic.a
|
||||
PULIB += $(OCGDIR)/blender/ed_sequencer/$(DEBUG_DIR)libed_sequencer.a
|
||||
PULIB += $(OCGDIR)/blender/ed_file/$(DEBUG_DIR)libed_file.a
|
||||
PULIB += $(OCGDIR)/blender/ed_console/$(DEBUG_DIR)libed_console.a
|
||||
PULIB += $(OCGDIR)/blender/ed_info/$(DEBUG_DIR)libed_info.a
|
||||
PULIB += $(OCGDIR)/blender/ed_buttons/$(DEBUG_DIR)libed_buttons.a
|
||||
PULIB += $(OCGDIR)/blender/ed_graph/$(DEBUG_DIR)libed_graph.a
|
||||
PULIB += $(OCGDIR)/blender/ed_node/$(DEBUG_DIR)libed_node.a
|
||||
PULIB += $(OCGDIR)/blender/ed_outliner/$(DEBUG_DIR)libed_outliner.a
|
||||
PULIB += $(OCGDIR)/blender/ed_time/$(DEBUG_DIR)libed_time.a
|
||||
PULIB += $(OCGDIR)/blender/ed_render/$(DEBUG_DIR)libed_render.a
|
||||
PULIB += $(OCGDIR)/blender/ed_view3d/$(DEBUG_DIR)libed_view3d.a
|
||||
PULIB += $(OCGDIR)/blender/ed_interface/$(DEBUG_DIR)libed_interface.a
|
||||
PULIB += $(OCGDIR)/blender/ed_object/$(DEBUG_DIR)libed_object.a
|
||||
PULIB += $(OCGDIR)/blender/ed_curve/$(DEBUG_DIR)libed_curve.a
|
||||
PULIB += $(OCGDIR)/blender/ed_metaball/$(DEBUG_DIR)libed_metaball.a
|
||||
PULIB += $(OCGDIR)/blender/ed_armature/$(DEBUG_DIR)libed_armature.a
|
||||
PULIB += $(OCGDIR)/blender/ed_mesh/$(DEBUG_DIR)libed_mesh.a
|
||||
PULIB += $(OCGDIR)/blender/ed_sculpt_paint/$(DEBUG_DIR)libed_sculpt_paint.a
|
||||
PULIB += $(OCGDIR)/blender/ed_physics/$(DEBUG_DIR)libed_physics.a
|
||||
PULIB += $(OCGDIR)/blender/ed_animation/$(DEBUG_DIR)libed_animation.a
|
||||
PULIB += $(OCGDIR)/blender/ed_transform/$(DEBUG_DIR)libed_transform.a
|
||||
PULIB += $(OCGDIR)/blender/ed_util/$(DEBUG_DIR)libed_util.a
|
||||
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_userpref/$(DEBUG_DIR)libed_userpref.a
|
||||
PULIB += $(OCGDIR)/blender/ed_gpencil/$(DEBUG_DIR)libed_gpencil.a
|
||||
PULIB += $(OCGDIR)/blender/ed_opsound/$(DEBUG_DIR)libed_opsound.a
|
||||
PULIB += $(OCGDIR)/blender/windowmanager/$(DEBUG_DIR)libwindowmanager.a
|
||||
PULIB += $(OCGDIR)/blender/makesrna/$(DEBUG_DIR)librna.a
|
||||
# note, no idea but it suddenly doesn't compile :(
|
||||
PULIB += $(OCGDIR)/blender/blenlib/$(DEBUG_DIR)libblenlib.a
|
||||
PULIB += $(NAN_OPENNL)/lib/$(DEBUG_DIR)libopennl.a
|
||||
PULIB += $(NAN_ELBEEM)/lib/$(DEBUG_DIR)libelbeem.a
|
||||
PULIB += $(NAN_SMOKE)/lib/$(DEBUG_DIR)libsmoke.a
|
||||
|
||||
ifeq ($(NAN_NO_KETSJI),true)
|
||||
PULIB += $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
PULIB += $(OCGDIR)/kernel/gen_system/$(DEBUG_DIR)libgen_system.a
|
||||
PULIB += $(OCGDIR)/kernel/gen_messaging/$(DEBUG_DIR)libgen_messaging.a
|
||||
COMLIB += $(NAN_SND_LIBS)
|
||||
endif
|
||||
|
||||
SPLIB1 = $(OCGDIR)/gameengine/GamePlayer/ghost/$(DEBUG_DIR)libghost.a
|
||||
SPLIB1 += $(OCGDIR)/gameengine/GamePlayer/common/$(DEBUG_DIR)libcommon.a
|
||||
SPLIB1 += $(OCGDIR)/gameengine/blconverter/$(DEBUG_DIR)libblconverter.a
|
||||
SPLIB1 += $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a
|
||||
SPLIB1 += $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a
|
||||
|
||||
SPLIB = $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a
|
||||
# this is used for the plugin. It uses some things from libz.a,
|
||||
# but somehow it consistently fails to resolve these symbols... or
|
||||
# can I just not check them? nm claims they aren't...
|
||||
SPLIB += $(OCGDIR)/blender/blenkernel/blenkernel_blc/$(DEBUG_DIR)libblenkernel_blc.a
|
||||
SPLIB += $(OCGDIR)/blender/makesrna/$(DEBUG_DIR)librna.a
|
||||
SPLIB += $(OCGDIR)/blender/blenlib/$(DEBUG_DIR)libblenlib.a
|
||||
|
||||
# These three need to be explicitly mentioned on the cl, because
|
||||
# if they are offered as a lib, they are optimized away. (nzc)
|
||||
NSPLUGLIB = $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)UnixShell.o
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)stubs.o
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)winstubs.o
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)Blender3DPlugin_native_implementation.o
|
||||
|
||||
# Here you can configure what sort of test to make for the plugin.
|
||||
# PLUGTESTLIB = $(OCGDIR)/gameengine/GamePlayer/netscape/test/$(DEBUG_DIR)libns_api_test_stub.a
|
||||
# PLUGTESTLIB = $(OCGDIR)/gameengine/GamePlayer/netscape/test/$(DEBUG_DIR)libns_api_test_colorcycle.a
|
||||
# PLUGTESTLIB = $(OCGDIR)/gameengine/GamePlayer/netscape/test/$(DEBUG_DIR)libns_api_test_gears.a
|
||||
PLUGTESTLIB = $(OCGDIR)/gameengine/GamePlayer/netscape/test/$(DEBUG_DIR)libns_api_test_threaded_gears.a
|
||||
|
||||
# XPCOM is done only for Linux for now
|
||||
ifeq ($(OS),$(findstring $(OS), "linux"))
|
||||
ifeq ($(CPU),i386)
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)XPH_xpcom_hooks.o
|
||||
endif
|
||||
endif
|
||||
|
||||
PLUGAPPLIB = $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)libplugin_ketsji_hooks.a
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd linux irix solaris"))
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)PLG_X11_windowing.o
|
||||
PLUGAPPLIB += $(OCGDIR)/gameengine/GamePlayer/common/unix/$(DEBUG_DIR)libunix.a
|
||||
endif
|
||||
ifeq ($(OS),$(findstring $(OS), "windows"))
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)PLG_MSWindows_windowing.o
|
||||
NSPLUGLIB += $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)npB3DPlg.res
|
||||
PLUGAPPLIB += $(OCGDIR)/gameengine/GamePlayer/common/windows/$(DEBUG_DIR)libwindows.a
|
||||
endif
|
||||
|
||||
PLUGAPPLIB += $(OCGDIR)/gameengine/GamePlayer/common/$(DEBUG_DIR)libcommon.a
|
||||
|
||||
ifeq ($(OS),$(findstring $(OS), "linux"))
|
||||
ifeq ($(CPU),i386)
|
||||
PLUGAPPLIB_XPLINK = $(OCGDIR)/gameengine/GamePlayer/netscape/src/$(DEBUG_DIR)_Blender3DPlugin_implementation_.o
|
||||
endif
|
||||
endif
|
||||
|
||||
# A bit silly... but needed to resolve symbols.
|
||||
PLUGREMLIB = $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a
|
||||
|
||||
######################## OS dependencies (alphabetic!) ################
|
||||
|
||||
include nan_link.mk
|
||||
|
||||
ifeq ($(NAN_JUST_BLENDERDYNAMIC),true)
|
||||
BINTARGETS = blenderdynamic
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_DYNAMICOPENGL), true)
|
||||
BINTARGETS += blenderdynamic
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_STATICOPENGL), true)
|
||||
BINTARGETS += blenderstatic
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_BLENDERPLAYER), true)
|
||||
export WITH_BF_GAMEENGINE=true
|
||||
BINTARGETS += blenderplayer
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_BF_WEBPLUGIN), true)
|
||||
BINTARGETS += plugin
|
||||
ifeq ($(OS),linux)
|
||||
ifeq ($(CPU),i386)
|
||||
BINTARGETS += xplink
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd linux windows"))
|
||||
ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc x86_64 parisc64"))
|
||||
NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
|
||||
else
|
||||
ifeq ($(OS),windows)
|
||||
NAN_SND_LIBS += $(NAN_OPENAL)/lib/openal_static.lib
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifeq ($(OS),darwin)
|
||||
NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
|
||||
else
|
||||
ifeq ($(OS), solaris)
|
||||
NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_JACK),true)
|
||||
ifeq ($(OS),$(findstring $(OS), "linux"))
|
||||
NAN_SND_LIBS += $(NAN_JACKLIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_SNDFILE),true)
|
||||
ifeq ($(OS),$(findstring $(OS), "linux darwin"))
|
||||
NAN_SND_LIBS += $(NAN_SNDFILELIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),windows)
|
||||
|
||||
# Might need to change this to $(NAN_MOZILLA_LIB)/nspr4.lib
|
||||
NSPLUGLIB += $(NAN_NSPR)/lib/nspr4.lib
|
||||
|
||||
BINTARGETS = blenderdynamic
|
||||
ifeq ($(FREE_WINDOWS),true)
|
||||
ifneq ($(NAN_NO_KETSJI),true)
|
||||
BINTARGETS += blenderplayer
|
||||
endif
|
||||
else
|
||||
BINTARGETS += blenderplayer
|
||||
BINTARGETS += blenderdynplayer
|
||||
BINTARGETS += plugin
|
||||
endif
|
||||
|
||||
PULIB += $(OCGDIR)/blender/icons/$(DEBUG_DIR)winblender.res
|
||||
PULIB += $(NAN_ZLIB)/lib/libz.a
|
||||
SPLIB += $(OCGDIR)/blender/icons/$(DEBUG_DIR)winblender.res
|
||||
SPLIB += $(NAN_ZLIB)/lib/libz.a
|
||||
endif
|
||||
|
||||
|
||||
# prepare for NAN_BUILDINFO compile at the *sigh* link rules below
|
||||
|
||||
ifdef NAN_BUILDINFO
|
||||
CSRCS =
|
||||
ALLTARGETS =
|
||||
include nan_compile.mk
|
||||
endif
|
||||
|
||||
################## target rules ########################
|
||||
|
||||
all debug ::
|
||||
@echo "****> Make $@ by $(ID)@$(HOST) at $(MAKE_START) on $(CONFIG_GUESS)"
|
||||
ifdef NANENV
|
||||
@for n in $(NANENV); do \
|
||||
echo " $$n"; \
|
||||
done
|
||||
endif
|
||||
|
||||
DIR = $(OCGDIR)
|
||||
SOURCEDIR = source
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
################## target rules ########################
|
||||
|
||||
all:: link
|
||||
|
||||
debug debuglink::
|
||||
@$(MAKE) link DEBUG_DIR="debug/" NANENV=$(NANENV)
|
||||
|
||||
clean:: linkclean debuglinkclean
|
||||
|
||||
link: $(BINTARGETS)
|
||||
@echo "****> Build SVN rev $(BUILD_REV), $(MAKE_START) - `date '+%H:%M:%S %d-%b-%Y'`"
|
||||
ifdef NANENV
|
||||
@for n in $(NANENV); do \
|
||||
echo " $$n"; \
|
||||
done
|
||||
endif
|
||||
|
||||
linkclean:
|
||||
@$(RM) -r $(DIR)/blenderstatic* \
|
||||
$(DIR)/blenderplayer* \
|
||||
$(DIR)/bin/*
|
||||
|
||||
debuglinkclean:
|
||||
@$(RM) -r $(DIR)/debug/blenderstatic* \
|
||||
$(DIR)/debug/blenderplayer* \
|
||||
$(DIR)/debug/bin/*
|
||||
|
||||
# Shortcut for Tinderbox release builds. Mortals don't use this.
|
||||
release:
|
||||
@$(MAKE) -C ../release/ all || exit 1;
|
||||
|
||||
############### Linker rules ###############
|
||||
|
||||
blenderstatic: $(DIR)/$(DEBUG_DIR)bin/blenderstatic
|
||||
blenderdynamic: $(DIR)/$(DEBUG_DIR)bin/blender$(EXT)
|
||||
blenderplayer: $(DIR)/$(DEBUG_DIR)bin/blenderplayer$(EXT)
|
||||
blenderdynplayer: $(DIR)/$(DEBUG_DIR)bin/blenderdynplayer$(EXT)
|
||||
|
||||
# XPCOM connector only for linux so far...
|
||||
ifeq ($(OS),linux)
|
||||
xplink: $(DIR)/$(DEBUG_DIR)bin/Blender3DPlugin$(SOEXT)
|
||||
endif
|
||||
|
||||
# Moz/NS plugin:
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd linux irix solaris"))
|
||||
plugin: $(DIR)/$(DEBUG_DIR)bin/npBlender3DPlugin$(SOEXT)
|
||||
ptest: $(DIR)/$(DEBUG_DIR)bin/npTestPlugin$(SOEXT)
|
||||
endif
|
||||
# Windows needs a 8.3 name... Why? Dunno...
|
||||
ifeq ($(OS),windows)
|
||||
ifneq ($(FREE_WINDOWS),true)
|
||||
plugin: $(DIR)/$(DEBUG_DIR)npB3DPlg$(SOEXT)
|
||||
endif
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/blenderstatic: $(OBJS) $(GRPLIB) $(PULIB) $(COMLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"static"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(CCFLAGS) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)bin/blenderstatic $(BUILDINFO_O) $(OBJS) $(GRPLIB) $(PULIB) $(COMLIB) $(LLIBS) $(SADD) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
ifeq ($(OS), darwin)
|
||||
@$(MAKE) -C darwin/ APPLICATION=blenderstatic
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/blender$(EXT): $(OBJS) $(GRPLIB) $(PULIB) $(COMLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(CCFLAGS) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)bin/blender$(EXT) $(BUILDINFO_O) $(OBJS) $(GRPLIB) $(PULIB) $(COMLIB) $(LLIBS) $(DADD) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
ifeq ($(OS), darwin)
|
||||
@$(MAKE) -C darwin/ APPLICATION=blender
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/blenderplayer$(EXT): $(OBJS) $(SPLIB1) $(COMLIB) $(SPLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(CCFLAGS) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)bin/blenderplayer$(EXT) $(BUILDINFO_O) $(OBJS) $(SPLIB1) $(COMLIB) $(SPLIB) $(LLIBS) $(DADD) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
ifeq ($(OS), darwin)
|
||||
@$(MAKE) -C darwin/ APPLICATION=blenderplayer
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/blenderdynplayer$(EXT): $(OBJS) $(COMLIB) $(SPLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(CCFLAGS) $(LDFLAGS) -o $(DIR)/$(DEBUG_DIR)bin/blenderdynplayer$(EXT) $(BUILDINFO_O) $(OBJS) $(SPLIB1) $(COMLIB) $(SPLIB) $(LLIBS) $(DADD) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
ifeq ($(OS), darwin)
|
||||
@$(MAKE) -C darwin/ APPLICATION=blenderplayer
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/Blender3DPlugin$(SOEXT): $(PLUGAPPLIB_XPLINK)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(CCFLAGS) $(DYNLDFLAGS) -o $@ $(PLUGAPPLIB_XPLINK) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
|
||||
# Windows build needs a def file? Why? For exposing functions from the
|
||||
# dll to the outside world. However, this is alsi done internally..
|
||||
DEFFILE = ./gameengine/GamePlayer/netscape/src/npB3DPlg.def
|
||||
|
||||
# Windows needs a specific name format for dll.s so we give it one.
|
||||
$(DIR)/$(DEBUG_DIR)npB3DPlg$(SOEXT): $(NSPLUGLIB) $(PLUGAPPLIB) $(COMLIB) $(SPLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
# $(CCC) $(DYNLDFLAGS) -o $@ $(NSPLUGLIB) $(PLUGAPPLIB) $(COMLIB) $(SPLIB) $(PLUGREMLIB) $(LLIBS) $(DADD) $(LOPTS)
|
||||
$(CCC) $(DYNLDFLAGS) -o $@ $(NSPLUGLIB) $(PLUGAPPLIB) $(COMLIB) $(SPLIB) $(PLUGREMLIB) $(LLIBS) $(DADD) $(LOPTS) /def:$(DEFFILE)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/npBlender3DPlugin$(SOEXT): $(NSPLUGLIB) $(PLUGAPPLIB) $(COMLIB) $(SPLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(DYNLDFLAGS) -o $@ $(NSPLUGLIB) $(PLUGAPPLIB) $(COMLIB) $(SPLIB) $(PLUGREMLIB) $(LLIBS) $(DADD) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
||||
|
||||
$(DIR)/$(DEBUG_DIR)bin/npTestPlugin$(SOEXT): $(NSPLUGLIB)
|
||||
@echo "****> Link $@"
|
||||
ifdef NAN_BUILDINFO
|
||||
$(CCC) $(CCFLAGS) $(REL_CCFLAGS) -DBUILD_DATE='"$(BUILD_DATE)"' -DBUILD_TIME='"$(BUILD_TIME)"' -DBUILD_REV='"$(BUILD_REV)"' -DBUILD_PLATFORM='"$(CONFIG_GUESS)"' -DBUILD_TYPE='"dynamic"' $(BUILDINFO_INC) $(BUILDINFO_C) -c -o $(BUILDINFO_O) -DNAN_BUILDINFO
|
||||
endif
|
||||
mkdir -p $(DIR)/$(DEBUG_DIR)bin
|
||||
$(CCC) $(DYNLDFLAGS) -o $@ $(NSPLUGLIB) $(PLUGTESTLIB) $(LLIBS) $(DADD) $(LOPTS)
|
||||
ifdef NAN_BUILDINFO
|
||||
/bin/rm $(BUILDINFO_O)
|
||||
endif
|
@@ -1,56 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
include nan_definitions.mk
|
||||
|
||||
DIRS = windowmanager editors blenloader readblenfile
|
||||
DIRS += avi imbuf render blenlib blenkernel blenpluginapi
|
||||
DIRS += makesdna makesrna
|
||||
DIRS += python nodes modifiers gpu
|
||||
DIRS += blenfont ikplugin
|
||||
|
||||
ifeq ($(WITH_QUICKTIME), true)
|
||||
DIRS += quicktime
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENJPEG), true)
|
||||
CFLAGS += -DWITH_OPENJPEG -I../../../../extern/libopenjpeg
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENCOLLADA), true)
|
||||
DIRS += collada
|
||||
endif
|
||||
|
||||
|
||||
DIR = $(OCGDIR)/blender
|
||||
SOURCEDIR = source/blender
|
||||
TESTDIRS = deflate streamglue
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounces make to subdirectories.
|
||||
|
||||
SOURCEDIR = source/blender/avi
|
||||
DIRS = intern
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,51 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = avi
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL1_C_WARNINGS)
|
||||
|
||||
ifeq ($(CPU),$(findstring $(CPU), "powerpc mips sparc"))
|
||||
CPPFLAGS += -DWORDS_BIGENDIAN
|
||||
else
|
||||
# alpha i386
|
||||
CPPFLAGS += -DWORDS_LITTLEENDIAN
|
||||
endif
|
||||
|
||||
# the JPEG library
|
||||
CPPFLAGS += -I$(NAN_JPEG)/include
|
||||
# path to the guarded memory allocator
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
# our own include
|
||||
CPPFLAGS += -I..
|
||||
|
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2009 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
|
||||
SOURCEDIR = source/blender/blenfont
|
||||
DIRS = intern
|
||||
|
||||
include nan_subdirs.mk
|
||||
|
||||
ifeq ($(INTERNATIONAL), true)
|
||||
CPPFLAGS += -DINTERNATIONAL
|
||||
endif
|
@@ -1,74 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2008 Blender Foundation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = blenfont
|
||||
DIR = $(OCGDIR)/blender/blenfont
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
#CFLAGS += -O2 -Wall -Wno-char-subscripts
|
||||
|
||||
# OpenGL and Freetype2
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += $(OGL_CPPFLAGS)
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include
|
||||
|
||||
ifeq ($(OS), windows)
|
||||
CPPFLAGS += -I$(NAN_ICONV)/include
|
||||
ifeq ($(FREE_WINDOWS), true)
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||
CPPFLAGS += -DUSE_GETTEXT_DLL
|
||||
endif
|
||||
else
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||
endif
|
||||
|
||||
ifeq ($(OS),linux)
|
||||
ifeq ($(CPU),alpha)
|
||||
CPPFLAGS += -I$(NAN_MESA)/include
|
||||
endif
|
||||
ifeq ($(CPU),i386)
|
||||
CPPFLAGS += -I$(NAN_MESA)/include
|
||||
endif
|
||||
ifeq ($(CPU),powerpc)
|
||||
CPPFLAGS += -I/usr/src/MesaCVS/include
|
||||
endif
|
||||
endif
|
||||
|
||||
# Modules
|
||||
CPPFLAGS += -I../../editors/include
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
|
||||
# Memory allocator
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
# Our own headers
|
||||
CPPFLAGS += -I..
|
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounces make to subdirectories.
|
||||
|
||||
SOURCEDIR = source/blender/blenkernel
|
||||
DIRS = intern
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,156 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = blenkernel
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
# OpenGL and Python
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I../../../../intern/memutil
|
||||
CPPFLAGS += -I$(NAN_AUDASPACE)/include
|
||||
# Reference to the types in makesdna and imbuf
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../ikplugin
|
||||
# This mod uses the BLI and BLO module
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../python
|
||||
CPPFLAGS += -I../../blenfont
|
||||
# This is bad level, remove eventually
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
# also avi is used
|
||||
CPPFLAGS += -I../../avi
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
# we still refer to /include a bit...
|
||||
CPPFLAGS += -I../../editors/include
|
||||
|
||||
# to include the render stuff:
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# for sound
|
||||
#CPPFLAGS += -I../../../kernel/gen_system
|
||||
CPPFLAGS += $(NAN_SDLCFLAGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_IKSOLVER)/include
|
||||
CPPFLAGS += -I$(NAN_DECIMATION)/include
|
||||
CPPFLAGS += -I$(NAN_ELBEEM)/include
|
||||
CPPFLAGS += -I$(NAN_OPENNL)/include
|
||||
CPPFLAGS += -I$(NAN_BSP)/include
|
||||
CPPFLAGS += -I$(NAN_SMOKE)/include
|
||||
|
||||
# path to zlib
|
||||
CPPFLAGS += -I$(NAN_ZLIB)/include
|
||||
|
||||
#path to nodes
|
||||
CPPFLAGS += -I../../nodes
|
||||
|
||||
#path to gpu
|
||||
CPPFLAGS += -I../../gpu
|
||||
|
||||
#modifiers got moved
|
||||
CPPFLAGS += -I../../modifiers
|
||||
|
||||
# path to our own external headerfiles
|
||||
CPPFLAGS += -I..
|
||||
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||
|
||||
# path to bullet2, for cloth
|
||||
ifeq ($(NAN_USE_BULLET), true)
|
||||
CPPFLAGS += -I$(NAN_BULLET2)/include
|
||||
endif
|
||||
|
||||
# lzo and lzma, for pointcache
|
||||
ifeq ($(WITH_LZO),true)
|
||||
CPPFLAGS += -I$(NAN_LZO)/minilzo
|
||||
CPPFLAGS += -DWITH_LZO
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LZO),true)
|
||||
CPPFLAGS += -I$(NAN_LZMA)
|
||||
CPPFLAGS += -DWITH_LZMA
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
CPPFLAGS += -DWITH_FFMPEG
|
||||
CPPFLAGS += $(NAN_FFMPEGCFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENEXR), true)
|
||||
CPPFLAGS += -DWITH_OPENEXR
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_DDS), true)
|
||||
CPPFLAGS += -DWITH_DDS
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENJPEG), true)
|
||||
CPPFLAGS += -DWITH_OPENJPEG
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_QUICKTIME), true)
|
||||
CPPFLAGS += -I../../quicktime
|
||||
CPPFLAGS += -DWITH_QUICKTIME
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_TIFF), true)
|
||||
CPPFLAGS += -DWITH_TIFF
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_CINEON), true)
|
||||
CPPFLAGS += -DWITH_CINEON
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_HDR), true)
|
||||
CPPFLAGS += -DWITH_HDR
|
||||
endif
|
||||
|
||||
ifeq ($(OS), darwin)
|
||||
ifeq ($(WITH_BF_OPENMP), true)
|
||||
CPPFLAGS += -DPARALLEL=1
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LCMS), true)
|
||||
CPPFLAGS += -DWITH_LCMS
|
||||
CPPFLAGS += -I$(BF_LCMS_INC)
|
||||
endif
|
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounces make to subdirectories.
|
||||
|
||||
SOURCEDIR = source/blender/blenlib
|
||||
DIRS = intern
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,62 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = blenlib
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
# path to SDNA types
|
||||
CPPFLAGS += -I../../makesdna
|
||||
# path to our own external headerfiles
|
||||
CPPFLAGS += -I..
|
||||
# path to the guarded memory allocator
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
# path to freetype font stuff
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||
# path to blenkernel
|
||||
CPPFLAGS += -I$(SRCHOME)/blender/blenkernel
|
||||
CPPFLAGS += -I../../editors/include/
|
||||
# path to zlib
|
||||
CPPFLAGS += -I$(NAN_ZLIB)/include
|
||||
|
||||
CPPFLAGS += -I../../gpu
|
||||
|
||||
CPPFLAGS += -I$(NAN_GHOST)/include
|
||||
|
||||
ifdef NAN_PTHREADS
|
||||
CPPFLAGS += -I$(NAN_PTHREADS)/include
|
||||
endif
|
||||
ifeq ($(OS),linux)
|
||||
CPPFLAGS += -I$(OCGDIR)/extern/binreloc/include
|
||||
endif
|
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounces make to subdirectories.
|
||||
|
||||
SOURCEDIR = source/blender/blenloader
|
||||
DIRS = intern
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,69 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = blenloader
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
# CFLAGS += $(LEVEL_2_C_WARNINGS)
|
||||
|
||||
# OpenGL and Python
|
||||
CPPFLAGS += $(OGL_CPPFLAGS)
|
||||
CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
|
||||
|
||||
# zlib
|
||||
ifeq ($(OS),$(findstring $(OS), "solaris windows"))
|
||||
CPPFLAGS += -I$(NAN_ZLIB)/include
|
||||
endif
|
||||
|
||||
# streaming write function
|
||||
CPPFLAGS += -I../../writestreamglue
|
||||
CPPFLAGS += -I../../readstreamglue
|
||||
|
||||
# initiate a streaming read pipe
|
||||
CPPFLAGS += -I../../readblenfile
|
||||
|
||||
# This mod uses the GEN, DNA, BLI and BKE modules
|
||||
CPPFLAGS += -I../../../kernel/gen_messaging
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../blenlib
|
||||
# path to the guarded memory allocator
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../render/extern/include/
|
||||
CPPFLAGS += -I../../python
|
||||
|
||||
# we still refer to /include a bit...
|
||||
CPPFLAGS += -I../../editors/include
|
||||
|
||||
# path to our own external headerfiles
|
||||
CPPFLAGS += -I..
|
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounces make to subdirectories.
|
||||
|
||||
SOURCEDIR = source/blender/blenpluginapi
|
||||
DIRS = intern
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,50 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = blenpluginapi
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
# path to our own external headerfiles. On win2k this needs to be
|
||||
# longer, to avoid the util.h include problem
|
||||
CPPFLAGS += -I..
|
||||
CPPFLAGS += -I../..
|
||||
|
||||
# also do dna
|
||||
CPPFLAGS += -I../../makesdna
|
||||
# path to blenlib
|
||||
CPPFLAGS += -I../../blenlib
|
||||
# path to imbuf
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
@@ -1,42 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2008 Blender Foundation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
#
|
||||
|
||||
LIBNAME = bf_collada
|
||||
DIR = $(OCGDIR)/blender/bf_collada
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I../makesdna -I../blenlib -I../blenkernel -I../editors/include
|
||||
CPPFLAGS += -I../windowmanager -I../makesrna
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(BF_OPENCOLLADA)/include/COLLADABaseUtils
|
||||
CPPFLAGS += -I$(BF_OPENCOLLADA)/include/COLLADAFramework
|
||||
CPPFLAGS += -I$(BF_OPENCOLLADA)/include/COLLADAStreamWriter
|
||||
CPPFLAGS += -I$(BF_OPENCOLLADA)/include/COLLADASaxFrameworkLoader
|
@@ -1,71 +0,0 @@
|
||||
# -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) Blender Foundation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Bounces make to subdirectories.
|
||||
|
||||
SOURCEDIR = source/blender/editors
|
||||
DIRS = armature \
|
||||
mesh \
|
||||
animation \
|
||||
object \
|
||||
sculpt_paint \
|
||||
datafiles \
|
||||
transform \
|
||||
screen \
|
||||
curve \
|
||||
metaball \
|
||||
gpencil \
|
||||
physics \
|
||||
render \
|
||||
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 \
|
||||
space_userpref \
|
||||
sound
|
||||
|
||||
include nan_subdirs.mk
|
@@ -1,54 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_animation
|
||||
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../../blenloader
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../python
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,57 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_armature
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_OPENNL)/include
|
||||
|
||||
# not very neat....
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../python
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,56 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_curve
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(NAN_ELBEEM)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,49 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_datafiles
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
# not very neat....
|
||||
CPPFLAGS += -I../../../blenkernel
|
||||
CPPFLAGS += -I../../../blenlib
|
||||
CPPFLAGS += -I../../../makesdna
|
||||
CPPFLAGS += -I../../../imbuf
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,56 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_gpencil
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(NAN_ELBEEM)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,61 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_interface
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../blenfont
|
||||
CPPFLAGS += -I../../python
|
||||
CPPFLAGS += -I../../gpu
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
||||
|
||||
ifeq ($(INTERNATIONAL), true)
|
||||
CPPFLAGS += -DINTERNATIONAL
|
||||
endif
|
||||
|
@@ -1,56 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_mesh
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(NAN_ELBEEM)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,56 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_metaball
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(NAN_ELBEEM)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,56 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_object
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../python
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../ikplugin
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
@@ -1,62 +0,0 @@
|
||||
#
|
||||
# $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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# The Original Code is Copyright (C) 2007 Blender Foundation
|
||||
# All rights reserved.
|
||||
#
|
||||
# The Original Code is: all of this file.
|
||||
#
|
||||
# Contributor(s): none yet.
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
#
|
||||
# Makes module object directory and bounces make to subdirectories.
|
||||
|
||||
LIBNAME = ed_physics
|
||||
DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GLEW)/include
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I$(NAN_ELBEEM)/include
|
||||
|
||||
CPPFLAGS += -I../../windowmanager
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
CPPFLAGS += -I../../makesrna
|
||||
CPPFLAGS += -I../../imbuf
|
||||
CPPFLAGS += -I../../gpu
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
|
||||
# own include
|
||||
|
||||
CPPFLAGS += -I../include
|
||||
|
||||
ifeq ($(OS), darwin)
|
||||
ifeq ($(WITH_BF_OPENMP), true)
|
||||
CPPFLAGS += -DPARALLEL=1
|
||||
endif
|
||||
endif
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user