Makefile revision 5044
1787N/A#
1787N/A# CDDL HEADER START
1787N/A#
1787N/A# The contents of this file are subject to the terms of the
1787N/A# Common Development and Distribution License (the "License").
1787N/A# You may not use this file except in compliance with the License.
1787N/A#
1787N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1787N/A# or http://www.opensolaris.org/os/licensing.
1787N/A# See the License for the specific language governing permissions
1787N/A# and limitations under the License.
1787N/A#
1787N/A# When distributing Covered Code, include this CDDL HEADER in each
1787N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1787N/A# If applicable, add the following below this CDDL HEADER, with the
1787N/A# fields enclosed by brackets "[]" replaced with your own identifying
1787N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1787N/A#
1787N/A# CDDL HEADER END
1787N/A#
1787N/A
1787N/A#
3716N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1787N/A#
1787N/A
1787N/Ainclude ../../make-rules/shared-macros.mk
1787N/A
1787N/ACOMPONENT_NAME= pkg-config
1787N/ACOMPONENT_VERSION= 0.23
1787N/ACOMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/pkg-config
1787N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1787N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1787N/ACOMPONENT_ARCHIVE_HASH= \
1787N/A sha256:08a0e072d6a05419a58124db864f0685e6ac96e71b2875bf15ac12714e983b53
1787N/ACOMPONENT_ARCHIVE_URL= http://pkgconfig.freedesktop.org/releases/$(COMPONENT_ARCHIVE)
1787N/ACOMPONENT_BUGDB= utility/pkg-config
1787N/A
2899N/ATPNO= 9421
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
1787N/A
1825N/A# otherwise our default PKG_CONFIG_PATH will change to the 64-bit libdir
1825N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
1825N/A
1787N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1787N/ACOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
1787N/AASLR_MODE = $(ASLR_ENABLE)
1787N/A
3716N/A# The additional pkg-config specific set of transforms to be applied to the
3716N/A# test results to try to normalize them.
3716N/ACOMPONENT_TEST_TRANSFORMS += \
3716N/A '-e "/^+ sed -e /d" '
3716N/A
5044N/Aifeq ($(OS_VERSION),5.11)
5044N/AOLD_DESKTOP_BUILD= 0.175.2.0.0.21.0
5044N/Aelse
5044N/AOLD_DESKTOP_BUILD= 5.12.0.0.0.25.0
5044N/Aendif
5044N/A
5044N/APKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD)
5044N/A
1787N/A# common targets
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
1787N/Abuild: $(BUILD_64)
1787N/A
1787N/Ainstall: $(INSTALL_64)
1787N/A
1787N/Atest: $(TEST_64)
1787N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A
1787N/A
3817N/AREQUIRED_PACKAGES += system/library