3738N/A#
3738N/A# CDDL HEADER START
3738N/A#
3738N/A# The contents of this file are subject to the terms of the
3738N/A# Common Development and Distribution License (the "License").
3738N/A# You may not use this file except in compliance with the License.
3738N/A#
3738N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3738N/A# or http://www.opensolaris.org/os/licensing.
3738N/A# See the License for the specific language governing permissions
3738N/A# and limitations under the License.
3738N/A#
3738N/A# When distributing Covered Code, include this CDDL HEADER in each
3738N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3738N/A# If applicable, add the following below this CDDL HEADER, with the
3738N/A# fields enclosed by brackets "[]" replaced with your own identifying
3738N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3738N/A#
3738N/A# CDDL HEADER END
3738N/A#
5680N/A
3738N/A#
5680N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64_and_32
3738N/Ainclude ../../make-rules/shared-macros.mk
3738N/A
3738N/ACOMPONENT_NAME = libmicrohttpd
3738N/ACOMPONENT_VERSION = 0.9.37
3738N/ACOMPONENT_ARCHIVE_HASH = \
3738N/A sha256:a78cbcc050fb50f4ef4cf02709a3f8dd498e9230271b445fc3dbec4132b47cdc
3738N/ACOMPONENT_BUGDB= library/libmicrohttpd
3738N/A
3738N/ATPNO = 18422
3738N/A
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
3738N/A
3738N/ALINT_FLAGS += -I$(PROTOUSRINCDIR)
3738N/A
3738N/ACPPFLAGS += $(CPP_LARGEFILES)
3738N/A
3738N/ACONFIGURE_OPTIONS += --disable-https
3738N/ACONFIGURE_OPTIONS += --disable-spdy
3738N/ACONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/microhttpd
3738N/A
3738N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
3738N/A
4086N/A# requires an older automake to reconfigure.
4086N/ACOMPONENT_PREP_ACTION += \
4086N/A (cd $(@D); ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv);