Makefile revision 5680
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# CDDL HEADER START
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# The contents of this file are subject to the terms of the
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# Common Development and Distribution License (the "License").
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# You may not use this file except in compliance with the License.
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# See the License for the specific language governing permissions
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# and limitations under the License.
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# CDDL HEADER END
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# Prefer 32-bit over 64-bit as apr has its own custom package layout.
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt sha256:94b1c9d9835cc9e902838b95d62ecc9a39b698f23e3e706812ec65a78ba41af7
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan HuntCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt# Micro version for easy libraries packaging
7be3c12291467fa7450b2123c161ea8bfe13f1a1Evan HuntMICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
67c6b5edd034c445ccb6c36097d9fac4de21a542Evan HuntCONFIGURE_OPTIONS.64 += --enable-layout=Solaris-$(MACH64)
67c6b5edd034c445ccb6c36097d9fac4de21a542Evan Hunt# Some patches need configure script recreation.
67c6b5edd034c445ccb6c36097d9fac4de21a542Evan HuntCOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fi);
4140a96f22b2319a658c17723c976ddff0e2633aMark Andrews# 32 and 64 bits apr.h headers need to be merged to the final one.
67c6b5edd034c445ccb6c36097d9fac4de21a542Evan Hunt $(BUILD_DIR_64)/$(APRH) > $(PROTO_DIR)$(CONFIGURE_PREFIX)/$(APRH);
67c6b5edd034c445ccb6c36097d9fac4de21a542Evan Hunt sed 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \