Makefile revision 1273
1e34fe9044874422104e84373988d07876f716b6Mark Andrews#
1e34fe9044874422104e84373988d07876f716b6Mark Andrews# CDDL HEADER START
1e34fe9044874422104e84373988d07876f716b6Mark Andrews#
30d6dc14e918f9f72ff090c34d6e328ae8e7d68bCurtis Blackburn# The contents of this file are subject to the terms of the
30d6dc14e918f9f72ff090c34d6e328ae8e7d68bCurtis Blackburn# Common Development and Distribution License (the "License").
5183f9d9daa139cbf000c12709877f62e79dfb14Evan Hunt# You may not use this file except in compliance with the License.
5183f9d9daa139cbf000c12709877f62e79dfb14Evan Hunt#
0193e63da91a4da27809b9a528eb043fa6b4da26Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0193e63da91a4da27809b9a528eb043fa6b4da26Mark Andrews# or http://www.opensolaris.org/os/licensing.
0193e63da91a4da27809b9a528eb043fa6b4da26Mark Andrews# See the License for the specific language governing permissions
17a00ff54c51f6bdfddd7d9ceaef6f2dcf387cc1Mark Andrews# and limitations under the License.
17a00ff54c51f6bdfddd7d9ceaef6f2dcf387cc1Mark Andrews#
17a00ff54c51f6bdfddd7d9ceaef6f2dcf387cc1Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
5f238c3c64dd68100dc1b60f9c1e178522d1b333Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5f238c3c64dd68100dc1b60f9c1e178522d1b333Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
2cd3c8856c97b770cc4843bfad63922e23a6f661Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
2cd3c8856c97b770cc4843bfad63922e23a6f661Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f3c8e48b95996c3020d138b87ee8941da29cc124Evan Hunt#
f3c8e48b95996c3020d138b87ee8941da29cc124Evan Hunt# CDDL HEADER END
f3c8e48b95996c3020d138b87ee8941da29cc124Evan Hunt#
744589ff64e8d98b30b746cd7a1833f77830e185Mark Andrews
744589ff64e8d98b30b746cd7a1833f77830e185Mark Andrews#
744589ff64e8d98b30b746cd7a1833f77830e185Mark Andrews# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
dc775799d9a5a61f485bff5b883a60cc748afaf3Evan Hunt#
dc775799d9a5a61f485bff5b883a60cc748afaf3Evan Hunt
dc775799d9a5a61f485bff5b883a60cc748afaf3Evan Huntinclude ../../make-rules/shared-macros.mk
428dd5c588cfe0dc1519af728e6e75c10aeb4439Curtis Blackburn
0d18225b5e2d17e4bef0077212fd6927ca58dda6Evan HuntCOMPONENT_NAME= rsync
0d18225b5e2d17e4bef0077212fd6927ca58dda6Evan HuntCOMPONENT_VERSION= 3.0.8
0d18225b5e2d17e4bef0077212fd6927ca58dda6Evan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
62f016d5d301713c72a59e83d3ab41170a77f674Mark AndrewsCOMPONENT_PROJECT_URL= http://rsync.samba.org/
62f016d5d301713c72a59e83d3ab41170a77f674Mark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
62f016d5d301713c72a59e83d3ab41170a77f674Mark AndrewsCOMPONENT_ARCHIVE_HASH= \
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt sha256:4b3fc271f4c96036b4c73fb019be078e4d8cce2defe1e7ae7cde1117859a2114
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan HuntCOMPONENT_ARCHIVE_URL= http://rsync.samba.org/ftp/rsync/src/$(COMPONENT_ARCHIVE)
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan HuntCOMPONENT_BUGDB= utility/rsync
5ba1d3dcc5739a1f77ec2875b276b163a42ef1e8Evan Hunt
5ba1d3dcc5739a1f77ec2875b276b163a42ef1e8Evan HuntCOPYRIGHT_FILE= rsync.copyright
5ba1d3dcc5739a1f77ec2875b276b163a42ef1e8Evan Hunt
af9f195c9e128fc9cc5912498b8f7f26f07887c3Evan Huntinclude ../../make-rules/prep.mk
af9f195c9e128fc9cc5912498b8f7f26f07887c3Evan Huntinclude ../../make-rules/configure.mk
af9f195c9e128fc9cc5912498b8f7f26f07887c3Evan Huntinclude ../../make-rules/ips.mk
e47208b6fb724cba7053baee4246b308e35403a2Evan Hunt
e47208b6fb724cba7053baee4246b308e35403a2Evan HuntCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
34f3693b93f3ba16634f0c08368ef7f81182ef93Evan HuntCONFIGURE_OPTIONS += --prefix=/usr
34f3693b93f3ba16634f0c08368ef7f81182ef93Evan HuntCONFIGURE_OPTIONS += --with-included-popt
e72a81148a8c68de2ea5e8169aaa4a7762f6ed79Evan Hunt
e72a81148a8c68de2ea5e8169aaa4a7762f6ed79Evan Hunt# common targets
1a076410c260ff1d3124ce8b7e22ac111e9cf92aEvan Huntbuild: $(BUILD_32)
1a076410c260ff1d3124ce8b7e22ac111e9cf92aEvan Hunt
96a116178567d4eb22e57aba533073de9a2f9d84Evan Huntinstall: $(INSTALL_32)
96a116178567d4eb22e57aba533073de9a2f9d84Evan Hunt
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunttest: $(NO_TESTS)
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan HuntBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt
93aba6dcec9855cd9c69c10717f62c350ff766eaMark Andrewsinclude ../../make-rules/depend.mk
93aba6dcec9855cd9c69c10717f62c350ff766eaMark Andrews