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