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