Makefile revision 3261
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin sha256:62e1116549ce5b1ad92901f04d8338d5f7b59f92abce8d15e9a17cafe0efb102
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/pcre/files/pcre/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# pick up -xc99=all in CFLAGS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# pick up -xlang=c99 in XPG5MODE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinstudio_cplusplus_C99MODE= $(studio_cplusplus_C99_ENABLE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# turn on largefile support
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Although -norunpath is set for CXXFLAGS, we need to put -norunpath
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# here, otherwise -norunpath doesn't get set when creating the shared
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# libraries (CC -G).
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# turn on support for large files
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# We need to do this because libtool adds wrong paths to RPATH.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDFLAGS += -L$(CONFIGURE_LIBDIR.$(BITS)) -R$(CONFIGURE_LIBDIR.$(BITS))
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCONFIGURE_ENV+= "CXXCPP=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -E"
COMPONENT_BUILD_ARGS+= -e
test: $(TEST_32_and_64)