Makefile revision 5528
174N/A#
174N/A# CDDL HEADER START
910N/A#
761N/A# The contents of this file are subject to the terms of the
174N/A# Common Development and Distribution License (the "License").
174N/A# You may not use this file except in compliance with the License.
174N/A#
174N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
174N/A# or http://www.opensolaris.org/os/licensing.
174N/A# See the License for the specific language governing permissions
174N/A# and limitations under the License.
174N/A#
174N/A# When distributing Covered Code, include this CDDL HEADER in each
174N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
174N/A# If applicable, add the following below this CDDL HEADER, with the
174N/A# fields enclosed by brackets "[]" replaced with your own identifying
174N/A# information: Portions Copyright [yyyy] [name of copyright owner]
174N/A#
174N/A# CDDL HEADER END
174N/A#
174N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
174N/A#
174N/A
174N/Ainclude ../../make-rules/shared-macros.mk
174N/A
174N/ACOMPONENT_NAME= cvs
174N/ACOMPONENT_VERSION= 1.12.13
174N/ACOMPONENT_PROJECT_URL= http://www.nongnu.org/cvs/
174N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
174N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
174N/ACOMPONENT_ARCHIVE_HASH= \
174N/A sha256:78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e
493N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/non-gnu/cvs/source/feature/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
493N/ACOMPONENT_BUGDB= utility/cvs
174N/A
174N/ATPNO= 6323
851N/A
174N/Ainclude $(WS_MAKE_RULES)/prep.mk
174N/Ainclude $(WS_MAKE_RULES)/configure.mk
598N/Ainclude $(WS_MAKE_RULES)/ips.mk
174N/A
910N/ACFLAGS += -D__ATTRIBUTE_DISABLED
910N/ACONFIGURE_OPTIONS += --with-external-zlib
910N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
174N/A
493N/A# Enable ASLR for this component
174N/AASLR_MODE = $(ASLR_ENABLE)
493N/A
493N/A# need gnu grep
493N/ACOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH)
910N/A# "check" is not working yet. It's asking for a password.
493N/ACOMPONENT_TEST_TARGETS = localcheck
493N/A
599N/A# mimic localcheck from src/Makefile
493N/ACOMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/src
493N/ACOMPONENT_SYSTEM_TEST_ENV += PATH=$(GNUBIN):$(PATH)
493N/ACOMPONENT_SYSTEM_TEST_CMD = ./sanity.sh
COMPONENT_SYSTEM_TEST_ARGS = /usr/bin/cvs
COMPONENT_SYSTEM_TEST_TARGETS =
# extract just the final results
# delete make lines
# delete cp lines
COMPONENT_TEST_TRANSFORMS += \
'-e "/^This/,/^make/!d" ' \
'-e "/^[mM]ake/d" ' \
'-e "/^cp.*/d" '
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
system-test: $(SYSTEM_TEST_64)
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += system/library