4140N/A#
4140N/A# CDDL HEADER START
4140N/A#
4140N/A# The contents of this file are subject to the terms of the
4140N/A# Common Development and Distribution License (the "License").
4140N/A# You may not use this file except in compliance with the License.
4140N/A#
4140N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4140N/A# or http://www.opensolaris.org/os/licensing.
4140N/A# See the License for the specific language governing permissions
4140N/A# and limitations under the License.
4140N/A#
4140N/A# When distributing Covered Code, include this CDDL HEADER in each
4140N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4140N/A# If applicable, add the following below this CDDL HEADER, with the
4140N/A# fields enclosed by brackets "[]" replaced with your own identifying
4140N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4140N/A#
4140N/A# CDDL HEADER END
4140N/A#
4140N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4140N/A#
4140N/Ainclude ../../make-rules/shared-macros.mk
4140N/A
4140N/ACOMPONENT_NAME = libmicrohttpd
4140N/ACOMPONENT_VERSION = 0.9.37
4140N/ACOMPONENT_PROJECT_URL = http://ftp.gnu.org/gnu/libmicrohttpd/
4140N/ACOMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4140N/ACOMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
4140N/ACOMPONENT_ARCHIVE_HASH = \
4140N/A sha256:a78cbcc050fb50f4ef4cf02709a3f8dd498e9230271b445fc3dbec4132b47cdc
4140N/ACOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
4140N/ACOMPONENT_BUGDB= library/libmicrohttpd
4140N/A
4140N/ATPNO = 18422
4140N/A
4140N/Ainclude $(WS_MAKE_RULES)/prep.mk
4140N/Ainclude $(WS_MAKE_RULES)/configure.mk
4140N/Ainclude $(WS_MAKE_RULES)/ips.mk
4140N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
4140N/A
4140N/ALINT_FLAGS += -I$(PROTOUSRINCDIR)
4140N/A
4140N/ACC += $(CC_BITS)
4140N/ACPPFLAGS += $(CPP_LARGEFILES)
4140N/A
4140N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
4140N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
4140N/A
4140N/ACONFIGURE_OPTIONS += --disable-https
4140N/ACONFIGURE_OPTIONS += --disable-spdy
4140N/ACONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/microhttpd
4140N/A
4140N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
4140N/A
4140N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf -f);
4140N/A
4140N/AASLR_MODE = $(ASLR_ENABLE)
4140N/A
4140N/Abuild: $(BUILD_32_and_64)
4140N/A
4140N/Ainstall: $(INSTALL_32_and_64)
4140N/A
4140N/Atest: $(TEST_32_and_64)
4140N/A
4140N/AREQUIRED_PACKAGES += system/library