components/libmicrohttpd/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 6552 402379bc1b60
child 7790 178c7062efc0
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3738
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     1
#
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     3
#
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     7
#
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    12
#
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    18
#
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    21
3738
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    25
BUILD_BITS= 64_and_32
3738
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    27
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME = libmicrohttpd
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION = 0.9.37
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH = \
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    31
    sha256:a78cbcc050fb50f4ef4cf02709a3f8dd498e9230271b445fc3dbec4132b47cdc
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    32
COMPONENT_BUGDB=	library/libmicrohttpd
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    33
COMPONENT_ANITYA_ID=	1658
3738
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    34
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    35
TPNO = 18422
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    36
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    37
include $(WS_MAKE_RULES)/gnu-component.mk
3738
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    38
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    39
LINT_FLAGS += -I$(PROTOUSRINCDIR)
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    40
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    41
CPPFLAGS += $(CPP_LARGEFILES)
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    42
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS += --disable-https
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS += --disable-spdy
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/microhttpd
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    46
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    47
COMPONENT_TEST_ENV +=	PATH="$(GNUBIN):$(PATH)"
19e0324097d4 PSARC/2014/289 libmicrohttpd
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    48
4088
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3817
diff changeset
    49
# requires an older automake to reconfigure. 
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3817
diff changeset
    50
COMPONENT_PREP_ACTION += \
98a08684d104 17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3817
diff changeset
    51
	(cd $(@D); ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv);