Makefile revision 375
375N/A#
375N/A# CDDL HEADER START
375N/A#
375N/A# The contents of this file are subject to the terms of the
375N/A# Common Development and Distribution License (the "License").
375N/A# You may not use this file except in compliance with the License.
375N/A#
375N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
375N/A# or http://www.opensolaris.org/os/licensing.
375N/A# See the License for the specific language governing permissions
375N/A# and limitations under the License.
375N/A#
375N/A# When distributing Covered Code, include this CDDL HEADER in each
375N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
375N/A# If applicable, add the following below this CDDL HEADER, with the
375N/A# fields enclosed by brackets "[]" replaced with your own identifying
375N/A# information: Portions Copyright [yyyy] [name of copyright owner]
375N/A#
375N/A# CDDL HEADER END
375N/A#
375N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
375N/A#
375N/Ainclude ../../make-rules/shared-macros.mk
375N/A
375N/ACOMPONENT_NAME= librsync
375N/ACOMPONENT_VERSION= 0.9.7
375N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
375N/ACOMPONENT_PROJECT_URL= http://librsync.sourceforge.net/
375N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
375N/ACOMPONENT_ARCHIVE_HASH= sha1:d575eb5cae7a815798220c3afeff5649d3e8b4ab
375N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/librsync/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
375N/A
375N/A# librsync documentation as originally found at:
375N/A# http://librsync.sourcefrog.net/doc/librsync.html
375N/A# http://librsync.sourcefrog.net/doc/librsync.pdf
375N/A# The files there are not in an easily downloadable format so a local
375N/A# archive has been created for them.
375N/ACOMPONENT_NAME_1= librsync-docs
375N/ACOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION)
375N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
375N/ACOMPONENT_ARCHIVE_HASH_1= sha1:87b947aa4312bcf776d442abc23e142eb35c16da
375N/ACOMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
375N/A
375N/Ainclude ../../make-rules/prep.mk
375N/Ainclude ../../make-rules/configure.mk
375N/Ainclude ../../make-rules/ips.mk
375N/A
375N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
375N/A ($(CLONEY) $(SOURCE_DIR) $(@D)) ; \
375N/A tar -xvf $(COMPONENT_ARCHIVE_1)
375N/A
375N/ACFLAGS += -features=no%extinl
375N/A
375N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
375N/A
375N/ACONFIGURE_OPTIONS += --enable-shared
375N/A
375N/APROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/librsync-0.9.7
375N/A
375N/APATCH_LEVEL = 1
375N/A
375N/Abuild: $(BUILD_32_and_64)
375N/A
375N/Ainstall: $(INSTALL_32_and_64)
375N/A $(MKDIR) -p $(PROTOUSRSHAREDOCDIR) ; \
375N/A $(CP) librsync-docs/librsync.pdf $(PROTOUSRSHAREDOCDIR) ; \
375N/A $(CP) -r librsync-docs/html $(PROTOUSRSHAREDOCDIR)
375N/A
375N/Atest: $(TEST_32_and_64)
375N/A
375N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
375N/A
375N/Ainclude ../../make-rules/depend.mk