Makefile revision 3661
402N/A#
402N/A# CDDL HEADER START
402N/A#
402N/A# The contents of this file are subject to the terms of the
402N/A# Common Development and Distribution License (the "License").
402N/A# You may not use this file except in compliance with the License.
402N/A#
402N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
402N/A# or http://www.opensolaris.org/os/licensing.
402N/A# See the License for the specific language governing permissions
402N/A# and limitations under the License.
402N/A#
402N/A# When distributing Covered Code, include this CDDL HEADER in each
402N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
402N/A# If applicable, add the following below this CDDL HEADER, with the
402N/A# fields enclosed by brackets "[]" replaced with your own identifying
402N/A# information: Portions Copyright [yyyy] [name of copyright owner]
402N/A#
402N/A# CDDL HEADER END
402N/A
402N/A#
402N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
402N/A#
402N/A
402N/Ainclude ../../make-rules/shared-macros.mk
402N/A
402N/ACOMPONENT_NAME= cmake
402N/ACOMPONENT_VERSION= 2.8.6
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
402N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
402N/ACOMPONENT_ARCHIVE_HASH= \
402N/A sha256:e6999b81ac367d85ffb0f69b6c4a0ef96f95dc154efd3592f9cfebacdf75728e
402N/ACOMPONENT_ARCHIVE_URL= http://www.cmake.org/files/v2.8/$(COMPONENT_ARCHIVE)
402N/ACOMPONENT_PROJECT_URL= http://www.cmake.org/
402N/ACOMPONENT_BUGDB= utility/cmake
402N/A
402N/ATPNO= 6581
402N/A
402N/Ainclude $(WS_TOP)/make-rules/prep.mk
402N/Ainclude $(WS_TOP)/make-rules/configure.mk
402N/Ainclude $(WS_TOP)/make-rules/ips.mk
402N/A
402N/A# Need to remove this option from LD_OPTIONS (only affects sparc build);
402N/A# it causes a SegFault failure in kwsys/testSystemInformation
402N/A# when testing on sparc
402N/ALD_MAP_NOEXBSS=
402N/A
402N/ALDFLAGS += $($(COMPILER)_NORUNPATH)
402N/A
402N/A# We need these in the environment, although they are already passed
402N/A# as CONFIGURE_OPTIONS; otherwise the correct compilers are not used
402N/ACONFIGURE_ENV += CC="$(CC)"
402N/ACONFIGURE_ENV += CXX="$(CXX)"
402N/ACONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
402N/ACONFIGURE_ENV += MAKE="$(GMAKE)"
402N/A
402N/A# Use system-installed third-party libraries, rather than the private
402N/A# copies in the cmake source. Only libarchive will come from the cmake
402N/A# source, since it is not currently part of Solaris.
402N/ACONFIGURE_OPTIONS += --system-curl
402N/ACONFIGURE_OPTIONS += --system-expat
402N/ACONFIGURE_OPTIONS += --system-zlib
402N/ACONFIGURE_OPTIONS += --system-bzip2
402N/A
402N/ACOMPONENT_BUILD_ENV += CC="$(CC)"
402N/ACOMPONENT_BUILD_ENV += CXX="$(CXX)"
402N/ACOMPONENT_BUILD_ENV += LDFLAGS="$(LDFLAGS)"
402N/ACOMPONENT_BUILD_ENV += MAKE="$(GMAKE)"
402N/ACOMPONENT_BUILD_TARGETS = all
402N/A
402N/A# Need C and C++ compiler locations for cmake tests
402N/ACOMPONENT_TEST_ENV += CC="$(CC)"
402N/ACOMPONENT_TEST_ENV += CXX="$(CXX)"
402N/A
402N/ACOMPONENT_TEST_TARGETS = test
402N/A
402N/A# common targets
402N/A
402N/Abuild: $(BUILD_32)
402N/A
402N/Ainstall: $(INSTALL_32)
459N/A
402N/A# expected failure: CTestTestUpload
402N/Atest: $(TEST_32)
402N/A
402N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
402N/A
402N/Ainclude $(WS_TOP)/make-rules/depend.mk
402N/A