#!/bin/sh
# Copyright (C) The libssh2 project and its contributors.
# SPDX-License-Identifier: BSD-3-Clause

################################################################################

#                       Tunable configuration parameters.

setenv TARGETLIB        'LIBSSH2'               # Target OS/400 program library.
setenv STATBNDDIR       'LIBSSH2_A'             # Static binding directory.
setenv DYNBNDDIR        'LIBSSH2'               # Dynamic binding directory.
setenv SRVPGM           "LIBSSH2.${SONAME}"     # Service program.
setenv TGTCCSID         '500'                   # Target CCSID of objects.
setenv DEBUG            '*ALL'                  # Debug level.
setenv OPTIMIZE         '10'                    # Optimisation level
setenv OUTPUT           '*NONE'                 # Compilation output option.
setenv TGTRLS           '*CURRENT'              # Target OS release.
setenv IFSDIR           '/libssh2'              # Installation IFS directory.
setenv QADRTDIR         '/QIBM/ProdData/qadrt'  # QADRT IFS directory.

setenv WITH_MD5         'yes'                   # enable MD5 support.

#       Define ZLIB availability and locations.

setenv WITH_ZLIB        0                       # Define to 1 to enable.
setenv ZLIB_INCLUDE     '/zlib/include'         # ZLIB include IFS directory.
setenv ZLIB_LIB         'ZLIB'                  # ZLIB library.
setenv ZLIB_BNDDIR      'ZLIB_A'                # ZLIB binding directory.
