Makefile revision 844
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews#
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews# CDDL HEADER START
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews#
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews# The contents of this file are subject to the terms of the
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews# Common Development and Distribution License (the "License").
ee84964a7d29ae88769f67326a65256731769ea7Mark Andrews# You may not use this file except in compliance with the License.
463fc8f9d61e07613486e64b4b7b3f924ea2b25cMark Andrews#
463fc8f9d61e07613486e64b4b7b3f924ea2b25cMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# or http://www.opensolaris.org/os/licensing.
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# See the License for the specific language governing permissions
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# and limitations under the License.
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews#
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews#
c3ea698877cdde327f2bf6a8e97347798fead2d4Mark Andrews# CDDL HEADER END
9368d7df838f58cd32922b526775ca730bc633cfMark Andrews#
9368d7df838f58cd32922b526775ca730bc633cfMark Andrews
9368d7df838f58cd32922b526775ca730bc633cfMark Andrews#
9368d7df838f58cd32922b526775ca730bc633cfMark Andrews# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
e2fb08b85de8158fe6b71008311e3d98104b92a6Mark Andrews#
e2fb08b85de8158fe6b71008311e3d98104b92a6Mark Andrews
e2fb08b85de8158fe6b71008311e3d98104b92a6Mark Andrewsinclude ../../make-rules/shared-macros.mk
22a9cd54c072545d13788ceead759911fe8cfe34Mark Andrews
22a9cd54c072545d13788ceead759911fe8cfe34Mark AndrewsCOMPONENT_NAME= rsync
22a9cd54c072545d13788ceead759911fe8cfe34Mark AndrewsCOMPONENT_VERSION= 3.0.8
21ba6c18e4ccc73933af5cf28701a5cc3b7963ecMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
21ba6c18e4ccc73933af5cf28701a5cc3b7963ecMark AndrewsCOMPONENT_PROJECT_URL= http://rsync.samba.org/
266296414d0ed79980c6d3144a587b42324a50ffMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
266296414d0ed79980c6d3144a587b42324a50ffMark AndrewsCOMPONENT_ARCHIVE_HASH= \
c960dffe35970da729219b72f2e41350d3b64c35Mark Andrews sha256:4b3fc271f4c96036b4c73fb019be078e4d8cce2defe1e7ae7cde1117859a2114
c960dffe35970da729219b72f2e41350d3b64c35Mark AndrewsCOMPONENT_ARCHIVE_URL= http://rsync.samba.org/ftp/rsync/src/$(COMPONENT_ARCHIVE)
5da49e379c79fbd597cf0d47e7697b65991f761fMark Andrews
5da49e379c79fbd597cf0d47e7697b65991f761fMark AndrewsCOPYRIGHT_FILE= rsync.copyright
31b3dc1c6b4fe99a2af2ee63314e842af4a20070Mark Andrews
31b3dc1c6b4fe99a2af2ee63314e842af4a20070Mark Andrewsinclude ../../make-rules/prep.mk
59f51f864c752d2e4bf8d1ad94404ada0c9aa6e9Mark Andrewsinclude ../../make-rules/configure.mk
59f51f864c752d2e4bf8d1ad94404ada0c9aa6e9Mark Andrewsinclude ../../make-rules/ips.mk
59f51f864c752d2e4bf8d1ad94404ada0c9aa6e9Mark Andrews
a207a2835e37de52e11d4c143c0425e749409c46Mark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
a207a2835e37de52e11d4c143c0425e749409c46Mark AndrewsCONFIGURE_OPTIONS += --prefix=/usr
03760eeb542cc5e91193eec478cae022df4bcc58Mark AndrewsCONFIGURE_OPTIONS += --with-included-popt
03760eeb542cc5e91193eec478cae022df4bcc58Mark Andrews
838d608e6f37038f2fb43980a7a9d6b6a490db36Mark Andrews# common targets
838d608e6f37038f2fb43980a7a9d6b6a490db36Mark Andrewsbuild: $(BUILD_32)
64cc9c8818db2552cbdd77f1050e890ffa5a17d8Mark Andrews
64cc9c8818db2552cbdd77f1050e890ffa5a17d8Mark Andrewsinstall: $(INSTALL_32)
64cc9c8818db2552cbdd77f1050e890ffa5a17d8Mark Andrews
64cc9c8818db2552cbdd77f1050e890ffa5a17d8Mark Andrewstest: $(NO_TESTS)
0f09ef5a50ef09eaed8e6630b4004d5143d6b52cMark Andrews
0f09ef5a50ef09eaed8e6630b4004d5143d6b52cMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0f09ef5a50ef09eaed8e6630b4004d5143d6b52cMark Andrews
0f09ef5a50ef09eaed8e6630b4004d5143d6b52cMark Andrewsinclude ../../make-rules/depend.mk
c7fc6434fe5949c8e3f76bf69f5655eb3a76dfaeMark Andrews