summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-23 15:36:15 +0000
committerAndy Polyakov <appro@openssl.org>2005-06-23 15:36:15 +0000
commita41b0aade202705fdf829433a8e19a33049f412c (patch)
tree17d115b96f71557e6f346bd72478427b9a8fe043 /Makefile.org
parent02c31fa461b2be09b1e3602e4b4091e28f9c317e (diff)
HP-UX specific updates to Makefile.org and Makefile.shared.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.org b/Makefile.org
index b78a82ec93..3dba4a1a28 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -149,10 +149,11 @@ HEADER= e_os.h
all: Makefile build_all openssl.pc
# as we stick to -e, CLEARENV ensures that local variables in lower
-# Makefiles remain local and variable. $${var+var} is tribute to Korn
-# shell, which [annoyingly enough] terminates unset with error if var
-# is not set:-(
-CLEARENV= unset $${TOP+TOP} $${LIB+LIB} $${LIBS+LIBS} \
+# Makefiles remain local and variable. $${VAR+VAR} is tribute to Korn
+# shell, which [annoyingly enough] terminates unset with error if VAR
+# is not present:-( TOP= && unset TOP is tribute to HP-UX /bin/sh,
+# which terminates unset with error if no variable was present:-(
+CLEARENV= TOP= && unset TOP $${LIB+LIB} $${LIBS+LIBS} \
$${INCLUDE+INCLUDE} $${INCLUDES+INCLUDES} \
$${DIR+DIR} $${DIRS+DIRS} $${SRC+SRC} \
$${LIBSRC+LIBSRC} $${LIBOBJ+LIBOBJ} $${ALL+ALL} \