2001-12-21 18:49:20 +00:00
|
|
|
#
|
|
|
|
# Resources makefile for gnustep-gui
|
2002-09-25 01:53:46 +00:00
|
|
|
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
2001-12-21 18:49:20 +00:00
|
|
|
#
|
|
|
|
# Written by: Nicola Pero <n.pero@mi.flashnet.it>
|
2002-09-25 01:53:46 +00:00
|
|
|
# Date: December 2001, September 2002
|
2001-12-21 18:49:20 +00:00
|
|
|
#
|
|
|
|
# This file is part of the GNUstep GUI Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2007-10-29 21:16:17 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
2001-12-21 18:49:20 +00:00
|
|
|
# License as published by the Free Software Foundation; either
|
2008-06-10 04:01:49 +00:00
|
|
|
# version 2 of the License, or (at your option) any later version.
|
2001-12-21 18:49:20 +00:00
|
|
|
#
|
|
|
|
# This library 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
|
2007-10-29 21:16:17 +00:00
|
|
|
# Lesser General Public License for more details.
|
2001-12-21 18:49:20 +00:00
|
|
|
#
|
2007-10-29 21:16:17 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; see the file COPYING.LIB.
|
|
|
|
# If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
# Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02110-1301, USA.
|
2001-12-21 18:49:20 +00:00
|
|
|
|
2008-12-19 13:00:47 +00:00
|
|
|
PACKAGE_NAME = gnustep-gui
|
2001-12-21 18:49:20 +00:00
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
|
2007-03-09 23:33:58 +00:00
|
|
|
include ../Version
|
|
|
|
libgnustep-gui_INTERFACE_VERSION=$(GNUSTEP_GUI_MAJOR_VERSION).$(GNUSTEP_GUI_MINOR_VERSION)
|
|
|
|
|
2002-09-25 01:53:46 +00:00
|
|
|
RESOURCE_SET_NAME = gui-resources
|
2007-03-09 23:33:58 +00:00
|
|
|
gui-resources_INSTALL_DIR = $(GNUSTEP_LIBRARY)/Libraries/gnustep-gui/Versions/$(libgnustep-gui_INTERFACE_VERSION)/Resources
|
2018-10-15 18:04:41 +00:00
|
|
|
gui-resources_LANGUAGES = English Italian Lojban Esperanto German French Spanish Korean Japanese Polish
|
2002-09-25 01:53:46 +00:00
|
|
|
gui-resources_LOCALIZED_RESOURCE_FILES = Localizable.strings
|
2001-12-21 18:49:20 +00:00
|
|
|
|
2002-09-25 01:53:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/resource-set.make
|
2001-12-21 18:49:20 +00:00
|
|
|
|
2002-09-25 01:53:46 +00:00
|
|
|
# The following code is so that by typing 'make strings', all the
|
|
|
|
# Localizable.strings files are updated for the new localizable
|
2002-10-22 00:41:09 +00:00
|
|
|
# strings in the source code. If we had the localized resources in
|
|
|
|
# the Source directory, this would be supported automatically by
|
|
|
|
# gnustep-make (but it would parse all files all the times ... which
|
|
|
|
# will be reasonable when more than two files actually contain
|
|
|
|
# something to translate :-)
|
2001-12-21 18:49:20 +00:00
|
|
|
|
2002-09-25 01:53:46 +00:00
|
|
|
# The list of OBJC_FILES containing localizable strings
|
|
|
|
strings_OBJC_FILES = \
|
|
|
|
NSApplication.m \
|
|
|
|
NSDocument.m
|
2001-12-21 18:49:20 +00:00
|
|
|
|
2002-09-25 01:53:46 +00:00
|
|
|
# The list of HEADER_FILES containing localizable strings
|
|
|
|
strings_HEADER_FILES =
|
2001-12-21 18:49:20 +00:00
|
|
|
|
2002-10-22 00:38:28 +00:00
|
|
|
after-strings::
|
2002-09-25 01:53:46 +00:00
|
|
|
make_strings -L "$(gui-resources_LANGUAGES)" \
|
|
|
|
$(addprefix ../Source/,$(strings_OBJC_FILES)) \
|
2003-07-31 23:52:10 +00:00
|
|
|
$(addprefix ../Headers/Additions/GNUstepGUI/,$(strings_HEADER_FILES))
|