add HP-UX handling for Configure parameters

This commit is contained in:
sno 2012-01-31 05:51:52 +00:00
parent 584db8783d
commit fba0993354

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.160 2012/01/19 00:51:23 taca Exp $
# $NetBSD: Makefile,v 1.161 2012/01/31 05:51:52 sno Exp $
OPENSSL_SNAPSHOT?= # empty
OPENSSL_STABLE?= # empty
@ -108,6 +108,25 @@ SUBST_CLASSES+= soname
SUBST_STAGE.soname= post-configure
SUBST_FILES.soname= Makefile.shared
SUBST_SED.soname= -e 's/-Wl,-soname=/-Wl,-h,/g'
.elif ${OPSYS} == "HPUX"
CONFIGURE_SCRIPT= ./Configure
. if ${ABI} == "64"
. if ${MACHINE_ARCH} == "hppa"
CONFIGURE_ARGS+= hpux64-parisc2-${CC}
. else
CONFIGURE_ARGS+= hpux64-ia64-${CC}
. endif
. else
. if ${MACHINE_ARCH} == "hppa"
CONFIGURE_ARGS+= hpux-parisc-${CC}
. else
CONFIGURE_ARGS+= hpux-ia64-${CC}
. endif
. endif
.endif
.include "../../security/openssl/options.mk"