Makefile revision 3996
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# CDDL HEADER START
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# The contents of this file are subject to the terms of the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Common Development and Distribution License (the "License").
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# You may not use this file except in compliance with the License.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# See the License for the specific language governing permissions
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# and limitations under the License.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# CDDL HEADER END
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User sha256:562b5f7251f356a221641262e7ba7a4e1d966086df2fb46477ec9e2c748f9f28
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS += --enable-nonportable-atomics
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DSSL_EXPERIMENTAL -DSSL_ENGINE"
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS += LTFLAGS="--tag=CC --silent"
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS.32 += --enable-layout=OpenSolaris
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS.64 += --enable-layout=OpenSolaris-$(MACH64)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS.32 += --with-installbuilddir=$(CONFIGURE_PREFIX)/build
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCONFIGURE_OPTIONS.64 += --with-installbuilddir=$(CONFIGURE_PREFIX)/build/$(MACH64)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# We need this to keep doxygen happy (for include/ and docs/ contents).
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Some patches need configure script recreation.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserCOMPONENT_PRE_CONFIGURE_ACTION += (cd $(@D); autoconf);
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# 32 and 64 bits apr.h headers need to be merged to the final one.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User$(BUILD_DIR_64)/.installed: COMPONENT_POST_INSTALL_ACTION = \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User /usr/bin/diff -D __$(MACH64) $(BUILD_DIR_32)/$(APRH) \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User $(BUILD_DIR_64)/$(APRH) > $(PROTO_DIR)/$(CONFIGURE_PREFIX)/$(APRH); true
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Documentation is generated in and directly packaged from 32 bit build
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# directory using doxygen.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserPKG_PROTO_DIRS += $(BUILD_DIR_32)/docs/dox/html
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserPKG_PROTO_DIRS += $(BUILD_DIR_32)/docs/dox/html/search