summaryrefslogtreecommitdiffstats
path: root/macosx/GNUmakefile
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-22 14:31:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-22 14:31:26 (GMT)
commit021af90722d6cf901b75e8f36f0d6cf0a62ed56e (patch)
tree210b8a5ec1f4880f7174f9fa3f59c93e14544f3b /macosx/GNUmakefile
parentd970d6f3f67a50a0b71ef5d61f77c9353a09ef64 (diff)
parentbe83197ee590ec252235b5684a13f8d42e35c814 (diff)
downloadtcl-021af90722d6cf901b75e8f36f0d6cf0a62ed56e.zip
tcl-021af90722d6cf901b75e8f36f0d6cf0a62ed56e.tar.gz
tcl-021af90722d6cf901b75e8f36f0d6cf0a62ed56e.tar.bz2
Merge 8.7
Diffstat (limited to 'macosx/GNUmakefile')
-rw-r--r--macosx/GNUmakefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/macosx/GNUmakefile b/macosx/GNUmakefile
index 9d82e42..93fd843 100644
--- a/macosx/GNUmakefile
+++ b/macosx/GNUmakefile
@@ -32,6 +32,18 @@ MANDIR ?= ${PREFIX}/man
# set to non-empty value to install manpages in addition to html help:
INSTALL_MANPAGES ?=
+# Checks and overrides for subframework builds
+ifeq (${SUBFRAMEWORK},1)
+ifeq (${DYLIB_INSTALL_DIR},)
+ @echo "Cannot install subframework with empty DYLIB_INSTALL_DIR !" && false
+endif
+ifeq (${DESTDIR},)
+ @echo "Cannot install subframework with empty DESTDIR !" && false
+endif
+override BUILD_DIR = ${DESTDIR}/build
+override INSTALL_PATH = /Frameworks
+endif
+
#-------------------------------------------------------------------------------------------------------
# meta targets
@@ -76,7 +88,7 @@ space := ${empty} ${empty}
objdir = $(subst ${space},\ ,${OBJ_DIR})
develop_make_args := BUILD_STYLE=Development CONFIGURE_ARGS=--enable-symbols
-deploy_make_args := BUILD_STYLE=Deployment INSTALL_TARGET=install-strip \
+deploy_make_args := BUILD_STYLE=Deployment INSTALL_TARGET=install \
EXTRA_CFLAGS=-DNDEBUG
embedded_make_args := EMBEDDED_BUILD=1
install_make_args := INSTALL_BUILD=1