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