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