mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Implemented DYLIB_INSTALL_BASE_NAME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7117c0328c
commit
e1079c3499
1 changed files with 14 additions and 1 deletions
|
@ -88,6 +88,12 @@ ifeq ($(DEPLOY_WITH_CURRENT_VERSION),)
|
|||
DEPLOY_WITH_CURRENT_VERSION = yes
|
||||
endif
|
||||
|
||||
# This is used on Apple to build frameworks which can be embedded into
|
||||
# applications. You usually set it to something like
|
||||
# @executable_path/../Frameworks and then you can embed the framework
|
||||
# in an application.
|
||||
DYLIB_INSTALL_NAME_BASE = $($(GNUSTEP_INSTANCE)_DYLIB_INSTALL_NAME_BASE)
|
||||
|
||||
FRAMEWORK_DIR_NAME = $(GNUSTEP_INSTANCE).framework
|
||||
FRAMEWORK_DIR = $(GNUSTEP_BUILD_DIR)/$(FRAMEWORK_DIR_NAME)
|
||||
FRAMEWORK_VERSION_DIR_NAME = $(FRAMEWORK_DIR_NAME)/Versions/$(CURRENT_VERSION_NAME)
|
||||
|
@ -194,9 +200,16 @@ LIB_LINK_OBJ_DIR = $(FRAMEWORK_LIBRARY_DIR)
|
|||
LIB_LINK_VERSION_FILE = $(VERSION_FRAMEWORK_LIBRARY_FILE)
|
||||
LIB_LINK_SONAME_FILE = $(SONAME_FRAMEWORK_FILE)
|
||||
LIB_LINK_FILE = $(FRAMEWORK_LIBRARY_FILE)
|
||||
LIB_LINK_INSTALL_NAME = $(GNUSTEP_INSTANCE).framework/$(GNUSTEP_INSTANCE)
|
||||
LIB_LINK_INSTALL_DIR = $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_LIBRARY_DIR_NAME)
|
||||
|
||||
ifneq ($(DYLIB_INSTALL_NAME_BASE),)
|
||||
LIB_LINK_INSTALL_NAME = $(DYLIB_INSTALL_NAME_BASE)/$(FRAMEWORK_FILE_NAME)
|
||||
else
|
||||
# Use a relative path for easy relocation.
|
||||
LIB_LINK_INSTALL_NAME = $(GNUSTEP_INSTANCE).framework/$(GNUSTEP_INSTANCE)
|
||||
endif
|
||||
|
||||
|
||||
GNUSTEP_SHARED_BUNDLE_RESOURCE_PATH = $(FRAMEWORK_VERSION_DIR)/Resources
|
||||
include $(GNUSTEP_MAKEFILES)/Instance/Shared/bundle.make
|
||||
|
||||
|
|
Loading…
Reference in a new issue