forked from bartvdbraak/blender
e0e1f07208
rather than processing it only when INTERNATIONAL is set to true, instead only disabling processing it only if INTERNATIONAL is set to false. The reason for this change is because the Makefile in the top level directory doesn't read all of the variables set in source/nan_definitions.mk, and with the current scheme the po's would only get processed if the user had explicitely set INTERNATIONAL to true.
67 lines
2.0 KiB
Makefile
67 lines
2.0 KiB
Makefile
# $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) 2002 by Wouter van Heyst
|
|
# All rights reserved.
|
|
#
|
|
# The Original Code is: revision 1.1
|
|
#
|
|
# Contributor(s): Hans Lambermont
|
|
#
|
|
# ***** END GPL/BL DUAL 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 cvs).
|
|
|
|
sinclude user-def.mk
|
|
|
|
# To build without openAL, uncomment the following line, or 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)/source --no-print-directory
|
|
|
|
SOURCEDIR =
|
|
ifeq ($(FREE_WINDOWS),true)
|
|
DIRS ?= dlltool extern intern source
|
|
endif
|
|
|
|
DIRS ?= extern intern source
|
|
|
|
ifneq ($(INTERNATIONAL),false)
|
|
DIRS += po
|
|
endif
|
|
|
|
include source/nan_subdirs.mk
|
|
|
|
.PHONY: release
|
|
release:
|
|
@echo "====> $(MAKE) $@ in $(SOURCEDIR)/$@" ;\
|
|
$(MAKE) -C $@ $@ || exit 1;
|
|
|
|
|