Makefile revision 2899
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync#
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# CDDL HEADER START
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync#
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# The contents of this file are subject to the terms of the
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# Common Development and Distribution License (the "License").
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# You may not use this file except in compliance with the License.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# or http://www.opensolaris.org/os/licensing.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# See the License for the specific language governing permissions
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# and limitations under the License.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# If applicable, add the following below this CDDL HEADER, with the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync#
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# CDDL HEADER END
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync#
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync#
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncinclude ../../make-rules/shared-macros.mk
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCOMPONENT_NAME= libssh2
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCOMPONENT_VERSION= 1.4.2
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCOMPONENT_PROJECT_URL= http://www.libssh2.org/
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncCOMPONENT_ARCHIVE_HASH= \
a52f845969b3de1f85d02c4e9b8dd7942aca3c37vboxsync sha256:418c09061fb9c3c26fec391a35a062780b21b3199885e3b27054619582469bd3
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCOMPONENT_BUGDB= library/libssh2
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncTPNO= 11357
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsyncinclude ../../make-rules/prep.mk
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsyncinclude ../../make-rules/configure.mk
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsyncinclude ../../make-rules/ips.mk
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
7b1a1a5dea048e6a23a740ed5b5ef456f3958a0avboxsyncCONFIGURE_OPTIONS += --enable-shared
80096fb54d147045204dcc7e3ff273158de03f81vboxsyncCONFIGURE_OPTIONS += --disable-static
a52f845969b3de1f85d02c4e9b8dd7942aca3c37vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# Adjust the .so line in the libssh2_sftp_fstatvfs man page to correctly find
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# the file it references (as we place it in the man3ssh2 section on Solaris).
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync#
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncCOMPONENT_POST_INSTALL_ACTION += \
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync $(GSED) -i -e 's|3|3ssh2|g' \
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync $(PROTOUSRSHAREMAN3DIR)/libssh2_sftp_fstatvfs.3;
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync# common targets
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncbuild: $(BUILD_32_and_64)
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsyncinstall: $(INSTALL_32_and_64)
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsync
3bf4bd3347c2bc3bc7c6b24672096f514235ad76vboxsynctest: $(TEST_32_and_64)
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsyncinclude ../../make-rules/depend.mk
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync