Makefile revision 5044
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp#
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# CDDL HEADER START
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp#
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# The contents of this file are subject to the terms of the
09688ec5ffb8b9cf9883a770e2f9ebd60b28888dTripp# Common Development and Distribution License (the "License").
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# You may not use this file except in compliance with the License.
828c58761d90445b8b9d20a82d85dc1479317f71Tripp#
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# or http://www.opensolaris.org/os/licensing.
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp# See the License for the specific language governing permissions
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# and limitations under the License.
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTripp#
5ecb8c8b041752f6b716054ff5cfc2c9992365c6Tripp# When distributing Covered Code, include this CDDL HEADER in each
e7c7565d9550eaa87043aef0df77125ada996deaTripp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e7c7565d9550eaa87043aef0df77125ada996deaTripp# If applicable, add the following below this CDDL HEADER, with the
e7c7565d9550eaa87043aef0df77125ada996deaTripp# fields enclosed by brackets "[]" replaced with your own identifying
e7c7565d9550eaa87043aef0df77125ada996deaTripp# information: Portions Copyright [yyyy] [name of copyright owner]
828c58761d90445b8b9d20a82d85dc1479317f71Tripp#
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# CDDL HEADER END
828c58761d90445b8b9d20a82d85dc1479317f71Tripp#
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Tripp#
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
828c58761d90445b8b9d20a82d85dc1479317f71Tripp#
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Trippinclude ../../make-rules/shared-macros.mk
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_NAME= pkg-config
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_VERSION= 0.23
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/pkg-config
c7ba96d16d58075a9ab8d5c1e46c6c83ce11cb4eTrippCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_ARCHIVE_HASH= \
828c58761d90445b8b9d20a82d85dc1479317f71Tripp sha256:08a0e072d6a05419a58124db864f0685e6ac96e71b2875bf15ac12714e983b53
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_ARCHIVE_URL= http://pkgconfig.freedesktop.org/releases/$(COMPONENT_ARCHIVE)
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_BUGDB= utility/pkg-config
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71TrippTPNO= 9421
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Trippinclude $(WS_MAKE_RULES)/prep.mk
828c58761d90445b8b9d20a82d85dc1479317f71Trippinclude $(WS_MAKE_RULES)/configure.mk
828c58761d90445b8b9d20a82d85dc1479317f71Trippinclude $(WS_MAKE_RULES)/ips.mk
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# otherwise our default PKG_CONFIG_PATH will change to the 64-bit libdir
828c58761d90445b8b9d20a82d85dc1479317f71TrippCONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71TrippCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
828c58761d90445b8b9d20a82d85dc1479317f71TrippASLR_MODE = $(ASLR_ENABLE)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# The additional pkg-config specific set of transforms to be applied to the
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# test results to try to normalize them.
828c58761d90445b8b9d20a82d85dc1479317f71TrippCOMPONENT_TEST_TRANSFORMS += \
828c58761d90445b8b9d20a82d85dc1479317f71Tripp '-e "/^+ sed -e /d" '
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Trippifeq ($(OS_VERSION),5.11)
828c58761d90445b8b9d20a82d85dc1479317f71TrippOLD_DESKTOP_BUILD= 0.175.2.0.0.21.0
828c58761d90445b8b9d20a82d85dc1479317f71Trippelse
828c58761d90445b8b9d20a82d85dc1479317f71TrippOLD_DESKTOP_BUILD= 5.12.0.0.0.25.0
828c58761d90445b8b9d20a82d85dc1479317f71Trippendif
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71TrippPKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Tripp# common targets
828c58761d90445b8b9d20a82d85dc1479317f71Trippconfigure: $(CONFIGURE_64)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Trippbuild: $(BUILD_64)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Trippinstall: $(INSTALL_64)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Tripptest: $(TEST_64)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Trippsystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71Tripp
828c58761d90445b8b9d20a82d85dc1479317f71TrippREQUIRED_PACKAGES += system/library
828c58761d90445b8b9d20a82d85dc1479317f71Tripp