Makefile revision 4194
970N/A#
970N/A# CDDL HEADER START
1339N/A#
970N/A# The contents of this file are subject to the terms of the
970N/A# Common Development and Distribution License (the "License").
970N/A# You may not use this file except in compliance with the License.
970N/A#
970N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
970N/A# or http://www.opensolaris.org/os/licensing.
970N/A# See the License for the specific language governing permissions
970N/A# and limitations under the License.
970N/A#
970N/A# When distributing Covered Code, include this CDDL HEADER in each
970N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
970N/A# If applicable, add the following below this CDDL HEADER, with the
970N/A# fields enclosed by brackets "[]" replaced with your own identifying
970N/A# information: Portions Copyright [yyyy] [name of copyright owner]
970N/A#
970N/A# CDDL HEADER END
970N/A#
970N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
970N/A#
970N/Ainclude ../../make-rules/shared-macros.mk
970N/A
970N/ACOMPONENT_NAME= librsync
970N/ACOMPONENT_VERSION= 0.9.7
970N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
970N/ACOMPONENT_PROJECT_URL= http://librsync.sourceforge.net/
970N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
970N/ACOMPONENT_ARCHIVE_HASH= \
1339N/A sha256:6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6
1339N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/librsync/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
1339N/ACOMPONENT_BUGDB= library/librsync
970N/A
970N/A# librsync documentation as originally found at:
970N/A# http://librsync.sourcefrog.net/doc/librsync.html
1018N/A# http://librsync.sourcefrog.net/doc/librsync.pdf
1018N/A# The files there are not in an easily downloadable format so a local
1018N/A# archive has been created for them.
970N/ACOMPONENT_NAME_1= librsync-docs
970N/ACOMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION)
970N/ACOMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
970N/ACOMPONENT_ARCHIVE_HASH_1= \
970N/A sha256:e805819272f71b06823ee13f2dd7ddb92e75d75de18c33b7fd32133847c52afe
970N/ACOMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
970N/ACOMPONENT_POST_UNPACK_ACTION_1 = $(MV) $(COMPONENT_NAME_1) $(@D)
970N/A
970N/ATPNO= 9087
970N/A
970N/ACLEAN_PATHS += $(COMPONENT_NAME_1)
970N/A
970N/Ainclude $(WS_MAKE_RULES)/prep.mk
970N/Ainclude $(WS_MAKE_RULES)/configure.mk
970N/Ainclude $(WS_MAKE_RULES)/ips.mk
970N/A
970N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
1339N/A ($(CLONEY) $(SOURCE_DIR) $(@D)) ; \
1339N/A tar -xvf $(COMPONENT_ARCHIVE_1)
1339N/A
1339N/ACFLAGS += -features=no%extinl
970N/A
970N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
970N/A
970N/ACONFIGURE_OPTIONS += --enable-shared
970N/A
970N/APROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/librsync-0.9.7
980N/A
970N/APATCH_LEVEL = 1
970N/A
970N/AASLR_MODE = $(ASLR_ENABLE)
970N/A
970N/A# Master test results are the same for 32-bit and 64-bit, so override
970N/A# here, rather than create multiple identical master files.
970N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
970N/A
970N/A# The additional librsync specific set of transforms to be applied to the
970N/A# test results to try to normalize them.
970N/ACOMPONENT_TEST_TRANSFORMS += \
970N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
970N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
970N/A '-e "/^XXX_CC_XXX$$/d" '
970N/A
970N/Aconfigure: $(CONFIGURE_32_and_64)
970N/A
970N/Abuild: $(BUILD_32_and_64)
970N/A
970N/Ainstall: $(INSTALL_32_and_64)
970N/A $(MKDIR) -p $(PROTOUSRSHAREDOCDIR) ; \
970N/A $(CP) librsync-docs/librsync.pdf $(PROTOUSRSHAREDOCDIR) ; \
970N/A $(CP) -r librsync-docs/html $(PROTOUSRSHAREDOCDIR)
970N/A
970N/Atest: $(TEST_32_and_64)
970N/A
970N/A
970N/AREQUIRED_PACKAGES += library/popt
970N/AREQUIRED_PACKAGES += system/library
970N/A