2006-09-25 12:11:12 +00:00
|
|
|
# -*-makefile-*-
|
2002-02-20 16:18:30 +00:00
|
|
|
# Instance/library.make
|
|
|
|
#
|
|
|
|
# Instance Makefile rules to build GNUstep-based libraries.
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997, 2001 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
|
|
|
# Ovidiu Predescu <ovidiu@net-community.com>
|
|
|
|
# Nicola Pero <nicola@brainstorm.co.uk>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Makefile Package.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
2007-11-07 18:56:37 +00:00
|
|
|
# as published by the Free Software Foundation; either version 3
|
2002-02-20 16:18:30 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
2007-11-07 18:56:37 +00:00
|
|
|
# License along with this library; see the file COPYING.
|
2002-02-20 16:18:30 +00:00
|
|
|
# If not, write to the Free Software Foundation,
|
2005-05-22 03:20:14 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
ifeq ($(RULES_MAKE_LOADED),)
|
|
|
|
include $(GNUSTEP_MAKEFILES)/rules.make
|
|
|
|
endif
|
|
|
|
|
2002-02-20 17:00:31 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/Instance/Shared/headers.make
|
|
|
|
|
2002-02-20 16:18:30 +00:00
|
|
|
#
|
2002-10-10 15:43:43 +00:00
|
|
|
# The name of the library (including the 'lib' prefix) is
|
|
|
|
# in the LIBRARY_NAME variable.
|
2002-02-20 16:18:30 +00:00
|
|
|
# The Objective-C files that gets included in the library are in xxx_OBJC_FILES
|
|
|
|
# The C files are in xxx_C_FILES
|
|
|
|
# The pswrap files are in xxx_PSWRAP_FILES
|
|
|
|
# The header files are in xxx_HEADER_FILES
|
|
|
|
# The directory where the header files are located is xxx_HEADER_FILES_DIR
|
|
|
|
# The directory where to install the header files inside the library
|
|
|
|
# installation directory is xxx_HEADER_FILES_INSTALL_DIR
|
|
|
|
#
|
|
|
|
# Where xxx is the name of the library
|
|
|
|
#
|
|
|
|
|
2002-03-19 13:06:56 +00:00
|
|
|
.PHONY: internal-library-all_ \
|
|
|
|
internal-library-install_ \
|
|
|
|
internal-library-uninstall_ \
|
2002-02-20 16:18:30 +00:00
|
|
|
internal-install-lib \
|
2002-02-20 17:00:31 +00:00
|
|
|
internal-install-dirs
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
# This is the directory where the libs get installed. This should *not*
|
|
|
|
# include the target arch, os directory or library_combo.
|
2004-01-16 17:04:48 +00:00
|
|
|
ifneq ($($(GNUSTEP_INSTANCE)_INSTALL_DIR),)
|
|
|
|
LIBRARY_INSTALL_DIR = $($(GNUSTEP_INSTANCE)_INSTALL_DIR)
|
|
|
|
endif
|
|
|
|
|
2002-02-20 16:18:30 +00:00
|
|
|
ifeq ($(LIBRARY_INSTALL_DIR),)
|
|
|
|
LIBRARY_INSTALL_DIR = $(GNUSTEP_LIBRARIES)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# And this is used internally - it is the final directory where we put the
|
|
|
|
# library - it includes target arch, os dir and library_combo - this variable
|
|
|
|
# is PRIVATE to gnustep-make
|
2002-02-20 17:00:31 +00:00
|
|
|
#
|
|
|
|
# Do not set this variable if it is already set ... this allows other
|
|
|
|
# makefiles (Instance/clibrary.make) to use the code in this file with
|
|
|
|
# a different FINAL_LIBRARY_INSTALL_DIR !
|
|
|
|
#
|
|
|
|
ifeq ($(FINAL_LIBRARY_INSTALL_DIR),)
|
|
|
|
FINAL_LIBRARY_INSTALL_DIR = $(LIBRARY_INSTALL_DIR)/$(GNUSTEP_TARGET_LDIR)
|
|
|
|
endif
|
2002-02-20 16:18:30 +00:00
|
|
|
|
2004-03-29 12:02:53 +00:00
|
|
|
# Set VERSION from xxx_VERSION
|
|
|
|
ifneq ($($(GNUSTEP_INSTANCE)_VERSION),)
|
|
|
|
VERSION = $($(GNUSTEP_INSTANCE)_VERSION)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(VERSION),)
|
2004-08-31 14:26:36 +00:00
|
|
|
# Check if we can guess VERSION from one of the other version variables
|
|
|
|
ifneq ($($(GNUSTEP_INSTANCE)_INTERFACE_VERSION),)
|
|
|
|
VERSION = $($(GNUSTEP_INSTANCE)_INTERFACE_VERSION).0
|
|
|
|
else
|
|
|
|
# For backwards compatibility we also check xxx_SOVERSION, which
|
|
|
|
# is the old name for xxx_INTERFACE_VERSION
|
|
|
|
ifneq ($($(GNUSTEP_INSTANCE)_SOVERSION),)
|
|
|
|
VERSION = $($(GNUSTEP_INSTANCE)_SOVERSION).0
|
|
|
|
else
|
|
|
|
# No luck with those. Use the default.
|
|
|
|
VERSION = 0.0.1
|
|
|
|
endif
|
|
|
|
endif
|
2004-03-29 12:02:53 +00:00
|
|
|
endif
|
|
|
|
|
2003-10-19 14:21:50 +00:00
|
|
|
#
|
|
|
|
# Manage the case that LIBRARY_NAME starts with 'lib', and the case
|
|
|
|
# that it doesn't start with 'lib'. In both cases, we need to create
|
|
|
|
# a .so file whose name starts with 'lib'.
|
|
|
|
#
|
|
|
|
ifneq ($(filter lib%,$(GNUSTEP_INSTANCE)),)
|
|
|
|
LIBRARY_NAME_WITH_LIB = $(GNUSTEP_INSTANCE)
|
2005-03-01 04:54:48 +00:00
|
|
|
LIBRARY_NAME_WITHOUT_LIB = $(patsubst lib%,%,$(GNUSTEP_INSTANCE))
|
2003-10-19 14:21:50 +00:00
|
|
|
else
|
|
|
|
LIBRARY_NAME_WITH_LIB = lib$(GNUSTEP_INSTANCE)
|
2005-03-01 04:54:48 +00:00
|
|
|
LIBRARY_NAME_WITHOUT_LIB = $(GNUSTEP_INSTANCE)
|
2003-10-19 14:21:50 +00:00
|
|
|
endif
|
|
|
|
|
2005-03-10 04:29:17 +00:00
|
|
|
# On windows, this is unfortunately required.
|
|
|
|
ifeq ($(BUILD_DLL), yes)
|
|
|
|
LINK_AGAINST_ALL_LIBS = yes
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(LINK_AGAINST_ALL_LIBS), yes)
|
|
|
|
# Link against all libs ... but not the one we're compiling! (this can
|
|
|
|
# happen, for example, with gnustep-gui)
|
|
|
|
LIBRARIES_DEPEND_UPON += $(filter-out -l$(LIBRARY_NAME_WITHOUT_LIB), \
|
|
|
|
$(ADDITIONAL_GUI_LIBS) $(AUXILIARY_GUI_LIBS) \
|
|
|
|
$(BACKEND_LIBS) \
|
|
|
|
$(GUI_LIBS) $(ADDITIONAL_TOOL_LIBS) $(AUXILIARY_TOOL_LIBS) \
|
|
|
|
$(FND_LIBS) $(ADDITIONAL_OBJC_LIBS) $(AUXILIARY_OBJC_LIBS) $(OBJC_LIBS) \
|
|
|
|
$(SYSTEM_LIBS) $(TARGET_SYSTEM_LIBS))
|
|
|
|
endif
|
|
|
|
|
2002-02-20 16:18:30 +00:00
|
|
|
INTERNAL_LIBRARIES_DEPEND_UPON = \
|
|
|
|
$(ALL_LIB_DIRS) \
|
2006-09-08 11:19:09 +00:00
|
|
|
$(LIBRARIES_DEPEND_UPON)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
ifeq ($(shared), yes)
|
|
|
|
|
2004-03-04 12:00:22 +00:00
|
|
|
# Allow the user GNUmakefile to define xxx_INTERFACE_VERSION to
|
|
|
|
# replace the default INTERFACE_VERSION for this library.
|
2002-02-20 16:18:30 +00:00
|
|
|
|
2004-03-04 12:00:22 +00:00
|
|
|
# Effect of the value of xxx_INTERFACE_VERSION -
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
# suppose your library is libgnustep-base.1.0.0 - if you do nothing,
|
2004-03-04 12:00:22 +00:00
|
|
|
# INTERFACE_VERSION=1, and we prepare the symlink
|
|
|
|
# libgnustep-base.so.1 --> libgnustep-base.so.1.0.0 and tell the
|
|
|
|
# linker that it should remember that any application compiled
|
|
|
|
# against this library need to use version .1 of the library. So at
|
|
|
|
# runtime, the dynamical linker will search for libgnustep-base.so.1.
|
|
|
|
# This is important if you install multiple versions of the same
|
|
|
|
# library. The default is that if you install a new version of a
|
|
|
|
# library with the same major number, the new version replaces the
|
|
|
|
# old one, and all applications which were using the old one now use
|
|
|
|
# the new one. If you install a library with a different major
|
|
|
|
# number, the old apps will still use the old library, while newly
|
|
|
|
# compiled apps will use the new one.
|
|
|
|
|
|
|
|
# If you redefine xxx_INTERFACE_VERSION to be for example 1.0, then
|
|
|
|
# we prepare the symlink libgnustep-base.so.1.0 -->
|
|
|
|
# libgnustep-base.so.1.0.0 instead, and tell the linker to remember
|
|
|
|
# 1.0. So at runtime, the dynamic linker will search for
|
|
|
|
# libgnustep-base.so.1.0. The effect of changing
|
|
|
|
# xxx_INTERFACE_VERSION to major.minor as in this example is that if
|
|
|
|
# you install a new version with the same major.minor version, that
|
|
|
|
# replaces the old one also for old applications, but if you install
|
|
|
|
# a new library with the same major version but a *different* minor
|
|
|
|
# version, that is used in new apps, but old apps still use the old
|
|
|
|
# version.
|
|
|
|
|
|
|
|
ifeq ($($(GNUSTEP_INSTANCE)_INTERFACE_VERSION),)
|
|
|
|
|
|
|
|
# Backwards compatibility: xxx_SOVERSION was the old name for
|
|
|
|
# xxx_INTERFACE_VERSION. There was no support for setting SOVERSION
|
|
|
|
# (without xxx_), like there is no support for setting
|
|
|
|
# INTERFACE_VERSION (without xxx_) now.
|
|
|
|
|
|
|
|
# TODO: Remove xxx_SOVERSION at some point in the next few
|
|
|
|
# years. NB: Likely the only user of this is Helge Hess, so once he's
|
|
|
|
# upgraded, let's remove the backwards compatibility code. :-)
|
|
|
|
ifneq ($($(GNUSTEP_INSTANCE)_SOVERSION),)
|
|
|
|
INTERFACE_VERSION = $($(GNUSTEP_INSTANCE)_SOVERSION)
|
|
|
|
else
|
|
|
|
|
|
|
|
# This is the current code - by default, if VERSION is
|
|
|
|
# 1.0.0, INTERFACE_VERSION is 1
|
|
|
|
INTERFACE_VERSION = $(word 1,$(subst ., ,$(VERSION)))
|
|
|
|
|
|
|
|
endif
|
2002-02-20 16:18:30 +00:00
|
|
|
else
|
2004-03-04 12:00:22 +00:00
|
|
|
INTERFACE_VERSION = $($(GNUSTEP_INSTANCE)_INTERFACE_VERSION)
|
2002-02-20 16:18:30 +00:00
|
|
|
endif
|
2007-03-09 11:42:00 +00:00
|
|
|
|
|
|
|
ifneq ($(BUILD_DLL),yes)
|
|
|
|
|
|
|
|
LIBRARY_FILE = $(LIBRARY_NAME_WITH_LIB)$(SHARED_LIBEXT)
|
|
|
|
VERSION_LIBRARY_FILE = $(LIBRARY_FILE).$(VERSION)
|
2004-03-04 12:00:22 +00:00
|
|
|
SONAME_LIBRARY_FILE = $(LIBRARY_FILE).$(INTERFACE_VERSION)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
else # BUILD_DLL
|
|
|
|
|
2005-03-01 04:54:48 +00:00
|
|
|
# When you build a DLL, you have to install it in a directory which is
|
|
|
|
# in your PATH.
|
|
|
|
ifeq ($(DLL_INSTALLATION_DIR),)
|
|
|
|
DLL_INSTALLATION_DIR = $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# When we build a DLL, we also pass -DBUILD_lib{library_name}_DLL=1 to
|
|
|
|
# the preprocessor. With the new DLL support, this is usually not
|
|
|
|
# needed; but in some cases some symbols are difficult and have to be
|
|
|
|
# exported/imported manually. For these cases, the library header
|
|
|
|
# files can use this preprocessor define to know that they are
|
|
|
|
# included during compilation of the library itself, or are being
|
|
|
|
# imported by external code. Typically with the new DLL support if a
|
|
|
|
# symbol can't be imported you have to mark it with
|
|
|
|
# __declspec(dllimport) when the library is not being compiled.
|
|
|
|
# __declspec(dllexport) is not particularly useful instead.
|
|
|
|
|
|
|
|
CLEAN_library_NAME = $(subst -,_,$(LIBRARY_NAME_WITH_LIB))
|
|
|
|
SHARED_CFLAGS += -DBUILD_$(CLEAN_library_NAME)_DLL=1
|
|
|
|
|
|
|
|
# LIBRARY_FILE is the import library, libgnustep-base.dll.a
|
2006-09-08 11:24:35 +00:00
|
|
|
LIBRARY_FILE = $(LIBRARY_NAME_WITH_LIB)$(DLL_LIBEXT)$(LIBEXT)
|
2005-03-01 04:54:48 +00:00
|
|
|
VERSION_LIBRARY_FILE = $(LIBRARY_FILE)
|
|
|
|
SONAME_LIBRARY_FILE = $(LIBRARY_FILE)
|
|
|
|
|
2007-03-09 11:42:00 +00:00
|
|
|
# LIB_LINK_DLL_FILE is the DLL library, gnustep-base-1.dll. Include
|
|
|
|
# the INTERFACE_VERSION in the DLL library name. Applications are
|
|
|
|
# linked explicitly to this INTERFACE_VERSION of the library; this
|
|
|
|
# works exactly in the same way as under Unix.
|
|
|
|
LIB_LINK_DLL_FILE = $(LIBRARY_NAME_WITHOUT_LIB)-$(subst .,_,$(INTERFACE_VERSION))$(DLL_LIBEXT)
|
2002-02-20 16:18:30 +00:00
|
|
|
endif # BUILD_DLL
|
|
|
|
|
2005-03-01 04:54:48 +00:00
|
|
|
else # following code for static libs
|
2002-02-20 16:18:30 +00:00
|
|
|
|
2006-09-08 11:24:35 +00:00
|
|
|
LIBRARY_FILE = $(LIBRARY_NAME_WITH_LIB)$(LIBEXT)
|
2002-02-20 16:18:30 +00:00
|
|
|
VERSION_LIBRARY_FILE = $(LIBRARY_FILE)
|
|
|
|
SONAME_LIBRARY_FILE = $(LIBRARY_FILE)
|
|
|
|
|
|
|
|
endif # shared
|
|
|
|
|
2002-10-30 13:20:26 +00:00
|
|
|
#
|
|
|
|
# Now prepare the variables which are used by target-dependent commands
|
|
|
|
# defined in target.make
|
|
|
|
#
|
|
|
|
LIB_LINK_OBJ_DIR = $(GNUSTEP_OBJ_DIR)
|
|
|
|
LIB_LINK_VERSION_FILE = $(VERSION_LIBRARY_FILE)
|
|
|
|
LIB_LINK_SONAME_FILE = $(SONAME_LIBRARY_FILE)
|
|
|
|
LIB_LINK_FILE = $(LIBRARY_FILE)
|
2002-12-25 02:02:13 +00:00
|
|
|
LIB_LINK_INSTALL_NAME = $(SONAME_LIBRARY_FILE)
|
2002-10-30 13:20:26 +00:00
|
|
|
LIB_LINK_INSTALL_DIR = $(FINAL_LIBRARY_INSTALL_DIR)
|
|
|
|
|
2002-02-20 16:18:30 +00:00
|
|
|
#
|
|
|
|
# Internal targets
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compilation targets
|
|
|
|
#
|
2002-03-19 13:06:56 +00:00
|
|
|
internal-library-all_:: $(GNUSTEP_OBJ_DIR) \
|
2005-09-18 20:05:09 +00:00
|
|
|
$(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
$(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE): $(OBJ_FILES_TO_LINK)
|
2002-06-13 16:17:23 +00:00
|
|
|
$(ECHO_LINKING)$(LIB_LINK_CMD)$(END_ECHO)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install and uninstall targets
|
|
|
|
#
|
2002-03-19 13:06:56 +00:00
|
|
|
internal-library-install_:: internal-install-dirs \
|
|
|
|
internal-install-lib \
|
|
|
|
shared-instance-headers-install
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
# Depend on creating all the dirs
|
|
|
|
internal-install-dirs:: $(FINAL_LIBRARY_INSTALL_DIR) \
|
2003-09-03 10:01:24 +00:00
|
|
|
$(DLL_INSTALLATION_DIR)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
# Now the rule to create each dir. NB: Nothing gets executed if the dir
|
|
|
|
# already exists
|
|
|
|
$(FINAL_LIBRARY_INSTALL_DIR):
|
2003-05-27 10:19:06 +00:00
|
|
|
$(ECHO_CREATING)$(MKINSTALLDIRS) $@$(END_ECHO)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
$(DLL_INSTALLATION_DIR):
|
2003-05-27 10:19:06 +00:00
|
|
|
$(ECHO_CREATING)$(MKINSTALLDIRS) $@$(END_ECHO)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
internal-install-lib::
|
2002-06-13 16:17:23 +00:00
|
|
|
$(ECHO_INSTALLING)if [ -f $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) ]; then \
|
2002-02-20 16:18:30 +00:00
|
|
|
$(INSTALL_PROGRAM) $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) \
|
|
|
|
$(FINAL_LIBRARY_INSTALL_DIR) ; \
|
|
|
|
$(AFTER_INSTALL_LIBRARY_CMD) \
|
2002-06-13 16:17:23 +00:00
|
|
|
fi$(END_ECHO)
|
2002-02-20 16:18:30 +00:00
|
|
|
|
2005-03-01 04:54:48 +00:00
|
|
|
ifeq ($(BUILD_DLL),yes)
|
2005-09-18 20:05:09 +00:00
|
|
|
# For DLLs, also install the DLL file.
|
2005-03-01 04:54:48 +00:00
|
|
|
internal-install-lib::
|
|
|
|
$(ECHO_INSTALLING)if [ -f $(GNUSTEP_OBJ_DIR)/$(LIB_LINK_DLL_FILE) ]; then \
|
|
|
|
$(INSTALL_PROGRAM) $(GNUSTEP_OBJ_DIR)/$(LIB_LINK_DLL_FILE) \
|
|
|
|
$(DLL_INSTALLATION_DIR) ; \
|
|
|
|
fi$(END_ECHO)
|
|
|
|
endif
|
2002-02-20 16:18:30 +00:00
|
|
|
|
2002-03-19 13:06:56 +00:00
|
|
|
internal-library-uninstall_:: shared-instance-headers-uninstall
|
2003-05-27 12:07:03 +00:00
|
|
|
$(ECHO_UNINSTALLING)rm -f $(FINAL_LIBRARY_INSTALL_DIR)/$(VERSION_LIBRARY_FILE) \
|
2002-02-20 16:18:30 +00:00
|
|
|
$(FINAL_LIBRARY_INSTALL_DIR)/$(LIBRARY_FILE) \
|
2003-05-27 12:07:03 +00:00
|
|
|
$(FINAL_LIBRARY_INSTALL_DIR)/$(SONAME_LIBRARY_FILE)$(END_ECHO)
|
2005-03-01 04:54:48 +00:00
|
|
|
|
|
|
|
ifeq ($(BUILD_DLL),yes)
|
2005-09-18 20:05:09 +00:00
|
|
|
# For DLLs, also remove the DLL file.
|
2005-03-01 04:54:48 +00:00
|
|
|
internal-library-uninstall_::
|
2005-12-05 13:07:15 +00:00
|
|
|
$(ECHO_UNINSTALLING)rm -f $(DLL_INSTALLATION_DIR)/$(LIB_LINK_DLL_FILE)$(END_ECHO)
|
2005-03-01 04:54:48 +00:00
|
|
|
endif
|
2002-02-20 16:18:30 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Testing targets
|
|
|
|
#
|
|
|
|
internal-library-check::
|
|
|
|
|
2007-03-09 17:27:55 +00:00
|
|
|
#
|
|
|
|
# If the user makefile contains the command
|
|
|
|
# xxx_HAS_RESOURCE_BUNDLE = yes
|
|
|
|
# then we need to build a resource bundle for the library, and install it.
|
|
|
|
# You can then add resources to the library, any sort of, with the usual
|
|
|
|
# xxx_RESOURCE_FILES, xxx_LOCALIZED_RESOURCE_FILES, xxx_LANGUAGES, etc.
|
|
|
|
# The library resource bundle (and all resources inside it) can be
|
|
|
|
# accessed at runtime very comfortably, by using gnustep-base's
|
|
|
|
# [NSBundle +bundleForLibrary:version:].
|
|
|
|
#
|
|
|
|
ifeq ($($(GNUSTEP_INSTANCE)_HAS_RESOURCE_BUNDLE),yes)
|
|
|
|
|
|
|
|
# Include the rules to build resource bundles
|
2007-03-09 18:25:18 +00:00
|
|
|
GNUSTEP_SHARED_BUNDLE_RESOURCE_PATH = $(GNUSTEP_BUILD_DIR)/$(GNUSTEP_INSTANCE)/Versions/$(INTERFACE_VERSION)/Resources/
|
2007-03-09 17:27:55 +00:00
|
|
|
|
|
|
|
# We want to install gnustep-base resources into
|
2007-03-09 18:25:18 +00:00
|
|
|
# GNUSTEP_LIBRARY/Libraries/gnustep-base/Versions/1.14/Resources/
|
|
|
|
# This is similar to a framework resource directory, which might be
|
|
|
|
# helpful in the future.
|
|
|
|
GNUSTEP_SHARED_BUNDLE_INSTALL_NAME = Resources
|
|
|
|
GNUSTEP_SHARED_BUNDLE_INSTALL_LOCAL_PATH = $(GNUSTEP_INSTANCE)/Versions/$(INTERFACE_VERSION)
|
|
|
|
GNUSTEP_SHARED_BUNDLE_INSTALL_PATH = $(GNUSTEP_LIBRARY)/Libraries/$(GNUSTEP_INSTANCE)/Versions/$(INTERFACE_VERSION)
|
2007-03-09 17:27:55 +00:00
|
|
|
|
|
|
|
include $(GNUSTEP_MAKEFILES)/Instance/Shared/bundle.make
|
|
|
|
|
|
|
|
internal-library-all_:: shared-instance-bundle-all
|
|
|
|
internal-library-copy_into_dir:: shared-instance-bundle-copy_into_dir
|
|
|
|
|
2007-03-09 18:25:18 +00:00
|
|
|
$(GNUSTEP_LIBRARY)/Libraries/$(GNUSTEP_INSTANCE)/Versions/$(INTERFACE_VERSION):
|
2007-03-09 17:27:55 +00:00
|
|
|
$(ECHO_CREATING)$(MKINSTALLDIRS) $@$(END_ECHO)
|
|
|
|
|
2007-03-09 18:25:18 +00:00
|
|
|
internal-library-install_:: $(GNUSTEP_LIBRARY)/Libraries/$(GNUSTEP_INSTANCE)/Versions/$(INTERFACE_VERSION) \
|
|
|
|
shared-instance-bundle-install
|
2007-03-09 17:27:55 +00:00
|
|
|
|
|
|
|
internal-library-uninstall:: shared-instance-bundle-uninstall
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2002-10-22 00:27:39 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/Instance/Shared/strings.make
|