Makefile revision 2670
6672b3524c2305d8c66d8189c774f549be352ac0Mark Andrews#
6672b3524c2305d8c66d8189c774f549be352ac0Mark Andrews# CDDL HEADER START
74f261bd2b7846d8e730ca3a1b28d6503de5c74aMark Andrews#
74f261bd2b7846d8e730ca3a1b28d6503de5c74aMark Andrews# The contents of this file are subject to the terms of the
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# Common Development and Distribution License (the "License").
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# You may not use this file except in compliance with the License.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# or http://www.opensolaris.org/os/licensing.
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# See the License for the specific language governing permissions
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# and limitations under the License.
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews#
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews#
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews# CDDL HEADER END
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews#
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews#
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews#
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrewsinclude ../../make-rules/shared-macros.mk
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsCOMPONENT_NAME= rsync
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsCOMPONENT_VERSION= 3.1.0
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsCOMPONENT_PROJECT_URL= http://rsync.samba.org/
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
74a14c4eb8518a9cc31cb5a918547a93d0c0e838Mark AndrewsCOMPONENT_ARCHIVE_HASH= \
74a14c4eb8518a9cc31cb5a918547a93d0c0e838Mark Andrews sha256:81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsCOMPONENT_ARCHIVE_URL= http://rsync.samba.org/ftp/rsync/src/$(COMPONENT_ARCHIVE)
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsCOMPONENT_BUGDB= utility/rsync
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrewsinclude ../../make-rules/prep.mk
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrewsinclude ../../make-rules/configure.mk
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrewsinclude ../../make-rules/ips.mk
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews
7c678cfe0bd477ded2995b9490d72edf7bc76a84Mark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
7c678cfe0bd477ded2995b9490d72edf7bc76a84Mark AndrewsCONFIGURE_OPTIONS += SHELL_PATH=/bin/sh
a20e888bde4b307050d76e09266b2fb49f03bc30Mark AndrewsCONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.32)
a20e888bde4b307050d76e09266b2fb49f03bc30Mark AndrewsCONFIGURE_OPTIONS += --with-included-popt
a20e888bde4b307050d76e09266b2fb49f03bc30Mark AndrewsCONFIGURE_OPTIONS += --enable-xattr-support
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark Andrews
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark Andrews# Enable ASLR for this component
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark AndrewsASLR_MODE = $(ASLR_ENABLE)
611ec5dd43d31fd6385f1a94c2f0865375f452b4Mark Andrews
611ec5dd43d31fd6385f1a94c2f0865375f452b4Mark Andrews# common targets
611ec5dd43d31fd6385f1a94c2f0865375f452b4Mark Andrewsbuild: $(BUILD_64)
01b8bc018d83e757b0578723977b0a71e1e626f8Mark Andrews
01b8bc018d83e757b0578723977b0a71e1e626f8Mark Andrewsinstall: $(INSTALL_64)
01b8bc018d83e757b0578723977b0a71e1e626f8Mark Andrews
8abe06b25d245ab2955d81525bfe6bd29b80908eMark Andrewstest: $(TEST_64)
8abe06b25d245ab2955d81525bfe6bd29b80908eMark Andrews
8abe06b25d245ab2955d81525bfe6bd29b80908eMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7755f5932a3e59d0c6a2506cc94519de92b91ca6Mark Andrews
7755f5932a3e59d0c6a2506cc94519de92b91ca6Mark Andrewsinclude ../../make-rules/depend.mk
7755f5932a3e59d0c6a2506cc94519de92b91ca6Mark Andrews